Skip to content

Add a magnificent test for backups#93659

Merged
tavplubix merged 6 commits intomasterfrom
test-for-backups
Jan 28, 2026
Merged

Add a magnificent test for backups#93659
tavplubix merged 6 commits intomasterfrom
test-for-backups

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

@alexey-milovidov alexey-milovidov commented Jan 8, 2026

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC) or LOGICAL_ERROR

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Backups could crash the server if you do many concurrent backups clashing over the same files.

See https://s3.amazonaws.com/clickhouse-test-reports/PRs/93577/c2e469a9dd997bf762ce856a63aac4b700ad2d5f//buzzhouse_amd_msan/fatal.log

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Jan 8, 2026

Workflow [PR], commit [799f6f7]

Summary:

job_name test_name status info comment
Stateless tests (arm_asan, targeted) error
Integration tests (amd_asan, targeted) error

@clickhouse-gh clickhouse-gh bot added pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! labels Jan 8, 2026
@alexey-milovidov
Copy link
Copy Markdown
Member Author

Added commits from #93709.
At least, the fast test passed.

@alexey-milovidov
Copy link
Copy Markdown
Member Author

But the problem still shows up.

@alexey-milovidov
Copy link
Copy Markdown
Member Author

Now, integration tests showed something.

Comment on lines +29 to +31
CREATE DATABASE d1 ENGINE = Replicated('/clickhouse/databases/d1', '{shard}', '{replica}');
CREATE DATABASE d2 ENGINE = Replicated('/clickhouse/databases/d2', 's0', 'd0');

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.

This collides with another test:

CREATE DATABASE d1 ENGINE = Backup(-5036955478727481395::Int64); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=93659&sha=5c60569252fe9949a700341ced4323538ca7aa85&name_0=PR

@alexey-milovidov
Copy link
Copy Markdown
Member Author

#94959

@alexey-milovidov
Copy link
Copy Markdown
Member Author

@tavplubix, a few conflicts in private.

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jan 28, 2026
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jan 28, 2026
clickhouse-gh bot added a commit that referenced this pull request Jan 28, 2026
Backport #93659 to 26.1: Add a magnificent test for backups
robot-ch-test-poll3 added a commit that referenced this pull request Jan 29, 2026
Cherry pick #93659 to 25.8: Add a magnificent test for backups
robot-ch-test-poll3 added a commit that referenced this pull request Jan 29, 2026
Cherry pick #93659 to 25.10: Add a magnificent test for backups
robot-ch-test-poll3 added a commit that referenced this pull request Jan 29, 2026
Cherry pick #93659 to 25.11: Add a magnificent test for backups
robot-ch-test-poll3 added a commit that referenced this pull request Jan 29, 2026
Cherry pick #93659 to 25.12: Add a magnificent test for backups
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jan 29, 2026
clickhouse-gh bot added a commit that referenced this pull request Jan 29, 2026
Backport #93659 to 25.11: Add a magnificent test for backups
clickhouse-gh bot added a commit that referenced this pull request Jan 29, 2026
Backport #93659 to 25.8: Add a magnificent test for backups
tavplubix added a commit that referenced this pull request Jan 30, 2026
Backport #93659 to 25.10: Add a magnificent test for backups
tavplubix added a commit that referenced this pull request Jan 30, 2026
Backport #93659 to 25.12: Add a magnificent test for backups
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-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR 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.

5 participants