Skip to content

Check cancellation flag before each Keeper request - #89286

Open
Michicosun wants to merge 1 commit into
masterfrom
check_cancellation_before_each_zk_request
Open

Michicosun wants to merge 1 commit into
masterfrom
check_cancellation_before_each_zk_request

Conversation

@Michicosun

@Michicosun Michicosun commented Oct 31, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Details

Many queries perform some Keeper requests in a cycle until a condition is met, such as checking table and selects from system tables. It can be helpful to check the cancellation flag before making these requests.

@clickhouse-gh

clickhouse-gh Bot commented Oct 31, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7d53d49]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, sequential) failure
00991_system_parts_race_condition_long FAIL cidb
Integration tests (amd_asan, old analyzer, 1/6) failure
test_storage_s3_queue/test_parallel_inserts.py::test_parallel_inserts_with_failures[1] FAIL cidb, flaky
Integration tests (amd_asan, old analyzer, 4/6) failure
test_backup_restore_on_cluster/test.py::test_required_privileges FAIL cidb
test_backup_restore_on_cluster/test.py::test_system_users FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_backup FAIL cidb
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_backups_on_different_nodes FAIL cidb
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_restores_on_same_node FAIL cidb, flaky
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_restores_on_different_node FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_restore FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_error_leaves_no_trash FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_long_disconnection_stops_backup FAIL cidb, flaky
Integration tests (amd_binary, 5/5) failure
test_backup_restore_on_cluster/test.py::test_required_privileges FAIL cidb
test_backup_restore_on_cluster/test.py::test_system_users FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_restore FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_error_leaves_no_trash FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_long_disconnection_stops_backup FAIL cidb, flaky
Integration tests (arm_binary, distributed plan, 3/4) failure
test_backup_restore_on_cluster/test.py::test_required_privileges FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_restore FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_error_leaves_no_trash FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_long_disconnection_stops_backup FAIL cidb, flaky
Integration tests (amd_tsan, 4/6) failure
test_backup_restore_on_cluster/test.py::test_required_privileges FAIL cidb
test_backup_restore_on_cluster/test.py::test_system_users FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_backup FAIL cidb
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_restores_on_same_node FAIL cidb, flaky
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_restores_on_different_node FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_cancel_restore FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_shutdown_cancels_backup FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_error_leaves_no_trash FAIL cidb
test_backup_restore_on_cluster/test_cancel_backup.py::test_long_disconnection_stops_backup FAIL cidb, flaky
Stress test (arm_asan) failure
Server died FAIL cidb
Hung check failed, possible deadlock found (see hung_check.log) FAIL cidb
Killed by signal (in clickhouse-server.log) FAIL cidb
Fatal message in clickhouse-server.log (see fatal_messages.txt) FAIL cidb
Killed by signal (output files) FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Oct 31, 2025
@CheSema CheSema self-assigned this Nov 3, 2025
@clickhouse-gh

clickhouse-gh Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Dear @CheSema, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@antonio2368 antonio2368 self-assigned this Jun 15, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Dear @antonio2368, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself.

@abashkeev abashkeev added the comp-keeper ClickHouse Keeper (Raft-based coordination layer; ZooKeeper replacement) and ZooKeeper client lib... label Sep 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-keeper ClickHouse Keeper (Raft-based coordination layer; ZooKeeper replacement) and ZooKeeper client lib... 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