Alexey Scherbakov created IGNITE-24561:
------------------------------------------

             Summary: Implement lightweight client tx coordination
                 Key: IGNITE-24561
                 URL: https://issues.apache.org/jira/browse/IGNITE-24561
             Project: Ignite
          Issue Type: Improvement
            Reporter: Alexey Scherbakov
            Assignee: Alexey Scherbakov


Currently client transactions are always routed via tx coordinator node, which 
introduces huge latency for cross partition transactions.

This can be optimized by moving enlisting part of txn processing to client. The 
necessary changes to be done are:
 # Enable direct mapping if partition map is loaded and valid on a client, 
otherwise go old way via coordinator proxy.
 # Collect enlistement token from each partition on first request to a 
partition.
 # Track HLC from partitions on each request
 # Assign commit ts = max(trackerdHLCS) + 1
 # Validate lease on commit in the same way as for one phase transactions.



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

Reply via email to