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

Only allocate powerOfTwo sized records in regular collections

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.8
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Minor Change

      Going forward, MMAPv1 will only allocate powerOfTwo sized records, regardless of the flag. This is required to make the new freelist work correctly in O(1) time without any scanning.

      This only applies to regular collections. In particular it will not apply to capped collections or indexes.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: