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

Use command on local.slaves instead of cursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      This requires changing code on the primary, so I don't think we can do this.

      The primary uses a _slaves map to track where the slaves are synced to. This map is only updated by calling getMore() for registered oplog-tailing cursors. Upshot: _slaves isn't changed if you call local.slaves.update(), therefore w doesn't work.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matt.dannenberg Matt Dannenberg
              Reporter:
              kristina Kristina Chodorow (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: