bharatviswa504 commented on a change in pull request #450: HDDS-2893. Handle replay of KeyPurge Request. URL: https://github.com/apache/hadoop-ozone/pull/450#discussion_r373293601
########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyPurgeRequest.java ########## @@ -115,18 +126,42 @@ public OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager, bucketName); } } + + if (result == Result.REPLAY) { + LOG.debug("Replayed Transaction {}. Request: {}", trxnLogIndex, + purgeKeysRequest); + if (!keysNotPurged.isEmpty()) { Review comment: NIT: We can use the Java8 String method String.join(", list) ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org