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


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointReadWriteLock.java:
##########
@@ -110,7 +110,7 @@ public boolean tryReadLock() {
     public boolean checkpointLockIsHeldByThread() {
         return isWriteLockHeldByCurrentThread()
                 || checkpointReadLockHoldCount.get() > 0
-                || 
Thread.currentThread().getName().startsWith(CHECKPOINT_RUNNER_THREAD_PREFIX);
+                || 
Thread.currentThread().getName().contains(CHECKPOINT_RUNNER_THREAD_PREFIX);

Review Comment:
   At first glance, this condition may affect performance.
   It would be necessary to fix it somehow, but carefully.
   It is possible to add TODO for now and then immediately make this ticket, 
what do you say?



-- 
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: notifications-unsubscr...@ignite.apache.org

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

Reply via email to