GeorgeJahad commented on PR #4950:
URL: https://github.com/apache/ozone/pull/4950#issuecomment-1608273938

   @hemantk-12 correctly pointed out that the double buffer flush in the 
bootstrap lock here should have been preventing this problem from happening: 
https://github.com/apache/ozone/blob/2fbed633e87ba455e7635e75356df3ce2dd906ac/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServlet.java#L395
   
   The reason it wasn't was because I was taking the lock after the checkpoint 
was created instead after, so I moved it to before and that fixed the problem.
   


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