Skip to content

add support for max numbers of objects in ZK when no database is configured#889

Merged
tpetr merged 10 commits intomasterfrom
max-tasks-no-zk
Feb 16, 2016
Merged

add support for max numbers of objects in ZK when no database is configured#889
tpetr merged 10 commits intomasterfrom
max-tasks-no-zk

Conversation

@tpetr
Copy link
Contributor

@tpetr tpetr commented Feb 9, 2016

re: #874

@tpetr tpetr changed the title WIP: add support for max numbers of objects in ZK when no database is configured add support for max numbers of objects in ZK when no database is configured Feb 9, 2016
}
for (Collection<SingularityDeployHistory> deployHistoryForRequest : deployHistoryByRequestId.asMap().values()) {
int i=0;
for (SingularityDeployHistory deployHistory : deployHistoryForRequest) {
Copy link
Member

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.

Copy link
Contributor Author

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

@tpetr tpetr added the hs_qa label Feb 12, 2016
@tpetr tpetr added this to the 0.4.10 milestone Feb 12, 2016
tpetr pushed a commit that referenced this pull request Feb 16, 2016
add support for max numbers of objects in ZK when no database is configured
@tpetr tpetr merged commit 678e95e into master Feb 16, 2016
@tpetr tpetr removed hs_qa labels Feb 16, 2016
@tpetr
Copy link
Contributor Author

tpetr commented Feb 16, 2016

FYI @stevenschlansker

@ssalinas ssalinas deleted the max-tasks-no-zk branch April 5, 2016 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants