Add command to manage the slave map

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For diagnostic purposes it would be good to be able to get access to the slave map, and/or clear it. It might also be useful to manually add/update it.

      I'm thinking something like:

      db.adminCommand({replSetSlaveMap:1}) // dumps
      { rid:   { _id:x, host:.., optime:OpTime}, 
        rid2: { _id:x, host:.., optime:OpTime}}
      db.adminCommand({replSetSlaveMap:1, reset:true}) // clears/resets
      db.adminCommand({replSetSlaveMap:1, update:{rid:OpTime}}) // updates  ember
      

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: