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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.3
    • 2.3.1
    • Shell
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: