Repository navigation
UNIQUE KEY: insert - #123003
UNIQUE KEY: insert#123003
Conversation
…nder their final name - MergeTreeSink commits a UNIQUE KEY part through UniqueKeyTxnCommit::insert under a per-partition transaction; the commit takes the MergeTreeSink, core's IUniqueKeyInsertSink and its header go, and the UniqueKeyInsertOutcome the commit returns lives in UniqueKeyTxnCommit.h. MergeTreeDataWriter and MergeTreeSinkPatch take the transaction that stamps creation_tid. - DeleteBitmapFileOps writes a bitmap straight to its final name; isAnyDeleteBitmapFile and the two tmp + rename gtests go. - SSTIndexWriter's duplicate-key message no longer says INSERT-time dedup is unimplemented. - Tests: 04161_insert_duplicate, 04168 cases 1 and 1b (without case 1's merge lines), 04174 case 2, 04189; the Keeper feature flags in test_unique_key_sst. The Insert cases that read an overwrite back through SELECT land with Read. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Workflow [PR], commit [3389770] Summary: ✅
AI ReviewSummaryThis PR rewires Findings
Tests
Final Verdict
|
The layer rebased onto 8ed4339, with the review fixes since the first push. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…rupt-bitmap CHECK case into test_unique_key_sst Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes22 object files changed (-17.93 KiB total), 0 added.
719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units284 translation units recompiled, 2945 s compile time in total, 284 of them have a recent master baseline. |
A lost reply is waited out holding the guard, so the next writer of the partition sees the outcome; a failed write rolls back before the guard is released, and the guard is released before waiting for the csn to load. A write waits for its partition's unresolved parts (a given-up wait's) before resolving conflicts, instead of the server-wide refusal. A dedup retry of the rows left after a conflict begins a fresh transaction (04174 case 3). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… flag for the commit waits, shorter commit protocol comments Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…tStateChange, parts-lock guard Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
📊 Cloud Performance Report ✅ AI verdict: no significant changes detected. K_source=6 K_base=30 flagged=0/65 clickbench🟢 No significant changes tpch_adapted_1_official🟢 No significant changes Debug info
|
Part of #103486
Changelog category (leave one):
🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/123003]
Version info
26.11.1.77-master(included in26.11and later)