Xiang Li e8f40b0412 storage/backend: add commitAndStop
After the upgrade of boltdb, db.Close waits for all txn to finish.
CommitAndStop commits the current txn and stop creating new ones.
2015-08-25 10:57:25 -07:00
..
2015-08-25 10:57:25 -07:00
2015-08-25 10:57:25 -07:00