[
https://issues.apache.org/jira/browse/HDFS-12329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16171881#comment-16171881
]
Mukul Kumar Singh commented on HDFS-12329:
------------------------------------------
[~cheersyang], patch v4 fixes the earlier unit test failure. Please have a look.
the patch also fixes the log levels
> Ozone: Ratis: Readonly calls in XceiverClientRatis should use sendReadOnly
> --------------------------------------------------------------------------
>
> Key: HDFS-12329
> URL: https://issues.apache.org/jira/browse/HDFS-12329
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Labels: OzonePostMerge
> Fix For: HDFS-7240
>
> Attachments: HDFS-12329-HDFS-7240.001.patch,
> HDFS-12329-HDFS-7240.002.patch, HDFS-12329-HDFS-7240.003.patch,
> HDFS-12329-HDFS-7240.004.patch
>
>
> Currently both write and readonly calls in Ratis use RaftClient.send which
> enqueues the the request to the raft log and is processed later when the log
> entry is consumed.
> Readonly call can be optimized by using RaftClient.sendReadOnly which will
> directly query the RaftServer for a particular request.
> This jira will be used to discuss this issue.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]