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

bulk load doesn't "open" the table

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Michael, what should we do if an application does a bulk-load and then immediately starts doing operations?

      The problem is we don't have the root and append pages pinned in memory when bulk load finishes (we set both of them during the open operation, and there's no open operation after a bulk load). So, if you do a bulk load, then an insert, or even a read, we'll go south quickly.

      The format program doesn't tickle this because it does a close & re-open after the bulk load phase.

      We can either disallow standard operations after bulk-load, or we can futz around underneath the covers to set stuff up.

      The reason I brought this up is that it looks like you're doing an internal close-and-reopen step for verify & salvage, maybe there's a clean solution in the API layer?

            Assignee:
            Unassigned Unassigned
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: