Skip to content

Revert "Harden test_ddl_worker_with_loopback_hosts against CI flakes" and add proper fix#88472

Merged
alesapin merged 3 commits intomasterfrom
revert-88342-fix/test_ddl_worker_with_loopback_hosts
Oct 15, 2025
Merged

Revert "Harden test_ddl_worker_with_loopback_hosts against CI flakes" and add proper fix#88472
alesapin merged 3 commits intomasterfrom
revert-88342-fix/test_ddl_worker_with_loopback_hosts

Conversation

@alesapin
Copy link
Copy Markdown
Member

Reverts #88342
This change breaks test logic, adds complexity and hides real bug.

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Oct 13, 2025

Workflow [PR], commit [741f47b]

Summary:

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 2/2) failure
03096_update_non_indexed_columns FAIL

@clickhouse-gh clickhouse-gh bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Oct 13, 2025
@alesapin alesapin changed the title Revert "Harden test_ddl_worker_with_loopback_hosts against CI flakes" Revert "Harden test_ddl_worker_with_loopback_hosts against CI flakes" and add proper fix Oct 13, 2025
@azat azat self-assigned this Oct 15, 2025
/// We have this tryMulti for a very weird edge case when it's related to localhost.
/// Each replica may have a localhost as hostid and if we configured multiple replicas to add their
/// localhosts to some clusters multiple of them may think that they must mark it as active.
if (code != Coordination::Error::ZOK)
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.

Should we allow only Coordination::Error::ZNODEEXISTS error here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm afraid to break old behavior where it was just try/catch. So let's leave it as is.

@alesapin alesapin enabled auto-merge October 15, 2025 15:40
@alesapin alesapin added this pull request to the merge queue Oct 15, 2025
Merged via the queue into master with commit ee7e7f2 Oct 15, 2025
118 of 123 checks passed
@alesapin alesapin deleted the revert-88342-fix/test_ddl_worker_with_loopback_hosts branch October 15, 2025 15:53
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants