Open
Conversation
Contributor
|
Workflow [PR], commit [2962b96] Summary: ❌
|
8ab404c to
7baa1ae
Compare
7baa1ae to
decab89
Compare
Contributor
Author
|
|
f930d75 to
6ddb818
Compare
add enable_watches_tracking to zk's config and clear on finalize
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3261f61 to
2962b96
Compare
Contributor
LLVM Coverage Report
PR changed lines: PR changed-lines coverage: 92.82% (168/181, 0 noise lines excluded) |
Contributor
Author
|
There is two unrelated failure which has been fixed already: |
Contributor
Author
|
@Michicosun could you take a look pls |
Michicosun
reviewed
Mar 23, 2026
| namespace Coordination | ||
| { | ||
|
|
||
| class ZooKeeperWatchesTracker |
Member
There was a problem hiding this comment.
Basically, this structure duplicates the watches map, which doubles the byte size for watches. Why isn't this information stored not in watches map itself?
| for (const auto & event_or_callback : it->second) | ||
| { | ||
| if (event_or_callback) | ||
| { |
Member
There was a problem hiding this comment.
There is a bug in master; it should not remove all watches based on the triggered path; it should remove only the triggered watch.
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.
Implements #86736
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Users can now see zookeeper's watches issued by clickhouse-server using the new
system.zookeeper_watchestable.Documentation entry for user-facing changes