jasonosullivan34 commented on code in PR #9842:
URL: https://github.com/apache/ozone/pull/9842#discussion_r2873321712
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java:
##########
@@ -1506,6 +1506,28 @@ public long getContainerCount(HddsProtos.LifeCycleState
state)
}
}
+ @Override
+ public List<ContainerID> getListOfContainerIDs(
+ ContainerID startContainerID, int count, HddsProtos.LifeCycleState state)
+ throws IOException {
+
+ final Map<String, String> auditMap = Maps.newHashMap();
+ auditMap.put("startContainerID", String.valueOf(startContainerID));
+ auditMap.put("count", String.valueOf(count));
+ auditMap.put("state", String.valueOf(state));
+ try {
+ List<ContainerID> results = scm.getContainerManager().getContainerIDs(
+ startContainerID, count, state);
+ AUDIT.logReadSuccess(buildAuditMessageForSuccess(
Review Comment:
I've added LIST_CONTAINER_IDS to the SCMAction enum
--
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]