Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3510

rs has no method printReplicationInfo()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.6
    • None
    • manual
    • None

    Description

      Per the rs.printReplicationInfo docs, I've tried running that command in the shell, and got this error:

      TypeError: Object function () { return "try rs.help()"; } has no method 'printReplicationInfo'

      On the other hand, db.printReplicationInfo() worked.

      configured oplog size: 990MB
      log length start to end: 38196secs (10.61hrs)
      oplog first event time: Fri May 30 2014 05:13:09 GMT-0700 (PDT)
      oplog last event time: Fri May 30 2014 15:49:45 GMT-0700 (PDT)
      now: Fri May 30 2014 15:49:47 GMT-0700 (PDT)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 37 weeks, 4 days ago