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

Increase store ref before snapshotting index commit (#84776) #85365

Merged

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Mar 26, 2022

Snapshotted commits should also hold a reference to the store, so they
are always usable; otherwise, callers need to manage the store's
references manually. This change applies only to InternalEngine as we
already do this in ReadOnlyEngine.

Backport of #84776

…lastic#85112)

Snapshotted commits should also hold a reference to the store, so they
are always usable; otherwise, callers need to manage the store's
references manually. This change applies only to InternalEngine as we
already do this in ReadOnlyEngine.
@dnhatn dnhatn added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Mar 26, 2022
@elasticsearchmachine elasticsearchmachine merged commit 12c32fa into elastic:7.17 Mar 26, 2022
@dnhatn dnhatn deleted the 7_17_snapshot_index_commit branch March 26, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.17.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants