Initial sync might miss ops that were in flight when it started

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.2.21
    • Affects Version/s: 3.0.15, 3.2.16
    • Component/s: Replication, Storage
    • None
    • Fully Compatible
    • ALL
    • Storage 2017-09-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When initial sync starts, the node reads the last oplog entry "A" from its sync source and uses that as its starting point when it applies operations in a later phase. Because such a read is not subject to oplog visibility rules (because it uses a reverse scanning cursor instead of a forward cursor), there could be uncommitted operations prior to "A" that affect documents after initial sync has already passed such documents by in its collection scan phase. Such changes would never be applied to the initial-syncing node.

              Assignee:
              Judah Schvimer
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: