swamirishi opened a new pull request, #9212:
URL: https://github.com/apache/ozone/pull/9212

   ## What changes were proposed in this pull request?
   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.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-13847
   
   ## How was this patch tested?
   Additional unit tests added.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to