You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/06/11 16:40:56 UTC

[GitHub] [hadoop-ozone] cxorm commented on a change in pull request #958: HDDS-2426. Support recover-trash to an existing bucket.

cxorm commented on a change in pull request #958:
URL: https://github.com/apache/hadoop-ozone/pull/958#discussion_r438923898



##########
File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/key/OMKeyDeleteResponse.java
##########
@@ -86,6 +86,9 @@ public void addToDBBatch(OMMetadataManager omMetadataManager,
             isRatisEnabled);
         omMetadataManager.getDeletedTable().putWithBatch(batchOperation,
             ozoneKey, repeatedOmKeyInfo);
+        // Update trashTable in DB.
+        omMetadataManager.getTrashTable().putWithBatch(batchOperation,

Review comment:
       Thank you @bshashikant for the review.
   I'm working on this these days, and I would draw a picture for this question.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org