ibessonov commented on code in PR #1976:
URL: https://github.com/apache/ignite-3/pull/1976#discussion_r1180346606


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/util/LockHolder.java:
##########
@@ -36,7 +35,7 @@
 class LockHolder<T extends Lock> {
     private final T lock;
 
-    private final AtomicInteger lockHolder = new AtomicInteger();
+    private int lockHoldersCount;

Review Comment:
   But why would I make something "volatile" or atomic if it doesn't need to 
be? This is misleading



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

Reply via email to