boltdb/bolt — pull request #90 by benbjohnson (2014-03-25 13:31:44+00:00)
Title: Fix bucket reclamation

The bucket page is allocated separately from the rest of the pages but the old bucket pages were not being added to the freelist. This change fixes that and adds a simple check for database consistency. More advanced consistency checks can be added in the future.

Fixes #82.
Fixes #89.