Anurag Parvatikar created HDDS-17756:
----------------------------------------

             Summary:  Add --mis-match option to ozone admin storagepolicy 
check to list keys of a bucket that do not match their storage policy
                 Key: HDDS-17756
                 URL: https://issues.apache.org/jira/browse/HDDS-17756
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Anurag Parvatikar
            Assignee: Anurag Parvatikar


HDDS-17710 added ozone admin storagepolicy check <volume/bucket/key> 
[--show-replicas]. It checks one key. A path that ends at the bucket is 
rejected with "Key name is missing." To find keys that sit on the wrong storage 
type, an operator must run the command once for each key.

To quickly identify a list of keys that do not match their storage policy, add 
a --mis-match flag to the command which accepts a path that ends at a bucket. 
It lists the keys of that bucket and prints only keys that do not match their 
storage policy.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to