wiredtiger/wiredtiger.github.com — Issue #100: bulk load doesn't "open" the table
Author: wiredtiger
Created: 2012-01-31 16:59:57+00:00
State: open

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?