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

Tsz-wo Sze updated RATIS-2712:
------------------------------
    Component/s: StateMachine

> Support ThreadLocal propagation for Ratis
> -----------------------------------------
>
>                 Key: RATIS-2712
>                 URL: https://issues.apache.org/jira/browse/RATIS-2712
>             Project: Ratis
>          Issue Type: New Feature
>          Components: StateMachine
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>
> See the issue in https://issues.apache.org/jira/browse/HDDS-16497 .
> Since the StateMachine#applyTransactions and StateMachine#query are executed 
> in another threads, ThreadLocal mechanisms (like in Hadoop RPC) will not work 
> (or requires workaround). 
> We can discuss whether we should support ThreadLocal propagation as a first 
> class feature of Ratis. This can be similar to 
> [https://github.com/alibaba/transmittable-thread-local]
>  



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

Reply via email to