Swaminathan Balachandran created HDDS-13768:
-----------------------------------------------
Summary: OM should acquire snapshot cache lock before taking
checkpoint
Key: HDDS-13768
URL: https://issues.apache.org/jira/browse/HDDS-13768
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Swaminathan Balachandran
Current OM only acquires an individual snapshot lock(read lock which is not
going to ) in the final stage while copying the snapshot data one after the
other. However in the final stage a full snapshot cache lock should be taken
right before taking an active db checkpoint while copying the data.
Place where lock needs to be taken
https://github.com/apache/ozone/blob/bc731ea6af706fd51eedbc31bd1eeea0bd75c4ee/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServletInodeBasedXfer.java#L244
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]