[
https://issues.apache.org/jira/browse/HDDS-5763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-5763:
-----------------------------
Description: RATIS-1406 added a new API for providing an Executor to
StateMachine.DataStream. In this JIRA, we use this new API to provide an
Executor for each LocalStream in ContainerStateMachine. (was: The Ratis conf
raft.server.data-stream.async.write.thread.pool.size default is only 16. In
Ozone, it should be configured to a similar value as
dfs.container.ratis.num.write.chunk.threads.per.volume.
Note that raft.server.data-stream.async.write.thread.pool.size is for all the
volumes but dfs.container.ratis.num.write.chunk.threads.per.volume is per
volume. We probably should support per volume setting and it will need Ratis
change.)
Summary: Provide an Executor for each LocalStream in
ContainerStateMachine (was: Set
raft.server.data-stream.async.write.thread.pool.size conf in datanode)
Thanks [~micahzhao] for pointing out that
raft.server.data-stream.async.write.thread.pool.size has already been set in
XceiverServerRatis.
Updating this JIRA for using the new API added by RATIS-1406.
> Provide an Executor for each LocalStream in ContainerStateMachine
> -----------------------------------------------------------------
>
> Key: HDDS-5763
> URL: https://issues.apache.org/jira/browse/HDDS-5763
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Datanode
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> RATIS-1406 added a new API for providing an Executor to
> StateMachine.DataStream. In this JIRA, we use this new API to provide an
> Executor for each LocalStream in ContainerStateMachine.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]