input-output-hk / iodb

Multiversioned key-value database, especially useful for blockchain
Creative Commons Zero v1.0 Universal
95 stars 13 forks source link

Rework Clean Task, merge it with compaction #11

Closed jankotek closed 7 years ago

jankotek commented 7 years ago

Clean (destroy all but last N snapshots) right now runs in foreground; user code has to call it and wait until clean up finishes.

However full cleanup moves lot of data and should be ran as part of compaction in background. Also cleanup should be incremental.

So:

jankotek commented 7 years ago

Fixed in 0.2 release