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

Detect staled snapshot request

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • snapshot
    • None

    Description

      If the recipient's network fluctuates and there is a delay in receiving snapshotRequest and cannot reply to the sender in time, the sender will retry. This may cause confusion in receiving new and old snapshotRequest at the recipient
       
      sender: 
      time1

      time2

       
      time1 < time2
       
      receiver: 


      Concurrently process requests for time1 and time2
       
       
      I suggest using the timestamp field to filter out old requests (we may use callId to detect old requests.)

      Attachments

        1. image-2024-10-30-21-29-17-511.png
          278 kB
          yuuka
        2. image-2024-10-30-21-29-45-678.png
          291 kB
          yuuka
        3. image-2024-10-30-21-30-11-453.png
          75 kB
          yuuka
        4. image-2024-10-30-21-30-44-164.png
          83 kB
          yuuka
        5. image-2024-10-30-21-31-25-035.png
          83 kB
          yuuka

        Issue Links

          Activity

            People

              tohsakarin__ yuuka
              tohsakarin__ yuuka
              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 - 1h 20m
                  1h 20m