You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "vldpyatkov (via GitHub)" <gi...@apache.org> on 2023/06/20 08:00:06 UTC

[GitHub] [ignite-3] vldpyatkov commented on a diff in pull request #2209: IGNITE-19731 Fixed ItTableScanTest different test failed

vldpyatkov commented on code in PR #2209:
URL: https://github.com/apache/ignite-3/pull/2209#discussion_r1234888953


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/SortedIndexLocker.java:
##########
@@ -100,7 +100,12 @@ public CompletableFuture<IndexRow> locksForScan(UUID txId, Cursor<IndexRow> curs
                 return null;
             }
 
-            return peekCursor.next();
+            IndexRow nextRow = peekCursor.next();
+
+            assert rowIdMatches(indexRow, nextRow) :

Review Comment:
   I have no an answer. I think it will be possible, but how we will work with this...
   This means the same code in a transaction can lead to different result.



-- 
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-unsubscribe@ignite.apache.org

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