Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-442

In RaftClient, remove ReplicationLevel parameter from send(..) and sendAsync(..) methods

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • client, server
    • None

    Description

      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.

      Attachments

        1. r442_20181130_committed.patch
          41 kB
          Tsz-wo Sze
        2. r442_20181130.patch
          41 kB
          Tsz-wo Sze
        3. r442_20181129b.patch
          39 kB
          Tsz-wo Sze
        4. r442_20181129.patch
          39 kB
          Tsz-wo Sze

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment