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

Slaves should handshake all their chained members at once

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible

      Currently when a secondary connects to its sync source for upstream position notification, it sends the replSetUpdatePosition command with the "handshake" argument once for itself and once for each member chained off it.

      After the initial connection, the secondary sends replication progress upstream with a replSetUpdatePosition command that includes information about itself and all chained nodes.

      We should make handshakes work the same way to avoid multiple network round trips. This may become even more valuable if we raise the max replica set size.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: