yorickdewid / Quantica

A fast and scalable object database
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Vacuum data storage #10

Closed yorickdewid closed 9 years ago

yorickdewid commented 9 years ago

Add functionality for data storage vacuum. This allows the management layer to clean the storage and throw away old data blocks. On vacuum the current data storage is checked for errors before the actual data is beeing copied into a new file. If the verification succeeds without any inconsistencies the old data store is kept as backup. This backup will be the fallback in case of corruption on the current database.