-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for max numbers of objects in ZK when no database is configured #889
Conversation
609d708
to
a34ca3d
Compare
} | ||
for (Collection<SingularityDeployHistory> deployHistoryForRequest : deployHistoryByRequestId.asMap().values()) { | ||
int i=0; | ||
for (SingularityDeployHistory deployHistory : deployHistoryForRequest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to sort the Collection<SingularityDeployHistory>
first here? I saw where we were sorting for tasks and for requests, but did not see any sort for deploy history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The values in a TreeMultimap<>
are sorted at insertion time
add support for max numbers of objects in ZK when no database is configured
re: #874