Vladislav Pyatkov created IGNITE-23314:
------------------------------------------

             Summary: PartitionReplicaListener#ensureReplicaIsPrimary does not 
require to use hybrid timestamp
                 Key: IGNITE-23314
                 URL: https://issues.apache.org/jira/browse/IGNITE-23314
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


h3. Motivation
The main reason is to avoid contention on the hybrid clock. The algorithm does 
not require checking if the replica is primary in the hybrid timestamp. We did 
this to rollback fast 
a transaction in case the primary replica is changed just in time when the 
request is transported through the network.

h3. Definition of done
Use not-contentioned (HybridClockSyncImpl#currentTime) method to deterine an 
astronomical timestamp when the replica request is getting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to