Skip to content

Conversation

@david-stephan
Copy link
Contributor

No description provided.

jeromecomte
jeromecomte previously approved these changes Dec 8, 2025
public void updateAllCollectionsTtl(boolean ttlEnabled, Map<Long, Long> resolutionsToTtl) {
setTtlEnabled(ttlEnabled);
resolutionsToTtl.forEach((resolution, ttl) -> {
if (hasCollection(resolution)) {
Copy link
Contributor

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;
Copy link
Contributor

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() {
Copy link
Contributor

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

Copy link
Contributor

@jeromecomte jeromecomte left a 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

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