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

Reset the digester of the follower at the beginning of each file transfer during a InstallSnapshot to avoid snapshot transfer failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.5.0
    • server
    • None

    Description

      Digester of the Follower only calls `digester.get().digest()` to get an MD5 and reset the engine when a file is completed. However, if the client does not complete the file transmission when the streaming time expires, digester is not reset during subsequent snapshot transfers. Therefore, a different md5 value is calculated, causing the installSnapshot to fail forever. 

      Attachments

        Issue Links

          Activity

            People

              tanxinyu Xinyu Tan
              tanxinyu Xinyu Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m