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

   ## Proposed changes
   
   Issue Number: close #xxx
   
   To accelerate the speed of sync latest delete bitmap,  #35856 try to get the 
delete bitmap from `CloudTxnDeleteBitmapCache` first.
   In the following situation, compaction may get empty delete bitmap and cause 
duplicate key:
   1. compaction started
   2. several load succeed during the compaction
   3. compaction finished data merging and start to calculate delete bitmap 
generated by latest load tasks
   4. compaction try to sync rowset and delete bitmap, it get delete bitmap 
first from `CloudTxnDeleteBitmapCache`
   5. `CloudTxnDeleteBitmapCache::get_delete_bitmap()` can get txn infos from 
it's inner map, but cache missed when it try to get delete bitmap from LRU 
cache, it don't report error but returned an empty delete bitmap
   6. compaction used wrong delete bitmap, duplicate key occured.
   


-- 
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