Swaminathan Balachandran created HDDS-13847:
-----------------------------------------------

             Summary: Introduce Snapshot Content Lock to lock table contents
                 Key: HDDS-13847
                 URL: https://issues.apache.org/jira/browse/HDDS-13847
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Swaminathan Balachandran
            Assignee: Swaminathan Balachandran


Introduce Snapshot Content Lock to prevent writes on a snapshot during snapshot 
defrag. Even though GC lock would be acquired during defrag on leader the 
contents in the snapshot is only guaranteed to be same for leader however 
defrag on follower can happen at any time, thus a lock should be acquired while 
the defrag to prevent the contents from changing in the snapshot which would 
mainly happen in 3 transactions during OM double buffer flush on followers i.e. 
OMSnapshotMoveTableKeysResponse, OMKeyPurgeResponse, 
OMDirectoriesPurgeResponseWithFSO.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to