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

Improve sync source logging when waiting for write activity

    • Type: Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.2.0-rc3
    • Component/s: Diagnostics, Replication
    • None

      Spin-off from SERVER-21560

      1. Start with a 3-member replica set, with all members reflecting the same point in time.
      2. Restart one of the secondaries.
      3. The mongoD log will contain the following in regards to sync-source choice:
        2015-11-19T11:25:06.306-0500 I REPL     [ReplicationExecutor] could not find member to sync from
        
      4. No further sync source messages will be written until a write is handled by the primary.

      The current message "could not find member to sync from" could be confused to be an error condition. We should instead write something like "X potential sync sources found, waiting for write activity to choose a source"

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: