Simplify WiredTiger bulk index insertion

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Inserting into Id indexes does not need to build a new buffer with the record id and typebits because key_string::Value already stores data in exactly the required format.

      key_string::Builder::appendTypeBits() explicitly appended a zero to represent all zeroes, and then that zero was stripped when inserting it into the index. Everything which uses TypeBits supports representing all zeroes as an empty buffer, so we can skip a step.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: