ReplCoordinatorImpl invokes forwardSlaveProgress unnecessarily while primary

XMLWordPrintableJSON

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

      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:
              Andy Schwerin
              Reporter:
              Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: