-
Notifications
You must be signed in to change notification settings - Fork 0
SED-4415 optimize reporting request and query performance #109
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
base: master
Are you sure you want to change the base?
SED-4415 optimize reporting request and query performance #109
Conversation
This reverts commit b28d93b.
| public void updateAllCollectionsTtl(boolean ttlEnabled, Map<Long, Long> resolutionsToTtl) { | ||
| setTtlEnabled(ttlEnabled); | ||
| resolutionsToTtl.forEach((resolution, ttl) -> { | ||
| if (hasCollection(resolution)) { |
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.
This duplicates the code of updateCollectionTtl()
| } | ||
|
|
||
| protected Collection<Bucket> getMainCollection() { | ||
| return mainCollection; |
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.
I merged a similar changed to master
| } | ||
|
|
||
| @Test | ||
| public void aggregationTestWithResolutionChanges() { |
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 test look good but I haven't reviewed them in detail. A short comment describing the purpose could be useful
jeromecomte
left a comment
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.
Approving with minor remarks
No description provided.