Use command on local.slaves instead of cursor

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: