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

Inconsistent conversion from bytes to MB for oplog size

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • ALL

      When createOplog() picks a default size for the oplog, it uses 10^6 to convert from MB to bytes, but when it prints out the size in MB, it divides by (1024 * 1024).

            Assignee:
            andrew.emil@10gen.com Andrew Emil (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: