Skip to content

Fix misleading not enough space error message when restoring a backup on a read-only disk - #83051

Merged
jkartseva merged 6 commits into
ClickHouse:masterfrom
jkartseva:fix-error-msg-ro-backups
Jul 3, 2025
Merged

jkartseva merged 6 commits into
ClickHouse:masterfrom
jkartseva:fix-error-msg-ro-backups

Conversation

@jkartseva

Copy link
Copy Markdown
Member

Fixes: https://github.com/ClickHouse/clickhouse-private/issues/31429

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Fix misleading error message when restoring a backup on a read-only disk.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@jkartseva jkartseva added the can be tested Allows running workflows for external contributors label Jul 2, 2025
@clickhouse-gh

clickhouse-gh Bot commented Jul 2, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [d940f18]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Jul 2, 2025
@vdimir vdimir self-assigned this Jul 2, 2025
@@ -8083,12 +8084,11 @@ std::pair<MergeTreeData::MutableDataPartPtr, scope_guard> MergeTreeData::cloneAn
dst_part_storage = src_part_storage->freezeRemote(

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.

Shouldn't we in code above throw error with error code from reserve unexpected result?

@jkartseva
jkartseva enabled auto-merge July 3, 2025 15:27
@jkartseva
jkartseva added this pull request to the merge queue Jul 3, 2025
Merged via the queue into ClickHouse:master with commit 9dacee3 Jul 3, 2025
@jkartseva
jkartseva deleted the fix-error-msg-ro-backups branch July 3, 2025 16:29
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 3, 2025
@robot-ch-test-poll robot-ch-test-poll added pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Jul 3, 2025
robot-clickhouse added a commit that referenced this pull request Jul 3, 2025
…age when restoring a backup on a read-only disk
robot-clickhouse added a commit that referenced this pull request Jul 3, 2025
…age when restoring a backup on a read-only disk
clickhouse-gh Bot added a commit that referenced this pull request Jul 3, 2025
Backport #83051 to 25.6: Fix misleading `not enough space` error message when restoring a backup on a read-only disk
alexey-milovidov added a commit that referenced this pull request Jul 3, 2025
Backport #83051 to 25.5: Fix misleading `not enough space` error message when restoring a backup on a read-only disk
robot-clickhouse added a commit that referenced this pull request Jul 8, 2025
…age when restoring a backup on a read-only disk
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 8, 2025
vdimir added a commit that referenced this pull request Jul 8, 2025
Backport #83051 to 25.4: Fix misleading `not enough space` error message when restoring a backup on a read-only disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-bugfix Pull request with bugfix, not backported by default 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.

4 participants