commit | 15fb261e1fb9766f778863779d140a29f8f5f0a4 | [log] [tgz] |
---|---|---|
author | Ivan Pilat <ivanpi@google.com> | Mon Jul 11 18:14:07 2016 -0700 |
committer | Ivan Pilat <ivanpi@google.com> | Tue Jul 12 02:53:35 2016 +0000 |
tree | be10146b20e6da572d5783b9d6fe5c40a89b19af | |
parent | 0c074b5f3f805fb4838e0bd78a52a3c1065e6ab9 [diff] |
syncbase: Refactor watchable store clients to track resume markers. Expanded watchable clients from update channels to structs encapsulating update channels and sequence numbers (parsed resume markers). Clients now act as iterators over the watch log. This is in preparation for log garbage collection (watcher needs to know when all clients are past a certain log record). Also changed the sync watcher to stop watching when an error is encountered instead of keep retrying since the watch client is now an iterator. Watch should be restarted or the database quarantined instead. Errors due to the store being closed (e.g. database destruction) are still suppressed. Change-Id: I78792fffeb3b85701860763c75b73326c86a51eb
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.