hanishakoneru opened a new pull request #381: Hdds 2781. Add ObjectID and 
updateID to BucketInfo to avoid replaying transactions
URL: https://github.com/apache/hadoop-ozone/pull/381
 
 
   ## What changes were proposed in this pull request?
   
   This Jira has 2 objectives:
   1. Add objectID and updateID to BucketInfo proto persisted to DB.
   2. To ensure that bucket 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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2781
   
   ## How was this patch tested?
   
   Will add unit tests in the another 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]

Reply via email to