Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13814

Remove unordered bulk insert config in open_cursor

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: LSM
    • Storage Engines
    • 2
    • StorEng - Defined Pipeline

      LSM was removed in WT-12751. As a result, we should be able to remove the bulk=unordered undocumented config in __wt_curfile_open according to this comment:

              /*
               * Unordered bulk insert is a special case used internally by index creation on existing
               * tables. It doesn't enforce any special semantics at the file level. It primarily exists
               * to avoid some locking problems between LSM and index creation.
               */
              else if (!WT_CONFIG_LIT_MATCH("unordered", cval))
                  WT_RET_MSG(session, EINVAL, "Value for 'bulk' must be a boolean or 'bitmap'");
      

      For context:

      • the config parsing was modified here. Such that it no longer sets a flag and instead falls through the if block.
      • the config is used internally here.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: