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

BtreeLogic::Builder generates an invalid Btree

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.5
    • Affects Version/s: 2.2.7
    • Component/s: Index Maintenance, Storage
    • None
    • Fully Compatible
    • ALL
    • 0

      The btree it builds has a root node with no nextChild. This means it has N keys and N children rather than N+1.

      This only effects foreground index builds with enough data to have a multi-layer btree.

      I verified this has been the behavior since at least 2.2 which is the oldest branch I can build locally.

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

              Created:
              Updated:
              Resolved: