wyxxxcat opened a new pull request, #68594: URL: https://github.com/apache/doris/pull/68594
### What problem does this PR solve? Problem Summary: BEGIN_PARTIAL_UPDATE rowsets use prefix deletion without considering their recycle type or packed slice locations. This causes unnecessary listing for completed rowsets, while packed PREPARE rowsets bypass packed file reference-count cleanup. Pass RecycleRowsetPB::Type directly to delete_rowset_data and group recycle batches by type. Restrict partial-update prefix deletion to unpacked PREPARE rowsets. Recycle packed PREPARE rowsets through reference-count cleanup, including after transaction or job abort. Preserve existing behavior for temporary rowsets and other callers. ### Release note Avoid unnecessary prefix listing when recycling completed or packed partial-update rowsets, and correctly reclaim packed PREPARE rowsets. ### Check List (For Author) - Test: Unit Test — added PREPARE/COMPACT, packed/unpacked, and abort-before-delete coverage. Current run fails because the PREPARE condition is missing; restore it and rerun before submission. - Behavior changed: Yes, partial-update recycle rowsets use prefix deletion only for unpacked PREPARE rowsets. - Does this need documentation: N -- 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]
