[
https://issues.apache.org/jira/browse/IOTDB-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600066#comment-17600066
]
Song Ziyang commented on IOTDB-4317:
------------------------------------
See PR [https://github.com/apache/iotdb/pull/7216.] It is now merged, so I'm
closing this issue.
> Reject RatisConsensus write when Node is ReadOnly
> -------------------------------------------------
>
> Key: IOTDB-4317
> URL: https://issues.apache.org/jira/browse/IOTDB-4317
> Project: Apache IoTDB
> Issue Type: Improvement
> Reporter: Song Ziyang
> Assignee: Song Ziyang
> Priority: Major
>
> When calling a consensus write using Ratis, ratis should judge whether the
> leader is in ReadOnly state. If current peer is leader and also in read only
> state, reject this write request and fail immediately.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)