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

   [improvement](cloud) Skip delete bitmap lookup for non-MoW rowsets
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: N/A
   
   Problem Summary:
   
   Rowset recycling always called
   decrement_delete_bitmap_packed_file_ref_counts, including for non-MoW
   tables. This caused an unnecessary delete bitmap key lookup.
   
   Check should_delete_versioned_delete_bitmap_kvs before decrementing the
   packed file reference count, and only process delete bitmap data for MoW
   tables. Add a sync point and a unit test to verify that the decrement
   function is not called for non-MoW tables.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - ./run-cloud-ut.sh --run 
'--filter=recycler_test:RecyclerTest.delete_rowset_data*' -j 8
       - All 8 selected tests passed; the wrapper exited with an 
environment-only LeakSanitizer ptrace error
   - Behavior changed: No
   - 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