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

Perform a minimum size validation when creating oplog

    XMLWordPrintable

Details

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

    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

        Issue Links

          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: