-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kvdb wrapper for etcd #4015
kvdb wrapper for etcd #4015
Commits on May 22, 2020
-
channeldb+kvdb: an extended STM on top of etcd clientv3
This commit adds an extended STM, similar to what available in etcd's clientv3 module. This incarnation of said STM supports additional features, like positioning in key intervals while taking into account deletes and writes as well. This is a preliminary work to support all features of the kvdb interface.
Configuration menu - View commit details
-
Copy full SHA for 137dee0 - Browse repository at this point
Copy the full SHA 137dee0View commit details -
channeldb+kvdb: walletdb/kvdb interface etcd implementation
This commit adds a full interface implementation of the walletdb/kvdb interface with detailed tests.
Configuration menu - View commit details
-
Copy full SHA for 6a24a03 - Browse repository at this point
Copy the full SHA 6a24a03View commit details -
channeldb+kvdb: add walletdb interface test
This commit adds walletdb interface test suite to the existing test set.
Configuration menu - View commit details
-
Copy full SHA for 3b75256 - Browse repository at this point
Copy the full SHA 3b75256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 248a00f - Browse repository at this point
Copy the full SHA 248a00fView commit details -
kvdb+etcd: extend kvdb and STM with stats
The commit itslef adds stats to the transactions such that we can see how LND behaves with and etcd backend.
Configuration menu - View commit details
-
Copy full SHA for 859a457 - Browse repository at this point
Copy the full SHA 859a457View commit details -
lncfg: add configuration for user specified db backend
This commit extends lncfg to support user specified database backend. This supports configuration for both bolt and etcd (while only allowing one or the other).
Configuration menu - View commit details
-
Copy full SHA for 9d57c1a - Browse repository at this point
Copy the full SHA 9d57c1aView commit details -
channeldb+lnd: make channeldb backend configurable
This commit adds support for user configured channeldb backend.
Configuration menu - View commit details
-
Copy full SHA for 0e3629e - Browse repository at this point
Copy the full SHA 0e3629eView commit details -
kvdb+etcd: only lock on bucket path mod revision for reads and writes
This commit reduces the compare set size the STM will submit in transactions by adding only the bucket keys along the bucket path to a specific lock set. This lock set then used to filter the read set, effectively removing all read only keys from the transaction predicate that are not bucket keys. By tracking if a read-write tx actually changes something, we can also "bump" the mod revision of the bucket keys. With this trick we essentially implement a read-write lock for our bucket structure greatly reducing transaction processing time.
Configuration menu - View commit details
-
Copy full SHA for 02f9d91 - Browse repository at this point
Copy the full SHA 02f9d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23fcb59 - Browse repository at this point
Copy the full SHA 23fcb59View commit details -
kvdb+channeldb: create ExtendedBackend interface to allow rich tx logic
This commit adds the ExtendedBackend interface which is an extension to the walletdb.DB interface. This paves the way to using etcd.db.View and etcd.db.Update in the global View and Update functions without much code rewrite.
Configuration menu - View commit details
-
Copy full SHA for b54f8a1 - Browse repository at this point
Copy the full SHA b54f8a1View commit details -
This commit extends lncfg with etcd TLS config and passes these parameters to the etcd client upon construction.
Configuration menu - View commit details
-
Copy full SHA for 3ef331e - Browse repository at this point
Copy the full SHA 3ef331eView commit details -
kvdb+lncfg: fully move etcd behind build tag
This commit separates all etcd related sources (sans a few stubs and config) from the rest of the source tree and makes compilation conditional depending on whether the kvdb_etcd build tag is specified.
Configuration menu - View commit details
-
Copy full SHA for 85aee9b - Browse repository at this point
Copy the full SHA 85aee9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bce0597 - Browse repository at this point
Copy the full SHA bce0597View commit details -
etcd: add namespace support to separate key spaces
This commit extends etcd db with namespaces without additional storage space requirements. This is simply done by instead of using an all zero root bucket id, we use the sha256 hash of the name space as our root bucket id.
Configuration menu - View commit details
-
Copy full SHA for c3fcfd1 - Browse repository at this point
Copy the full SHA c3fcfd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b53475d - Browse repository at this point
Copy the full SHA b53475dView commit details