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

Error out when flags options is specified for non-mmapv1

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.8
    • Component/s: Storage, Usability
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      flags is currently used for power of 2 allocation and is probably not applicable to the other storage engines. The server should error out to warn the user instead of silently ignoring it.

      Sample shell session connected to a mongod running on wiredtiger engine:

      > db.runCommand({ create: 'usd', flags: 0 })
      { "ok" : 1 }
      > db.runCommand({ listCollections: 1 })
      {
      	"collections" : [
      		{
      			"name" : "usd",
      			"options" : {
      				"flags" : 0
      			}
      		}
      	],
      	"ok" : 1
      }
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: