hanishakoneru opened a new pull request #501: HDDS-2944. Handle replay of KeyCommitRequest and DirectoryCreateRequest URL: https://github.com/apache/hadoop-ozone/pull/501 ## What changes were proposed in this pull request? To ensure that key commit operations are idempotent, compare the transactionID with the objectID and updateID to make sure that the transaction is not a replay. If the transactionID <= updateID, then it implies that the transaction is a replay and hence it should be skipped. OMKeyCommitRequest and OMDirectoryCreateRequest are made idempotent in this Jira. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-2944 ## How was this patch tested? Unit tests are added.
---------------------------------------------------------------- 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