Skip to content

Fix test_keeper_remove_rejoin_leader/test.py::test_leader_election_after_rolling_membership_change - #101382

Merged
antaljanosbenjamin merged 1 commit into
masterfrom
fix-test_leader_election_after_rolling_membership_change-try-2
Apr 1, 2026
Merged

antaljanosbenjamin merged 1 commit into
masterfrom
fix-test_leader_election_after_rolling_membership_change-try-2

Conversation

@antaljanosbenjamin

@antaljanosbenjamin antaljanosbenjamin commented Mar 31, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Version info

  • Merged into: 26.4.1.481-master (included in 26.4 and later)
  • Backported to: 26.3.61.19

@antaljanosbenjamin antaljanosbenjamin changed the title Fix fix-test_leader_election_after_rolling_membership_change Fix test_leader_election_after_rolling_membership_change Mar 31, 2026
@antaljanosbenjamin antaljanosbenjamin changed the title Fix test_leader_election_after_rolling_membership_change Fix test_keeper_remove_rejoin_leader/test.py::test_leader_election_after_rolling_membership_change Mar 31, 2026
@clickhouse-gh

clickhouse-gh Bot commented Mar 31, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [dc0297b]

Summary: ❌

job_name test_name status info comment
Integration tests (amd_llvm_coverage, 2/5) failure
test_overcommit_tracker/test.py::test_user_overcommit FAIL cidb IGNORED

AI Review

Summary

This PR adjusts test_keeper_remove_rejoin_leader to stabilize leader election timing under sanitizer builds by rewriting generated Keeper configs with larger heartbeat/election timeouts and restarting the initial 3 nodes before the rolling membership sequence. High-level verdict: the change is scoped to integration-test reliability and I did not find a high-confidence correctness, safety, or compatibility issue that requires an inline review comment.

Missing context
  • ⚠️ Full CI signal is not yet available (Style check and Code Review are still in progress), so final runtime stability across all environments is not fully confirmed.
ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ✅
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 31, 2026
@antaljanosbenjamin

Copy link
Copy Markdown
Member Author

test_user_overcommit is fixed by #101270

@antaljanosbenjamin
antaljanosbenjamin added this pull request to the merge queue Apr 1, 2026
Merged via the queue into master with commit 23fde26 Apr 1, 2026
159 of 160 checks passed
@antaljanosbenjamin
antaljanosbenjamin deleted the fix-test_leader_election_after_rolling_membership_change-try-2 branch April 1, 2026 10:36
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 1, 2026
@PedroTadim

Copy link
Copy Markdown
Member

Backporting to fix CI

@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Oct 29, 2026
@robot-ch-test-poll robot-ch-test-poll added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 29, 2026
PedroTadim added a commit that referenced this pull request Oct 29, 2026
Backport #101382 to 26.3: Fix `test_keeper_remove_rejoin_leader/test.py::test_leader_election_after_rolling_membership_change`
leshikus pushed a commit that referenced this pull request Nov 13, 2026
…py::test_leader_election_after_rolling_membership_change`
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-synced The `*-must-backport` labels are synced into the cloud Sync PR 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 v26.3-must-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: test_keeper_remove_rejoin_leader/test.py::test_leader_election_after_rolling_membership_change

5 participants