Skip to content

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.

3 participants