Devesh Kumar Singh created HDDS-17827:
-----------------------------------------
Summary: Add a bucket and volume storage policy compliance summary
to ozone admin storagepolicy check
Key: HDDS-17827
URL: https://issues.apache.org/jira/browse/HDDS-17827
Project: Apache Ozone
Issue Type: Task
Reporter: Devesh Kumar Singh
ozone admin storagepolicy check (HDDS-17710) checks one key at a time.
HDDS-17756 adds --mis-match to list the keys of one bucket that don't match
their policy. There is still no way to see how much data in a bucket or volume
is off its policy.
Extend the check command so that, for a bucket or volume path, it prints a
summary:
key count and logical bytes per storage policy
how many of those keys match, don't match, or have no policy (keys written
before the feature)
for non-matching keys, replica counts by actual volume storage type
Reuse the per-key match rules from HDDS-17710: a replica matches only if both
its container storage type and its volume storage type equal the policy's
creation tier. The command runs on demand and keeps no state. No Recon change
and no Prometheus metric.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]