liaoxin01 commented on PR #70810: URL: https://github.com/apache/doris/pull/70810#issuecomment-7181880068
Two paths currently undercount successful deletions: 1. `AzureBatchDeleter::execute()` returns on the first failed subresponse, although the whole batch has already been submitted. For results `[success, failure, success]`, the counter increases by 1 instead of 2. Retrying cannot recover the missing count because the last object is already gone. Please inspect all subresponses, count every success, and preserve the first error to return afterward. 2. `S3ObjStorageClient::delete_object()` does not update the counter on success, unlike the Azure implementation. This misses packed-file deletions and the `GcsAccessor::delete_files()` path, which delegates to individual deletes. Please instrument the successful single-object path too. Please add counter-delta tests for mixed Azure batch results and successful S3 single-object deletion. These are accounting gaps, not failures to delete the objects. -- 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]
