Repository navigation
Azure: log batch-delete events when SubmitBatch itself fails - #112873
Conversation
|
Workflow [PR], commit [738da31] Summary: ✅
AI ReviewSummaryThis PR makes Azure batch deletes record one Missing context / blind spots
Final Verdict
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 21/21 (100.00%) · Uncovered code |
fd6341c to
6f80c37
Compare
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered: 51/62 (82.26%) · Uncovered code |
77e50f7 to
f9d6177
Compare
d07f19d to
a0f1ed4
Compare
f9d6177 to
88ea678
Compare
a0f1ed4 to
ddd5f3f
Compare
ddd5f3f to
d092ad1
Compare
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units8 translation units recompiled, 20 s compile time in total, 8 of them have a recent master baseline. |
Problem. When the batch
SubmitBatchdelete request itself fails, the per-object response loop is skipped, so zerosystem.blob_storage_logDelete events are recorded for the whole batch. Failure scenario:Fix. Record a Delete event per object on batch-level failure before rethrowing.
Changes.
Disks/…/AzureBlobStorage/AzureObjectStorage::removeObjectsBatchIfExists: emit per-objectblob_storage_logDelete events onSubmitBatchfailure.tests/integration/test_azure_403_handling: batch-delete-logging test +configs/blob_log.xml.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed Azure batch object deletion recording no
system.blob_storage_logDelete events when the batch request itself failed, leaving the whole batch unlogged. A Delete event is now recorded for each object on a batch-level failure.Version info
26.8.1.1639(included in26.8and later)