Gargi-jais11 opened a new pull request, #8941: URL: https://github.com/apache/ozone/pull/8941
## What changes were proposed in this pull request? Add the [ShellReplicationOptions](https://github.com/apache/ozone/blob/e93d791e7fa6124d39f17136a2ea1d714af6ed2f/hadoop-ozone/cli-shell/src/main/java/org/apache/hadoop/ozone/shell/ShellReplicationOptions.java#L25) mixin to the ozone debug replicas verify command to support only verifying keys of a specific replication type. This would be useful if we are targeting a known bug (like missing padding) that only affects a specific type of key. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12692 ## How was this patch tested? Tested on docker. ``` bash-5.1$ ozone debug replicas verify --checksums /vol1/bucket1 --type RATIS -r ONE --all-results { "keys" : [ { "volumeName" : "vol1", "bucketName" : "bucket1", "name" : "ratiskey1/0", "blocks" : [ { "containerID" : 5, "blockID" : 115816896921600017, "replicas" : [ { "datanode" : { "uuid" : "b451fa38-df7c-43fc-9dab-38a620d60463", "hostname" : "ozone-datanode-3.ozone_default" }, "checks" : [ { "type" : "checksum", "completed" : true, "pass" : true, "failures" : [ ] } ], "replicaIndex" : 0 } ] } ], "pass" : true }, { "volumeName" : "vol1", "bucketName" : "bucket1", "name" : "ratiskey1/1", "blocks" : [ { "containerID" : 4, "blockID" : 115816896921600016, "replicas" : [ { "datanode" : { "uuid" : "c8c5bb7d-5deb-414c-8a94-ae9166ea67a7", "hostname" : "ozone-datanode-1.ozone_default" }, "checks" : [ { "type" : "checksum", "completed" : true, "pass" : true, "failures" : [ ] } ], "replicaIndex" : 0 } ] } ], "pass" : true } ], "pass" : true } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
