luwei16 opened a new pull request, #67351:
URL: https://github.com/apache/doris/pull/67351

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: During merge-on-write cloud schema changes, the 
delete-bitmap temporary tablet copied stale rowset metadata from the real 
shadow tablet. Its version tracker could select a compacted stale edge that was 
absent from the active rowset map, causing schema change to fail with a rowset 
capture error under concurrent writes and compaction. Clear only the copied 
stale rowset metadata before constructing the temporary tablet so its tracker 
is built exclusively from active schema-change output and incremental rowsets, 
without altering the source tablet or shared delete-bitmap cache.
   
   ### Release note
   
   Fix cloud merge-on-write schema changes that could fail during concurrent 
writes and compaction.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - `./run-be-ut.sh --run --filter=CloudSchemaChangeJobTest.* -j 48`
       - `./build.sh --be -j 48`
   - Behavior changed: Yes. Cloud schema change temporary tablets no longer 
inherit stale rowset metadata.
   - Does this need documentation: No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to