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

LogAppender should times out if readStateMachineData takes a long time.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • server
    • None

    Description

      When readStateMachineData takes a long time, LogAppender will wait indefinitely until it returns. In such case, the leader may not able to send heartbeat to the followers in time so that the followers may start a leader election.

      Thanks msingh and ljain to discover this bug.

      Attachments

        1. r447_20181203.patch
          12 kB
          Tsz-wo Sze
        2. r447_20181203b.patch
          23 kB
          Tsz-wo Sze
        3. r447_20181203c.patch
          30 kB
          Tsz-wo Sze
        4. r447_20181203d.patch
          36 kB
          Tsz-wo Sze
        5. r447_20181204.patch
          49 kB
          Tsz-wo Sze
        6. r447_20181204b.patch
          49 kB
          Tsz-wo Sze
        7. r447_20181205.patch
          53 kB
          Tsz-wo Sze
        8. r447_20181205b.patch
          53 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: