-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix max dbs error #2192
Fix max dbs error #2192
Conversation
44a21b5
to
cc3ac7d
Compare
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.
Thank you @MarinPostma for the changes, it is indeed something that heed must do: keep the environments open in order to make sure that the program doesn't try to open them multiple times.
bors merge
2192: Fix max dbs error r=Kerollmops a=MarinPostma Factor the way we open environments to make sure they are always opened with the same options. The issue was that indexes were first opened in snapshots with incorrect options, and heed cache returned an environment with incorrect open options on subsequent index open. fix #2190 Co-authored-by: ad hoc <postma.marin@protonmail.com>
bors cancel |
Canceled. |
cc3ac7d
to
7e83210
Compare
@Kerollmops yep it's done |
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.
Thank you very much, merging!
bors merge
Factor the way we open environments to make sure they are always opened with the same options.
The issue was that indexes were first opened in snapshots with incorrect options, and heed cache returned an environment with incorrect open options on subsequent index open.
fix #2190