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

Race condition can cause replSetUpdatePosition command to be sent with information about nodes that the sync source doesn't yet know about

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Linked BF Score:
      0

      Description

      In sync_source_feedback.cpp we first check if a handshake is needed or we need to send a sync progress update upstream. But if after that check but before sending the progress update we receive a handshake from another secondary chaining off of us, then the update we send can include information about this new chained node, but we haven't sent a handshake for that node upstream to our sync source yet.

        Attachments

          Activity

            People

            Assignee:
            spencer Spencer Brody (Inactive)
            Reporter:
            spencer Spencer Brody (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: