You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Evgeny Stanilovsky (Jira)" <ji...@apache.org> on 2025/10/20 06:26:02 UTC

[jira] [Updated] (IGNITE-20985) Optimize WaiterImpl#notifyLocked threading model

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

Evgeny Stanilovsky updated IGNITE-20985:
----------------------------------------
    Fix Version/s: 3.2
                       (was: 3.1)

> Optimize WaiterImpl#notifyLocked threading model
> ------------------------------------------------
>
>                 Key: IGNITE-20985
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20985
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Alexey Scherbakov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> There are two potential issues with current approach:
>  # A next locker wait future is completed in the same thread. This means the whole lock queue will be processed by a single thread and can introduce starvation.
>  # This method can be called from a sensitive thread (like jraft STM updating thread), worsening first case.
> This can cause latency issues in contented scenarios. It looks more safe is to invoke the next locker asynchronously. Needs performance testing to figure out best behavior.



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