Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1795

Adjust last_ordered_3pc and perform GC when detecting lag in checkpoints on backup

    Details

    • Type: Task
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.79
    • Component/s: None
    • Labels:
      None

      Description

      Currently, when a lag in checkpoints is detected on a backup replica, only the watermarks are shifted. This is insufficient to resume ordering of 3PC-batches. To make it possible to resume ordering starting from the 3PC-batch next to the last quorumed checkpoint, last_ordered_3pc must be also adjusted and the messages below its new value should be removed (i.e. garbage collection should be performed). In scope of this task add these actions to the logic of handling a lag in checkpoints on a backup replica.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                VladimirWork Vladimir Shishkin
                Reporter:
                spivachuk Nikita Spivachuk
                Watchers:
                Nikita Spivachuk, NIkita Zhigunenko, Vladimir Shishkin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: