3.2 initial sync not prepared for clean shutdown during oplog application

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/mongodb/mongo/blob/v3.2/src/mongo/db/repl/initial_sync.cpp#L117-L119

      multiApply returns a null optime during clean shutdown which trips an invariant in replCoord->setMyLastAppliedOpTime because null is < the commit point.

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: