You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "GeorgeJahad (via GitHub)" <gi...@apache.org> on 2023/06/26 21:14:31 UTC

[GitHub] [ozone] GeorgeJahad commented on pull request #4950: HDDS-8681. [SNAPSHOT] Intermittent failure in TestOMDbCheckpointServlet#testWriteDbDataToStream

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org