Skip to content

Commit a9b0efd

Browse files
authored
Update blob-inventory.md Handling duplicates
1 parent e215e6c commit a9b0efd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/storage/blobs/blob-inventory.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,17 @@ If a container or directory is deleted with soft-delete enabled, then the contai
434434

435435
Only blobs that are explicitly deleted appear in reports. Therefore, to obtain a complete listing of all soft-deleted blobs (directory and all child blobs), workloads should delete each blob in a directory before deleting the directory itself.
436436

437+
### Handling Duplicates in Blob Inventory
438+
439+
Blob Inventory operates on a distributed system, which means that in rare cases, duplicate blob entries may appear in your reports.
440+
441+
When post processing your inventory report, if your use case requires unique blob entries, to remove duplicates:
442+
443+
- Use the `Name` field to identify and return only the unique blobs.
444+
445+
- If your report includes blob versions, use both the `Name` and `Version ID` fields together to identify and return only the unique blobs and versions .
446+
447+
437448
## Next steps
438449

439450
- [Enable Azure Storage blob inventory reports](blob-inventory-how-to.md)

0 commit comments

Comments
 (0)