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

bulk load doesn't "open" the table

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT1.0
    • Labels:

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wiredtiger WiredTiger, Inc.
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: