ascherbakoff commented on code in PR #4700:
URL: https://github.com/apache/ignite-3/pull/4700#discussion_r1848455816
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -642,11 +643,11 @@ private CompletableFuture<Void> triggerTxRecovery(UUID
txId, UUID senderId) {
HybridTimestamp opStartTs;
if (request instanceof ReadWriteReplicaRequest) {
- opStartTs = clockService.now();
+ opStartTs = clockService.current();
Review Comment:
This is true.
HLC.now() should only be used for assigning order to some distributed event
In case of 2, we generate here also a commit ts for a full transaction
currently using HLC.
Safetime generation may use separate generator for non full txns.
--
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]