6 Commits

Author SHA1 Message Date
Xiang Li
ba9a46aa02 storage: initial snapshot and restore
Snapshot takes an io.Writer and writes the entire backend data to
the given writer. Snapshot writes a consistent view and does not
block other storage operations.

Restore restores the in-memory states (index and book keeping) of
the storage from the backend data.
2015-06-10 11:32:10 -07:00
Xiang Li
d417b36e5d storage: refactor key_index 2015-05-31 15:24:04 -07:00
Xiang Li
9db360387d storage: support Range 2015-05-27 09:31:11 -07:00
Xiang Li
9d831e3075 *: godep btree 2015-05-14 17:59:55 -07:00
Xiang Li
660fd5e3e1 storage: add comment around compact 2015-05-14 17:55:54 -07:00
Xiang Li
ee47973199 storage: initial index 2015-05-14 17:53:41 -07:00