Skip to content

Expire crash #431

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

Merged
merged 2 commits into from
May 20, 2022
Merged

Expire crash #431

merged 2 commits into from
May 20, 2022

Conversation

JohnSully
Copy link
Collaborator

prepOverwriteForSnapshot is a performance optimization designed to eliminate an unnecessary copy when we are about to overwrite the value anyways. Unfortunately this didn't correctly synchronize the expire map leading to an assertion failure and crash. The fix disables this optimization when an expire is present - we can reenable it in the future when we're not blocking a release.

@JohnSully
Copy link
Collaborator Author

This PR also contains a change to cause this scenario to reproduce with tests where previously it was not hit.

@JohnSully JohnSully merged commit ea4941a into main May 20, 2022
@JohnSully JohnSully deleted the expire_crash branch May 20, 2022 17:07
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