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 23:15:00 UTC
[jira] [Commented] (RATIS-442) In RaftClient, remove
ReplicationLevel parameter from send(..) and sendAsync(..) methods
[ https://issues.apache.org/jira/browse/RATIS-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704006#comment-16704006 ]
Tsz Wo Nicholas Sze commented on RATIS-442:
-------------------------------------------
r442_20181129b.patch: adds back waitForLeader in RetryCacheTests.
> 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
> Components: client, server
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Major
> Attachments: r442_20181129.patch, r442_20181129b.patch
>
>
> 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, which supports all ReplicationLevel(s), 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)