Repository navigation
[CI Proof] RestorerFromBackup::createTable uses non-existent setting names causing RESTORE to fail - #104811
Conversation
RestorerFromBackup::createTable at src/Backups/RestorerFromBackup.cpp:779-780 uses wrong setting names: - `keeper_initial_backoff_ms` should be `keeper_retry_initial_backoff_ms` - `keeper_max_backoff_ms` should be `keeper_retry_max_backoff_ms` This causes RESTORE of ReplicatedMergeTree tables to fail with UNKNOWN_SETTING error (code 115). The test creates a table, backs it up, drops it, and restores it. On buggy code, the RESTORE throws an exception.
|
Pre-PR Validation Gate (per ClickGap pipeline): a) Deterministic repro? ❌ b) Root cause explained? ✅ c) Fix matches root cause? ✅ d) Test intent preserved? / New tests added? ✅ e) Both directions demonstrated? ✅ f) Fix is general, not a narrow patch? ✅ |
|
Workflow [PR], commit [2310024] Summary: ❌
AI ReviewSummaryThis PR adds an integration repro test for the Final VerdictStatus: ✅ Approve |
|
CI failure in |
|
CI completed with 1 failure(s) — |
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Suspected bug:
RestorerFromBackup::createTableuses non-existent setting names causing RESTORE to failRoot cause: src/Backups/RestorerFromBackup.cpp:779-780: The code uses
keeper_initial_backoff_msinstead ofkeeper_retry_initial_backoff_msandkeeper_max_backoff_msinstead ofkeeper_retry_max_backoff_msAffected locations:
src/Backups/RestorerFromBackup.cpp:779— setSetting with wrong setting namesrc/Backups/RestorerFromBackup.cpp:780— setSetting with wrong setting nameWhy CI is needed: All RESTORE TABLE operations fail with Code: 115 UNKNOWN_SETTING exception. Users cannot restore tables from backups.
Suggested fix: Change line 779 to use
keeper_retry_initial_backoff_msand line 780 to usekeeper_retry_max_backoff_msChangelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not applicable — temporary CI proof PR, will be closed automatically.
Documentation entry for user-facing changes