Konstantin Orlov created IGNITE-21552:
-----------------------------------------

             Summary: Sql. Update clock on query initiator node 
                 Key: IGNITE-21552
                 URL: https://issues.apache.org/jira/browse/IGNITE-21552
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Konstantin Orlov


As for now, neither of sql messages update the hybrid clock. This may result in 
violation of transactional protocol, since commit timestamp is calculated on 
initiator node, and the clock may be behind those on nodes which processed 
transactional request.

Since precise time is crucial only to calculate commit timestamp, to reduce 
contention on the clock it's proposed to propagate timestamp only on 
{{QueryBatchMessage}}.

See {{org.apache.ignite.internal.replicator.message.TimestampAware}} for 
example of time propagation.



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

Reply via email to