Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28216

Recoverable Rollback: Support ability to resume rollback from Phase 2 upon restart

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication
    • Fully Compatible

      If there is a restart during Phase 2, we should be able to restart the rollback process and skip Phase 1.
      The information in local.system.rollback.progress should be sufficient to determine if Phase 1 can be skipped.
      The entry point to Phase 2 would be in BackgroundSync right before we start to look for a new sync source.
      We would enter rollback and return to the producer loop when rollback completes.
      To test this feature, we would need a JS test and a fail point:
      The fail point would make the server hang in Phase 2, at which point the JS test could restart the node.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: