vldpyatkov commented on code in PR #2475:
URL: https://github.com/apache/ignite-3/pull/2475#discussion_r1302639257
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -717,7 +717,14 @@ private CompletableFuture<List<BinaryRow>>
continueScanBatchRetrieval(
List<BinaryRow> batchRows
) {
if (batchRows.size() < batchCount && cursor.hasNext()) {
- return resolveAndCheckReadCompatibility(cursor.next(), txId)
+ ReadResult readResult = cursor.next();
+
+ HybridTimestamp newestCommitTimestamp =
readResult.newestCommitTimestamp();
Review Comment:
No, the logic is executed asynchronously. That means the cursor might move
ahead when we try to find a candidate.
--
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]