Hanisha Koneru created HDDS-2980:
------------------------------------

             Summary: Delete replayed entry from OpenKeyTable during commit
                 Key: HDDS-2980
                 URL: https://issues.apache.org/jira/browse/HDDS-2980
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


During KeyCreate (and S3InitiateMultipartUpload), we do not check the 
OpenKeyTable if the key already exists. If it does exist and the transaction is 
replayed, we just override the key in OpenKeyTable. This is done to avoid extra 
DB reads.

During KeyCommit (or S3MultipartUploadCommit), if the key was already 
committed, then we do not replay the transaction. This would result in the 
OpenKeyTable entry to remain in the DB till it is garbage collected. 

To avoid storing stale entries in OpenKeyTable, during commit replays, we 
should check the openKeyTable and delete the entry if it exists.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to