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

ReplCoordinatorImpl invokes forwardSlaveProgress unnecessarily while primary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL

      Forwarding slave progress has the effect of waking up the sync source feedback thread, but when a node is primary, it has no sync source and so doesn't need to wake up that thread. Doing it leads to extra context switching and unproductive code execution, which can slow down heavily loaded nodes.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: