Ivan Andika created RATIS-2712:
----------------------------------
Summary: Support ThreadLocal propagation for Ratis
Key: RATIS-2712
URL: https://issues.apache.org/jira/browse/RATIS-2712
Project: Ratis
Issue Type: New Feature
Reporter: Ivan Andika
Assignee: Ivan Andika
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).
This task is to check 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)