wiredtiger/wiredtiger.github.com — Issue #44: verify and salvage API changes
Author: wiredtiger
Created: 2012-01-31 15:27:19+00:00
State: open

Michael, there are a couple of changes we need to make to the verify and salvage APIs.

- Verify and salvage should take a physical file name as their argument. It would be possible to make verify run on an in-memory tree, but that doesn't make much sense (for example, an in-memory update might be deleting an overflow chunk, but the overflow chunk still has to be verified else we won't verify the entire file).
- The schema layer shouldn't set SESSION->btree -- verify and salvage can configure SESSION->btree if they want, once they're happy with the file's configuration, but I don't think they take a BTREE from the schema layer.
- Verify and salvage should only be called if there are no other uses of the file, of course.

Can you please make these changes?