You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/05/12 11:09:34 UTC

[GitHub] [iotdb] MinaQin opened a new issue, #5885: Synchronize this method to match the synchronization on "setModFile".

MinaQin opened a new issue, #5885:
URL: https://github.com/apache/iotdb/issues/5885

   Code Path:server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
   <img width="825" alt="image" src="https://user-images.githubusercontent.com/55030443/168058828-07beb1db-7689-416d-a40d-7812cb1e3c6d.png">
   
   When one part of a getter/setter pair is synchronized the other part should be too. Failure to synchronize both sides of a pair may result in inconsistent behavior at runtime as callers access an inconsistent method state.
   
   This rule raises an issue when either the method or the contents of one method in a getter/setter pair are synchrnoized but the other is not.


-- 
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: reviews-unsubscribe@iotdb.apache.org.apache.org

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


[GitHub] [iotdb] ericpai closed issue #5885: Synchronize this method to match the synchronization on "setModFile".

Posted by GitBox <gi...@apache.org>.
ericpai closed issue #5885: Synchronize this method to match the synchronization on "setModFile".
URL: https://github.com/apache/iotdb/issues/5885


-- 
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: reviews-unsubscribe@iotdb.apache.org

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


[GitHub] [iotdb] dafei1288 commented on issue #5885: Synchronize this method to match the synchronization on "setModFile".

Posted by GitBox <gi...@apache.org>.
dafei1288 commented on issue #5885:
URL: https://github.com/apache/iotdb/issues/5885#issuecomment-1149694560

   [WeOpen Star]I would like to help


-- 
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: reviews-unsubscribe@iotdb.apache.org

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