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

Once a snapshot is created an exception will be thrown when reply entries after restarting cluster

    XMLWordPrintableJSON

Details

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

    Description

      I don't know if this is a bug, I looked at the changeset of ...ratis/server/impl/ConfigurationManager.java, in line 52-56, I found an assertion statement is added by Tsz-Wo to check whether the last entry index is less than current entry index if so, will throw an exception, but when I enable snapshot function, this kind of exception will always be thrown.

      Attachments

        1. r460_20190128.patch
          4 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            alanwu1009 Alan Wu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: