Closed apohllo closed 12 years ago
Current implementation uses truncate option to remove its contents. But this causes problems, if the new index has different Berkeley DB flags. So the new implementation should just remove the index file.
Upps, we have to make HashIndex#save idempotent, since an index that is not accessed causes problems when closing DB.
Current implementation uses truncate option to remove its contents. But this causes problems, if the new index has different Berkeley DB flags. So the new implementation should just remove the index file.