-
Notifications
You must be signed in to change notification settings - Fork 315
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
Serialize parent's cache generation and access #1496
Conversation
feat: add a test for this to ensure there's no corruption
Ok(c) => Ok(c), | ||
Ok(c) => { | ||
generated.insert(generation_key); | ||
drop(generated); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not really needed, as it will be dropped as soon as the function ends
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought an explicit drop made sense at the time, but agreed, it's not needed
Resolves #1495 |
fix: ensure test doesn't remove a file another thread is using
263d3e5
to
fcfdc5b
Compare
No description provided.