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

Expose method to the mongo shell to get the status of a ReplSetMonitor instance

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: 2.3.1
    • Component/s: Shell
    • None

      The idea is to write a hook in sm/v8 so it can call something to the
      equivalent of

      ReplSetMonitor::get(setName)->appendInfo(builder);
      

      This can be helpful especially in tests so we can make sure that the mongo shell's instance of the monitor is in the state we want it to be before proceeding.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: