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

Perform a minimum size validation when creating oplog

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Replication
    • None
    • Replication

    Description

      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).

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            adam@comerford.net Adam Comerford
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: