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

Watch request should watch on metadata entry corresponding to a commit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      For any commit index c1 there is a corresponding metadata entry which is added to the log. This metadata entry signifies that c1 has been replicated by majority nodes in the quorum. 

      Currently watch requests watch on the log entry itself. It should rather watch the metadata entry corresponding to the commit.

      Let us take a majority commit c1 with servers s1(leader) and s2 in the majority. s1 and s2 were able to commit c1 in the log. Now s1 fails and s2 may not have received metadata entry for c1. In such a scenario if s2 restarts it will not be able to apply c1 on the state machine.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: