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

Improve slaveDelay behavior during transition from initial sync to steady state

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication

      After performing an initial sync, a node will transition to secondary/primary. Transitioning to a readable state (secondary/primary/etc) does not observe/respect the slaveDelay which may lead to user confusion if the node is queried with the expectation that the data is not newer than the expected delay.

      Due to the way replication works (that we are copying live data during initial sync, which may be after slaveDelay line) we cannot get to a consistent and valid state without current data.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matt.dannenberg Matt Dannenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: