size not accepting $numberlong argument

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.7.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We are using a command to create the oplog (as part of resizing the oplog).

      db.runCommand({ "create" : "oplog.rs", "capped" : true, "size" :

      { "$numberLong" : "2147483648" }

      })

      This returns error - specify size:<n> when capped is true, code - 14832. This used to work in previous version of the driver.

      If you pass in the size directly as long it works
      E.g. db.runCommand({ "create" : "oplog.rs", "capped" : true, "size" : 2147483648 });

       

       

       

       

            Assignee:
            Ross Lawley
            Reporter:
            Dharshan Rangegowda
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: