Always compact the DB at shutdown
This branch changes the DB compaction behaviour so we always compact the DB at shutdown. If the last shutdown was unclean then we compact at startup.
This branch changes the DB compaction behaviour so we always compact the DB at shutdown. If the last shutdown was unclean then we compact at startup.