Only allocate powerOfTwo sized records in regular collections

XMLWordPrintableJSON

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

      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 Stearn
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: