Conversation
Contributor
antonio2368
approved these changes
Apr 9, 2025
Member
Author
|
The remaining test failures are unrelated. |
Contributor
|
Dear @antonio2368, this PR hasn't been updated for a while. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself. |
Member
|
Do we need this @al13n321 ? |
Contributor
robot-ch-test-poll
added a commit
that referenced
this pull request
Sep 27, 2025
Cherry pick #78873 to 25.3: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
robot-clickhouse
added a commit
that referenced
this pull request
Sep 27, 2025
This was referenced Sep 27, 2025
robot-ch-test-poll
added a commit
that referenced
this pull request
Sep 27, 2025
Cherry pick #78873 to 25.7: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
robot-clickhouse
added a commit
that referenced
this pull request
Sep 27, 2025
robot-ch-test-poll
added a commit
that referenced
this pull request
Sep 27, 2025
Cherry pick #78873 to 25.8: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
robot-clickhouse
added a commit
that referenced
this pull request
Sep 27, 2025
This was referenced Sep 27, 2025
robot-ch-test-poll
added a commit
that referenced
this pull request
Sep 27, 2025
Cherry pick #78873 to 25.9: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
robot-clickhouse
added a commit
that referenced
this pull request
Sep 27, 2025
clickhouse-gh bot
added a commit
that referenced
this pull request
Sep 27, 2025
Backport #78873 to 25.7: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
clickhouse-gh bot
added a commit
that referenced
this pull request
Sep 27, 2025
Backport #78873 to 25.8: Fix RMV tryEnqueueReplicatedDDL shutdown crash again
al13n321
pushed a commit
that referenced
this pull request
Sep 27, 2025
…sh again (#87753) Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
al13n321
pushed a commit
that referenced
this pull request
Sep 27, 2025
…sh again (#87747) Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
#73323 made server shutdown wait for refreshable MVs to stop before destroying databases. But if RMVs failed to stop within a timeout, it would say "oh well" and proceed to destroying databases anyway. Then it sometimes crashed because of that. This PR makes the server forcefully shut down in this case, just like when it fails to close client connections within the same timeout.
(Not sure what I was thinking - maybe that it's better to proceed with shutdown and risk crashing than to forcefully shutdown immediately. But it's probably not better, we get alerts.)