hanishakoneru opened a new pull request #448: HDDS-2870. Handle replay of KeyCreate requests. URL: https://github.com/apache/hadoop-ozone/pull/448 ## What changes were proposed in this pull request? To ensure that key creation operation is 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. OMKeyCreateRequest and OMFileCreateRequest are made idempotent in this Jira. https://issues.apache.org/jira/browse/HDDS-2870 ## How was this patch tested? (Please explain how this patch was tested. Ex: unit tests, manual tests) Will add Unit tests in next commit.
---------------------------------------------------------------- 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]
