Skip to content

Conversation

@holiman
Copy link
Contributor

@holiman holiman commented May 14, 2021

I revisited #20986, which contains some fixes regarding the shutdown of the background freezer. That PR is now stale, and some of the changes are already applied.

One remaining feature from that PR is to use a waitgroup to ensure that the shutdown takes effect, before proceeding to close the tables and eventually the database. If this is not performed, it may happen that the database is closed, which makes the freezer hit a log.Crit, causing an ungraceful termination.

This PR adds a waitgroup to the freezer to fix that behaviour.
Supersedes #20986

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