jasonosullivan34 commented on code in PR #9842:
URL: https://github.com/apache/ozone/pull/9842#discussion_r2873323268
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/protocol/StorageContainerLocationProtocolServerSideTranslatorPB.java:
##########
@@ -1396,4 +1409,23 @@ public ReconcileContainerResponseProto
reconcileContainer(ReconcileContainerRequ
return ReconcileContainerResponseProto.getDefaultInstance();
}
+ public SCMListContainerIDsResponseProto
listContainerIDs(SCMListContainerIDsRequestProto request) throws IOException {
+ ContainerID startContainerID = ContainerID.valueOf(0);
+
+ if (request.hasStartContainerID()) {
+ startContainerID =
ContainerID.valueOf(request.getStartContainerID().getId());
+ }
+
+ SCMListContainerIDsResponseProto.Builder builder =
+ SCMListContainerIDsResponseProto.newBuilder();
+
+ List<ContainerID> containerIDs = impl.getListOfContainerIDs(
+ startContainerID, request.getCount(), request.getState());
Review Comment:
I've added this in, thanks for pointing it out
--
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]