mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
admin-info: add DeleteMarkers count (#17659)
This commit is contained in:
committed by
GitHub
parent
49638fa533
commit
0120ff93bc
@@ -547,6 +547,9 @@ func (s *xlStorage) NSScanner(ctx context.Context, cache dataUsageCache, updates
|
||||
done = globalScannerMetrics.time(scannerMetricApplyVersion)
|
||||
sz := item.applyActions(ctx, objAPI, oi, &sizeS)
|
||||
done()
|
||||
if oi.DeleteMarker {
|
||||
sizeS.deleteMarkers++
|
||||
}
|
||||
if oi.VersionID != "" && sz == oi.Size {
|
||||
sizeS.versions++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user