Repository navigation
Support Batch Remove for Azure - #100522
Conversation
|
Workflow [PR], commit [9364acf] Summary: ❌
AI ReviewSummaryThis PR adds batched Azure blob deletion in Missing context
Findings❌ Blockers
Tests
ClickHouse Rules
Performance & Safety
Final Verdict
|
| for (const auto & object : object_batch) | ||
| responses.push_back(requests.DeleteBlob(client_ptr->GetBlobPath(object.remote_path))); | ||
|
|
||
| client_ptr->SubmitBatch(requests); |
There was a problem hiding this comment.
removeObjectImpl logs every deletion attempt (including failures), but this batched path throws directly on SubmitBatch errors before emitting any BlobStorageLogElement::EventType::Delete entries for the objects in this chunk.
That breaks parity with existing Azure delete observability and violates the deletion-logging requirement for failed delete attempts.
Please catch around SubmitBatch, log a failed delete event for each object_batch entry (with error code/message when available), and then rethrow.
|
azurite still not working |
|
With this patch: Without: |
LLVM Coverage Report
PR changed lines: PR changed-lines coverage: 86.90% (73/84, 0 noise lines excluded) |
Backport #100522 to 26.2: Support Batch Remove for Azure
Backport #100522 to 26.3: Support Batch Remove for Azure
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
This patch changes the behaviour of
removeObjectsIfExistfrom a sequential removal loop to batch removal.Version info
26.4.1.25726.3.2.5,26.2.6.27