ascherbakoff commented on code in PR #4227:
URL: https://github.com/apache/ignite-3/pull/4227#discussion_r1723150201
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -513,13 +519,38 @@ private CompletableFuture<?>
processRequest(ReplicaRequest request, @Nullable Bo
return processGetEstimatedSizeRequest();
}
- HybridTimestamp opTsIfDirectRo = (request instanceof
ReadOnlyDirectReplicaRequest) ? clockService.now() : null;
+ @Nullable HybridTimestamp opTs = getTxOpTimestamp(request);
+ @Nullable HybridTimestamp opTsIfDirectRo = (request instanceof
ReadOnlyDirectReplicaRequest) ? opTs : null;
+ @Nullable HybridTimestamp txTs = getTxStartTimestamp(request);
+ if (txTs == null) {
Review Comment:
Don't think this code will change in the future.
--
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]