Skip to content

Destroy main_config_reloader before shared context.#28088

Merged
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
nvartolomei:nv/config-reloader-crash-on-shutdown
Aug 24, 2021
Merged

Destroy main_config_reloader before shared context.#28088
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
nvartolomei:nv/config-reloader-crash-on-shutdown

Conversation

@nvartolomei
Copy link
Copy Markdown
Contributor

This tries to fix crash reported in a comment
#24404 (comment).

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix extremely rare segfaults on shutdown due to incorrect order of context/config reloader shutdown.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Aug 24, 2021
@kitaisreal kitaisreal self-assigned this Aug 24, 2021
@alexey-milovidov alexey-milovidov merged commit cca850b into ClickHouse:master Aug 24, 2021
robot-clickhouse pushed a commit that referenced this pull request Aug 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Aug 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Aug 25, 2021
robot-clickhouse pushed a commit that referenced this pull request Aug 25, 2021
kitaisreal added a commit that referenced this pull request Aug 25, 2021
Backport #28088 to 21.9: Destroy `main_config_reloader` before shared context.
kitaisreal added a commit that referenced this pull request Aug 25, 2021
Backport #28088 to 21.8: Destroy `main_config_reloader` before shared context.
kitaisreal added a commit that referenced this pull request Aug 25, 2021
Backport #28088 to 21.7: Destroy `main_config_reloader` before shared context.
kitaisreal added a commit that referenced this pull request Aug 25, 2021
Backport #28088 to 21.6: Destroy `main_config_reloader` before shared context.
@nvartolomei nvartolomei deleted the nv/config-reloader-crash-on-shutdown branch September 14, 2021 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants