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

do not uassert if earliestOptime is unavailable for the optime serverStatus section

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

      Currently, a node may not have an earliestOptime when in state STARTUP2 and doing an initial sync. The serverStatus command currently returns an error if you request the oplog server status section in this state. It would be better to simply not return the earliestOptime field, or to return a field that is effectively 0.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: