vldpyatkov commented on code in PR #2475:
URL: https://github.com/apache/ignite-3/pull/2475#discussion_r1302815778
##########
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:
It should be executed synchronously to get a committed row from the cursor.
We cannot get the row after the resolution because the resolution is
asynchronously completed.
--
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]