devmadhuu commented on code in PR #6272:
URL: https://github.com/apache/ozone/pull/6272#discussion_r1521227968


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/scm/protocolPB/StorageContainerLocationProtocolClientSideTranslatorPB.java:
##########
@@ -1154,4 +1156,31 @@ public String getMetrics(String query) throws 
IOException {
     String metricsJsonStr = response.getMetricsJson();
     return metricsJsonStr;
   }
+
+  /**
+   * Get DB updates since a specific sequence number.
+   *
+   * @param dbUpdatesRequest request that encapsulates a sequence number.
+   * @return Wrapper containing the updates.
+   */
+  @Override
+  public DBUpdates 
getDBUpdates(StorageContainerLocationProtocolProtos.DBUpdatesRequestProto 
dbUpdatesRequest)
+      throws IOException {
+
+    StorageContainerLocationProtocolProtos.DBUpdatesResponseProto 
dbUpdatesResponse =
+        submitRequest(Type.DBUpdates,
+            builder -> builder.setDbUpdatesRequest(dbUpdatesRequest))

Review Comment:
   Thanks @ArafatKhan2198 for your review. Kindly check the code in this where 
we are using limitCount for SCM delta updates. 
`org.apache.hadoop.hdds.scm.server.SCMClientProtocolServer#getDBUpdates`



-- 
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]

Reply via email to