devabhishekpal commented on code in PR #7060:
URL: https://github.com/apache/ozone/pull/7060#discussion_r1724548227
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -2942,39 +2941,6 @@ public ListKeysLightResult listKeysLight(String
volumeName,
return new ListKeysLightResult(basicKeysList,
listKeysResult.isTruncated());
}
- @Override
- public List<RepeatedOmKeyInfo> listTrash(String volumeName,
- String bucketName, String startKeyName, String keyPrefix, int maxKeys)
- throws IOException {
- boolean auditSuccess = true;
- Map<String, String> auditMap = buildAuditMap(volumeName);
- auditMap.put(OzoneConsts.BUCKET, bucketName);
- auditMap.put(OzoneConsts.START_KEY, startKeyName);
- auditMap.put(OzoneConsts.KEY_PREFIX, keyPrefix);
- auditMap.put(OzoneConsts.MAX_KEYS, String.valueOf(maxKeys));
- try {
- if (isAclEnabled) {
- omMetadataReader.checkAcls(ResourceType.BUCKET,
- StoreType.OZONE, ACLType.LIST,
- volumeName, bucketName, keyPrefix);
- }
- metrics.incNumTrashKeyLists();
Review Comment:
Addressed in the latest commit
[aa5e8b6](https://github.com/apache/ozone/pull/7060/commits/aa5e8b6046d0208524ae49c16de227a2492e8c5f)
--
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]