Skip to content

Fix watch leak in DDLWorker#28446

Merged
tavplubix merged 1 commit intomasterfrom
ddlworker_fix_watch_leak
Sep 1, 2021
Merged

Fix watch leak in DDLWorker#28446
tavplubix merged 1 commit intomasterfrom
ddlworker_fix_watch_leak

Conversation

@tavplubix
Copy link
Copy Markdown
Member

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):
Fixed possible ZooKeeper watches leak on background processing of distributed DDL queue. Closes #26036

Detailed description / Documentation draft:
NOTE: Watches leak is still possible in StorageReplicatedMergeTree::tryWaitForReplicaToProcessLogEntry and probably in some other places

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Sep 1, 2021
Copy link
Copy Markdown
Member

@alesapin alesapin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this debug code is not required now. Bug in Keeper was fixed.

@alesapin alesapin self-assigned this Sep 1, 2021
@tavplubix tavplubix merged commit b5b9fd8 into master Sep 1, 2021
@tavplubix tavplubix deleted the ddlworker_fix_watch_leak branch September 1, 2021 19:44
tavplubix added a commit that referenced this pull request Sep 2, 2021
Backport #28446 to 21.9: Fix watch leak in DDLWorker
tavplubix added a commit that referenced this pull request Sep 3, 2021
Backport #28446 to 21.8: Fix watch leak in DDLWorker
tavplubix added a commit that referenced this pull request Sep 3, 2021
Backport #28446 to 21.7: Fix watch leak in DDLWorker
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.

ZK watch leak in DDLWorker

3 participants