[ 
https://issues.apache.org/jira/browse/IGNITE-23717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Scherbakov updated IGNITE-23717:
---------------------------------------
    Description: 
Currently HLC clock is used in many places to get current time.

For example: org.apache.ignite.internal.hlc.ClockWaiter#doWaitFor

But it's intended for other purposes, such as transaction ordering.

We should investigate code base and replace inappropriate now() calls with 
calls to physical clocks.

  was:
Currently HLC clock is used in many places to get current time.

For example: org.apache.ignite.internal.hlc.ClockWaiter#doWaitFor

But it's intended for other purposes, such transaction ordering.

We should investigate code base and replace inappropriate now() calls with 
calls to physical clocks.


> Optimize HLC clock usage
> ------------------------
>
>                 Key: IGNITE-23717
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23717
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexey Scherbakov
>            Priority: Major
>              Labels: ignite-3
>
> Currently HLC clock is used in many places to get current time.
> For example: org.apache.ignite.internal.hlc.ClockWaiter#doWaitFor
> But it's intended for other purposes, such as transaction ordering.
> We should investigate code base and replace inappropriate now() calls with 
> calls to physical clocks.



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

Reply via email to