szetszwo commented on PR #4319: URL: https://github.com/apache/ozone/pull/4319#issuecomment-1447515924
@Xushaohong , It is better to add guard `init()` with the write lock since 1. it won't hurt the performance; and 2. it is easier to maintain the code (someone may call init() outside Ratis in the future.) -- 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]
