You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In highly loaded systems, an ever incrementing member variable current in the class RoundRobinHostHandler would numerically overflow within a quite realistic time horizon (months). It would cause the index variable to become negative resulting in an IndexOutOfBoundsException to be thrown.
In highly loaded systems, an ever incrementing member variable
current
in the classRoundRobinHostHandler
would numerically overflow within a quite realistic time horizon (months). It would cause theindex
variable to become negative resulting in anIndexOutOfBoundsException
to be thrown.See: https://github.com/arangodb/arangodb-java-driver/blob/v6.16.1/src/main/java/com/arangodb/internal/net/RoundRobinHostHandler.java#L62:L63
Changing the
current
variable type tolong
would practically solve the issue.The text was updated successfully, but these errors were encountered: