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

Do not gather full state for snapshots #3680

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

ripienaar
Copy link
Contributor

This avoids full state outputs for streams with many deleted items

Signed-off-by: R.I.Pienaar rip@devco.net

/cc @nats-io/core

This avoids hust state outputs for streams with many
deleted items

Signed-off-by: R.I.Pienaar <rip@devco.net>
@ripienaar
Copy link
Contributor Author

fixed

@derekcollison
Copy link
Member

This for dev or could be for main?

@ripienaar
Copy link
Contributor Author

If you are certain you don’t use the extra state details to rebuild anything on restore we can do main else dev.

@derekcollison
Copy link
Member

We do not use any of the state tbh.. So edit this PR to merge to main.

@ripienaar ripienaar changed the base branch from dev to main December 6, 2022 08:52
@ripienaar
Copy link
Contributor Author

Allright, its pointing at main now.

@derekcollison derekcollison self-requested a review December 6, 2022 11:30
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 65a833c into nats-io:main Dec 6, 2022
@ripienaar ripienaar deleted the snapshot_full_state branch December 6, 2022 16:09
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.

None yet

2 participants