Repository navigation
Derive DATA_PATH only after the detach gate in 04624_part_loading_tree_rollback_startup_recovery - #111730
Merged
alexey-milovidov merged 1 commit intoJul 24, 2026
Conversation
…tree_rollback_startup_recovery` Follow-up to #111661, addressing the remaining review comment: the detach-postcondition gate alone did not prove that the copy source exists. If a stress-test restart lands on the earlier `INSERT` or on the `SELECT data_paths[1]` client call, the gate could still pass while `DATA_PATH` is empty or the part `all_1_1_0` is missing; under plain `bash` the `cp`/`printf` would fail silently and the test would print the reference output without ever fabricating the corrupted `txn_version.txt` it is supposed to recover from. Now `DATA_PATH` is derived only after the gate, from `system.detached_tables.uuid` and `system.disks` (the same way `recover_leaked_table` does), and the test fails fast unless the source part directory exists before the out-of-band copy. Co-Authored-By: Claude Fable 5 <[email protected]>
Contributor
|
Workflow [PR], commit [fc58ad1] Summary: ✅ AI ReviewSummaryThis follow-up moves Final VerdictStatus: ✅ Approve |
This was referenced Jul 24, 2026
alexey-milovidov
deleted the
followup-111661-04624-derive-data-path-after-gate
branch
July 24, 2026 21:11
This was referenced Jul 24, 2026
This was referenced Jul 26, 2026
1 task
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
…04624-derive-data-path-after-gate Derive `DATA_PATH` only after the detach gate in `04624_part_loading_tree_rollback_startup_recovery`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to #111661 (merged), addressing the remaining review comment on
04624_part_loading_tree_rollback_startup_recovery.sh: the detach-postcondition gate alone did not prove that the copy source exists. If a stress-test restart lands on the earlierINSERTor on theSELECT data_paths[1]client call, the gate could still pass whileDATA_PATHis empty or the partall_1_1_0is missing; under plainbashthecp/printfwould then fail silently,recover_leaked_tablewould re-attach a healthy table, and the test would print the reference output without ever fabricating the corruptedtxn_version.txtit is supposed to recover from.Now
DATA_PATHis derived only after the detach gate, fromsystem.detached_tables.uuidandsystem.disks(the same wayrecover_leaked_tabledoes), and the test fails fast unless the source part directory${DATA_PATH}all_1_1_0exists before the out-of-band copy.The test output is unchanged; it passes locally against a 26.7.1 server.
Related: #111661
Related: #111055
Changelog category (leave one):