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

Improve slaveDelay behavior during transition from initial sync to steady state

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            matt.dannenberg Matt Dannenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: