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

ReplSet Free Monitoring URLs inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Replication
    • None
    • ALL
    • Hide
      • Start a replica set with above mentioned version
      • enable free monitoring on the primary
      • connect to secondaries - should have different URLs
      • URL should each show an individual output rather than the output of all members
      • Restart replica set
      • URL of primary shows all expected members
      • Secondaries also show expected URL (of primary)
      Show
      Start a replica set with above mentioned version enable free monitoring on the primary connect to secondaries - should have different URLs URL should each show an individual output rather than the output of all members Restart replica set URL of primary shows all expected members Secondaries also show expected URL (of primary)

    Description

      Tested versions this is happening on: 4.0.18, 4.4.0-rc5, 4.4.0-rc6 (and some 4.2)
      After creating a new replica set (5 nodes) and enabling free monitoring by running
      db.enableFreeMonitoring() on the primary, a new URL for the free-monitoring service is created. The URL displays the stats for the primary node only (see attached screenshot). All secondaries show a different URL when connecting to them on the shell.

      Expected:

      • The URL of the primary should have replicated to the secondaries so that they all point to the same URL.
      • The visual free monitoring view should have displayed all 5 nodes (stats) of the entire replica set

      Note that:

      • After restarting the replica set (with free monitoring enabled) the primary URL is propagated to all secondaries and the view is correct
      • Tested on 4.0.0 and works as expected (primary URL is propagated to secondaries)

      Attached:

      • outputs from the shell for initial URLs of primary and a secondary and after restarting
      • Screenshot of visual output after enabling free monitoring (primary)
      • Screenshot of visual output after restarting the replica set (expected output)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isabel.peters@mongodb.com Isabel Peters
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: