syncbase: Allow Syncbase root dir to be moved

When Syncbase creates a new service instance, it stores the location
of the new LevelDB as an absolute path (DbInfo.RootDir). If Syncbase's
root directory is ever moved, it won't be able to boot regardless of
the updated rootDir parameter passed at init (which was ignored). This
CL changes this behavior to store relative paths in DbInfo, while
allowing existing absolute paths to continue to work. This CL does not
correct the older values, which means this CL only fixes the behavior
for new Syncbase instances.

MultiPart: 2/2
Change-Id: I42721ce61b8186cb95849e2d63752086aca50271
3 files changed
tree: a65e3401d467eb25746b5ab5b4e846bd4cb3a59a
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.