[ https://issues.apache.org/jira/browse/IGNITE-19900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Lapin updated IGNITE-19900: ------------------------------------- Description: h3. Motivation RW tx protocol requires commit timestamp to be greater than all other timestamps assosiated with previous tx actions of the same transacions. For more details prease check [IEP-91:Hybridlogicaltime|[https://cwiki.apache.org/confluence/display/IGNITE/IEP-91%3A+Transaction+protocol#IEP91:Transactionprotocol-Hybridlogicaltime].] Thus any tx request/response up to the commit timestamp generation transfers hybrid timestamp from one tx actor to another, where another actor adjust its HLC as {code:java} max(requestTime.longValue() + 1, max(now, oldLatestTime + 1));{code} See org.apache.ignite.internal.replicator.message.TimestampAware and {code:java} org.apache.ignite.internal.hlc.HybridClockImpl#update{code} for more details > Server nodes should both propagate and handle HLC timestamps to/from clients > within tx RW protocol > -------------------------------------------------------------------------------------------------- > > Key: IGNITE-19900 > URL: https://issues.apache.org/jira/browse/IGNITE-19900 > Project: Ignite > Issue Type: Improvement > Reporter: Alexander Lapin > Priority: Major > > h3. Motivation > RW tx protocol requires commit timestamp to be greater than all other > timestamps assosiated with previous tx actions of the same transacions. For > more details prease check > [IEP-91:Hybridlogicaltime|[https://cwiki.apache.org/confluence/display/IGNITE/IEP-91%3A+Transaction+protocol#IEP91:Transactionprotocol-Hybridlogicaltime].] > Thus any tx request/response up to the commit timestamp generation transfers > hybrid timestamp from one tx actor to another, where another actor adjust its > HLC as > {code:java} > max(requestTime.longValue() + 1, max(now, oldLatestTime + 1));{code} > See org.apache.ignite.internal.replicator.message.TimestampAware and > {code:java} > org.apache.ignite.internal.hlc.HybridClockImpl#update{code} > for more details > -- This message was sent by Atlassian Jira (v8.20.10#820010)