Update notes for submitted changes

* Add API for db compact
Update notes for submitted changes

* Made compact() thread safe