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_r373293803
########## 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: And also as discussed offline for debug statements we can use isDebugEnabled, so that parameter conversion will not happen. If you want, we can open a new Jira to address this and above. ---------------------------------------------------------------- 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