Skip to content
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

support configuring tombstone retention in Mongo #409

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

agavra
Copy link
Contributor

@agavra agavra commented Jan 13, 2025

Note that we still need to fix #410

Copy link
Contributor

@rodesai rodesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One suggestion inline

@@ -111,6 +111,15 @@ public class ResponsiveConfig extends AbstractConfig {
+ "with for best results. However it is important to note that this cannot be changed for "
+ "an active application. Messing with this can corrupt existing state!";

public static final String MONGO_TOMBSTONE_RETENTION_MS_CONFIG = "responsive.mongo.tombstone.retention.ms";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit of a nit that I'll leave up to you but seconds or minutes is probably a more friendly unit for this config.

@agavra agavra merged commit dca7024 into main Jan 13, 2025
1 check passed
@agavra agavra deleted the configure_tombstone_retention branch January 13, 2025 22:42
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.

MongoDB TTL Does Not Work
2 participants