Perform a minimum size validation when creating oplog

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when creating the oplog or other capped collections MongoDB allows you to create an oplog <16MB without warning or error. Hence the collection can be smaller than a single large document. Given that the collection must be dropped to correct this, we should validate the size and enforce a sane minimum (perhaps >32MB - i.e. greater than the size of two max sized BSON docs, should be disallowed and anything under 1GB should print a warning).

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Adam Comerford
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: