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

bulk load and column store appends

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.8.0
    • Labels:
      None

      Description

      WiredTiger currently ignores the bulk-load flag if configured in-memory.

      That's a problem for column-store objects because we ignore the key when doing a column-store bulk-load, so an application that configures in-memory and isn't setting the cursor key for the bulk-load will fail the WT_CURSOR.insert call because the key isn't set.

      We could:

      • make bulk-load illegal on in-memory objects,
      • make bulk-load really work on in-memory objects,
      • set WT_CURSOR_APPEND when opening a bulk-load column-store cursor on an in-memory table,
      • detect the error and provide a better error message

      I don't care much, myself.

      Absent other opinions, I guess I'd make bulk-load illegal on in-memory objects because it's simplest, but if there's a reason to support bulk-load in-memory, I don't think it would be terribly difficult to do so.

      Alex Gorrod, Michael Cahill, opinions?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: