Repository navigation
Update NuRaft snapshot IO setting - #106285
Merged
Merged
Conversation
Update `contrib/NuRaft` to `77f325d3642005ee095760c04e62dde45c6b56bd`. Expose `use_bg_thread_for_snapshot_io_` through coordination setting `nuraft_use_bg_thread_for_snapshot_io` with default `true`.
Contributor
|
Workflow [PR], commit [cc5a7fb] Summary: ❌
AI ReviewSummary
Final Verdict
|
Advance `contrib/NuRaft` to `9b6eb6ed31734e24c68cad59b10209d251cdbb07` and shut down `snapshot_io_mgr` during `KeeperServer` shutdown.
kssenii
approved these changes
Jun 3, 2026
Member
🤔 |
Member
Author
|
Yes, the failures are related. |
Merge of upstream master into the ClickHouse fork. The resulting source tree is identical to the previously pinned `b350375`, so no build or source changes are required — this only advances the submodule pointer to the merge commit. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 17/17 (100.00%) | Lost baseline coverage: none · Uncovered code |
This was referenced Jun 9, 2026
Closed
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.
Update
NuRaftand expose its background snapshot IO mode through the Keeper coordination settingnuraft_use_bg_thread_for_snapshot_io. The setting is enabled by default so snapshot objects are read by a background thread instead of Raft worker threads.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Added Keeper setting
nuraft_use_bg_thread_for_snapshot_io, enabled by default, to makeNuRaftread snapshot objects from a background thread instead of Raft worker threads.Documentation entry:
NuRaftupdate.Version info
26.6.1.538