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


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/tree/BplusTree.java:
##########
@@ -2155,12 +2130,10 @@ private Result invokeDown(
         long page = acquirePage(pageId);
 
         try {
-            Result res = RETRY;
+            Result res;
 
             for (; ; ) {
-                if (res == RETRY) {
-                    x.checkLockRetry();
-                }
+                x.checkLockRetry();

Review Comment:
   Why did you do it? `res` is mutable



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