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

getLog: rs missing in 4.4 without documented change

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide

      Install 4.4.

      use admin;

      db.adminCommand({getLog: "rs"});

      Show
      Install 4.4. use admin; db.adminCommand({getLog: "rs"});

      We routinely use this information in a dashboard to help us see replicaset changes only without needing the entirety of months of data

      Running db.adminCommand({getLog: "rs"}) on 4.4 returns an error as there is no RamLog for replicaset information. 

       

      The new JSON format started in 4.4, but did not bring along with it the replicaset log. While documentation about the getLog did change for 4.2, the "breaking changes" list did not include any information that would suggest an exception to be thrown when people requesting this, (assuming they had previously been requesting it, as we do)

       

            Assignee:
            evin.roesle@mongodb.com Evin Roesle
            Reporter:
            chad@onspring.com Chad Kreimendahl
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: