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

Add support for TTLs and subject delete markers to memory store #6400

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

neilalexander
Copy link
Member

This adds support for TTLs and subject delete markers into the memory store. Much of this is just replicating and aligning the logic from the filestore. None of the recovery/rebuilding/re-indexing code is needed as the memory store does not recover from disk.

Some of the relevant JetStream unit tests have been updated to test both MemoryStorage and FileStorage. The relevant filestore tests have also been replicated into the memstore tests.

Signed-off-by: Neil Twigg [email protected]

@neilalexander neilalexander requested a review from a team as a code owner January 23, 2025 15:12
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 257319c into main Jan 23, 2025
5 checks passed
@derekcollison derekcollison deleted the neil/ttlmemstore branch January 23, 2025 15:44
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