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


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/NSSummaryTaskDbEventHandler.java:
##########
@@ -86,19 +112,50 @@ protected void writeNSSummariesToDB(Map<Long, NSSummary> 
nsSummaryMap)
     }
   }
 
-  protected void handlePutKeyEvent(OmKeyInfo keyInfo, Map<Long,
-      NSSummary> nsSummaryMap) throws IOException {
+  protected void writeOrphanKeysMetaDataToDB(
+      Map<Long, OrphanKeyMetaData> orphanKeyMetaDataMap, long status)
+      throws IOException {
+    try (RDBBatchOperation rdbBatchOperation = new RDBBatchOperation()) {
+      orphanKeyMetaDataMap.keySet().forEach((Long key) -> {
+        try {
+          OrphanKeyMetaData orphanKeyMetaData =

Review Comment:
   done.



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