Uh oh!
There was an error while loading. Please reload this page.
branch-3.0-pick: [Fix](cloud) Fix dup key problem when enable_new_tablet_do_compaction=true (#48399) - #49019
Conversation
…n=true` (apache#48399) apache#39558 add a config to support shadow tablet to do cumulative compaction during schema change in cloud mode to avoid -235 error on new tablet in the case of a large number of loads. However, this introduces correctness problem on merge-on-write table because some rowsets' delete bitmaps are wrong if there are cumu compactions on new tablet when SC calculate delete bitmaps for incremental rowsets after converting historical data. This PR introduce a new type of compaction `STOP_TOKEN` to fail all existing compaction jobs and disallow doing any compaction on tablet and change the SC process as following: 1. converting historical data 2. register stop token on new tablet to fail all existing compaction jobs and disallow doing any compaction on new tablet 3. calculate delete bitmap for incremental rowsets without lock 4. calculate delete bitmap for incremental rowsets with lock 5. commit SC job and remove stop token ---- ref: apache#29386
Thearas
commented
Mar 13, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
bobhan1
commented
Mar 13, 2025
run buildall |
doris-robot
commented
Mar 13, 2025
TeamCity cloud ut coverage result: |
doris-robot
commented
Mar 13, 2025
TPC-H: Total hot run time: 40043 ms |
doris-robot
commented
Mar 13, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
doris-robot
commented
Mar 13, 2025
TPC-DS: Total hot run time: 197575 ms |
doris-robot
commented
Mar 13, 2025
ClickBench: Total hot run time: 33.08 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
pick #48399