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

   The delete bitmap inverted check reported a delete bitmap as leaked when its 
owning rowset was not found among the committed rowsets / pending delete 
bitmaps of the tablet. However, a compaction job writes delete bitmaps keyed by 
its tmp output rowset id before the job commits and makes the rowset visible. 
During that window the delete bitmap exists while the rowset is not yet in the 
committed list, so it was wrongly flagged as leaked.
   
   Add InstanceChecker::collect_unexpired_job_tmp_rowsets() to gather, per 
tablet, the rowset ids of job tmp rowsets that are still alive from the 
recycler's point of view, and skip them during the inverted check. The same 
calculate_tmp_rowset_expired_time() threshold as the recycler is reused (now 
exposed via recycler.h) so a delete bitmap is never reported as leaked while 
its tmp rowset is still alive from the recycler's view.
   


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