You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/11/29 22:22:00 UTC
[jira] [Created] (RATIS-442) In RaftClient, remove ReplicationLevel
parameter from send(..) and sendAsync(..) methods
Tsz Wo Nicholas Sze created RATIS-442:
-----------------------------------------
Summary: In RaftClient, remove ReplicationLevel parameter from send(..) and sendAsync(..) methods
Key: RATIS-442
URL: https://issues.apache.org/jira/browse/RATIS-442
Project: Ratis
Issue Type: Improvement
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
The ReplicationLevel parameter in send(..) and sendAsync(..) methods is to wait until the specified ReplicationLevel satisfied. Currently, it only supports MAJORITY and ALL.
The Watch API provides the same functionality and the implementation is more light-weighted since Watch requests are readonly. Therefore, we propose to remove the ReplicationLevel parameter from send(..) and sendAsync(..) methods in order to simplify the code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)