Xushaohong commented on PR #4319: URL: https://github.com/apache/ozone/pull/4319#issuecomment-1447457449
> I think we should also guard `init()` with the write lock. It can be called from `SCMStateMachine.reinitialize`. Hi @adoroszlai, the `init()` should be fine with no lock protection, because it is only called when the construction or when installing the snapshot(no writes coming) . @szetszwo Could you help confirm it? -- 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]
