tkalkirill commented on code in PR #995:
URL: https://github.com/apache/ignite-3/pull/995#discussion_r944365835


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointReadWriteLock.java:
##########
@@ -17,15 +17,20 @@
 
 package org.apache.ignite.internal.pagememory.persistence.checkpoint;
 
-import static 
org.apache.ignite.internal.pagememory.persistence.checkpoint.Checkpointer.CHECKPOINT_RUNNER_THREAD_PREFIX;
-
 import java.util.concurrent.TimeUnit;
 import org.apache.ignite.lang.IgniteInternalException;
 
 /**
  * Wrapper of the classic read write lock with checkpoint features.
  */
 public class CheckpointReadWriteLock {
+    /**
+     * Any thread with a such prefix is managed by the checkpoint.
+     *
+     * <p>So some conditions can rely on it(ex. we don't need a checkpoint 
lock there because checkpoint is already held write lock).

Review Comment:
   Rather the first.



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