Skip to content

Maybe fix livelock in ZooKeeper client#28195

Merged
tavplubix merged 1 commit intomasterfrom
maybe_fix_livelock_in_zookeeper_client
Aug 30, 2021
Merged

Maybe fix livelock in ZooKeeper client#28195
tavplubix merged 1 commit intomasterfrom
maybe_fix_livelock_in_zookeeper_client

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):

  • Not for changelog (changelog entry is not required)

Detailed description / Documentation draft:
Maybe it will fix #27529 (comment)

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 26, 2021
@alesapin alesapin self-assigned this Aug 26, 2021
{
expired = true;
/// No new requests will appear in queue after close()
bool was_closed = requests_queue.close();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Uclear interface or variable name. If close() returned false then it was actually closed?


if (in->poll(max_wait))
{
if (expired)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let's remove it now.

@tavplubix tavplubix force-pushed the maybe_fix_livelock_in_zookeeper_client branch from 7be30f6 to 7ddb4a9 Compare August 27, 2021 10:25
@tavplubix
Copy link
Copy Markdown
Member Author

ClickHouse special build check - I don't see error messages in the build log, looks like some CI issue
Stress test (undefined) - OPTIMIZE - waitForAllTableReplicasToProcessLogEntry - probably fixed by #27931

@tavplubix tavplubix merged commit 855a53f into master Aug 30, 2021
@tavplubix tavplubix deleted the maybe_fix_livelock_in_zookeeper_client branch August 30, 2021 10:40
@tavplubix tavplubix added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Oct 1, 2021
tavplubix added a commit that referenced this pull request Oct 4, 2021
Backport #28195 to 21.9: Maybe fix livelock in ZooKeeper client
tavplubix added a commit that referenced this pull request Oct 4, 2021
Backport #28195 to 21.8: Maybe fix livelock in ZooKeeper client
tavplubix added a commit that referenced this pull request Oct 4, 2021
Backport #28195 to 21.7: Maybe fix livelock in ZooKeeper client
@Felixoid Felixoid added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants