Commit Graph

8 Commits

Author SHA1 Message Date
d314345e6d *: add a scheduler and use it to schedule compaction 2016-02-10 14:27:08 -08:00
7848ac3979 *: add missing license headers 2015-09-15 14:09:01 -07:00
5ae2eb4731 storage: avoid one extra round of wait
It could exit early if it knows that there is no more keys.
2015-09-03 19:12:27 -07:00
b5838edb93 storage: add initial metrics for kv 2015-08-28 13:41:42 -07:00
acd7a92f03 storage: reversion -> revision 2015-08-20 08:39:07 -07:00
7cba42fb73 storage: wait for compact goroutine to exit before close backend
If backend is closed, the operations on backend in compact
goroutine will panic. So this PR waits for compact goroutine to exit
before close backend.

This fixes the TestWorkflow failure too.
2015-06-18 12:18:39 -07:00
7b1a93e1ef storage: put storage info keys into information bucket
They used to be in key bucket, and make recover failed because they
cannot be parsed as normal key.
2015-06-17 14:37:29 -07:00
f47ed4a364 storage: initial compact 2015-06-05 09:22:44 -07:00