hanishakoneru commented on a change in pull request #877: HDDS-1618. Merge code 
for HA and Non-HA OM write type requests for bucket
URL: https://github.com/apache/hadoop/pull/877#discussion_r290493740
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/OMVolumeDeleteResponse.java
 ##########
 @@ -59,5 +59,18 @@ public void addToDBBatch(OMMetadataManager 
omMetadataManager,
         omMetadataManager.getVolumeKey(volume));
   }
 
+  @Override
+  public void addResponseToOMDB(OMMetadataManager omMetadataManager)
+      throws IOException {
+    String dbUserKey = omMetadataManager.getUserKey(owner);
+    VolumeList volumeList = updatedVolumeList;
 
 Review comment:
   We can directly use updatedVolumeList instead of copying it to a local 
variable.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to