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

Slaves should handshake all their chained members at once

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Replication
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: