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

Use command on local.slaves instead of cursor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.2
    • Replication
    • None
    • Fully Compatible
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: