hanishakoneru opened a new pull request #450: HDDS-2893. Handle replay of 
KeyPurge Request.
URL: https://github.com/apache/hadoop-ozone/pull/450
 
 
   ## What changes were proposed in this pull request?
   
   If KeyPurgeRequest is replayed, we do not want to purge the keys which were 
created after the original purge request was received. This could happen if a 
key was deleted, purged and then created and deleted again. The the purge 
request was replayed, it would purge the key deleted after the original purge 
request was completed.
   Hence, to maintain idempotence, we should only purge those keys from 
DeletedKeys table that have updateID < transactionLogIndex of the request.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2893
   
   ## How was this patch tested?
   
   Unit test will be added 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:
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

Reply via email to