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

Add call in state machine to handle group removal

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • API
    • None

    Description

      Currently during RaftServerProxy#groupRemoveAsync there is no way for stateMachine to know that the RaftGroup will be removed. This Jira aims to add a call in the stateMachine to handle group removal.

      It also changes the logic of groupRemoval api to remove the RaftServerImpl from the RaftServerProxy#impls map after the shutdown is complete. This is required to synchronize the removal with the corresponding api of RaftServer#getGroupIds. RaftServer#getGroupIds uses the RaftServerProxy#impls map to get the groupIds.

      Attachments

        1. RATIS-661.001.patch
          1 kB
          Lokesh Jain
        2. RATIS-661.002.patch
          2 kB
          Lokesh Jain
        3. RATIS-661.003.patch
          2 kB
          Lokesh Jain
        4. RATIS-661.004.patch
          8 kB
          Lokesh Jain
        5. RATIS-661.005.patch
          1 kB
          Lokesh Jain

        Activity

          People

            ljain Lokesh Jain
            ljain Lokesh Jain
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: