syncbase: support restarts

MultiPart: 1/2

Implementation notes:
- Currently, I reinit in-memory data structures
  (apps and dbs maps) at syncbase startup.
- Testing strategy: v23 integration test starts a
  syncbase instance, writes to it, verifies what's
  written, restarts it, and verifies what's written
  a second time.
- Eventually we'll need to avoid having too many DBs
  open and running out of file descriptors or some
  other resource. The plan (discussed a bit with Bindu
  and Raja) is to do this by replacing DB's store.Store
  with a wrapper that handles store paging. I've added
  a TODO for this.

Change-Id: Iec64eee3971162104127d4732595d796fc17fcbe
16 files changed
tree: 641296b6e2a640b902883e8dd15fecc28052ffb0
  1. v23/
  2. x/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. VERSION