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

[3.1.2 backport] CBG-3554 close bucket when failing to add database #6548

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

torcolvin
Copy link
Collaborator

Backports: CBG-3553 add bucket.Close() when opening the database #6546 (5ef676e)

* CBG-3553 add bucket.Close() when opening the database

- close the DatabaseContext if it's not managed by the database if it hasn't been added to
- changed newSequenceAllocator to not leak a goroutine

* Don't create db automatically

* Improve error message

* Don't close dbcontext if already registered

* Remove test which did not test anything
@adamcfraser adamcfraser merged commit f63068e into release/3.1.2 Oct 23, 2023
20 checks passed
@adamcfraser adamcfraser deleted the CBG-3554 branch October 23, 2023 22:09
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