lnd.xprv/channeldb/kvdb/etcd
Andras Banki-Horvath 5346ed8a5c
kvdb+etcd: assert on bucket/value key when putting value/bucket
This commit extends compatibility with the bbolt kvdb implementation,
which returns ErrIncompatibleValue in case of a bucket/value key
collision. Furthermore the commit also adds an extra precondition to the
transaction when a key doesn't exist. This is needed as we fix reads to
a snapshot revision and other writers may commit the key otherwise.
2020-08-01 00:29:01 +02:00
..
bucket_test.go etcd: add namespace support to separate key spaces 2020-05-22 11:26:25 +02:00
bucket.go kvdb+etcd: change flattened bucket key derivation algorithm 2020-07-28 17:57:29 +02:00
db_test.go kvdb: make etcd tests use testify require instead of assert 2020-07-28 17:57:24 +02:00
db.go kvdb+etcd: integrate the abort context to the STM retry loop 2020-06-03 17:44:44 +02:00
driver_test.go kvdb: make etcd tests use testify require instead of assert 2020-07-28 17:57:24 +02:00
driver.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
embed.go kvdb+etcd: integrate the abort context to the STM retry loop 2020-06-03 17:44:44 +02:00
fixture_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00
readwrite_bucket_test.go kvdb+etcd: assert on bucket/value key when putting value/bucket 2020-08-01 00:29:01 +02:00
readwrite_bucket.go kvdb+etcd: assert on bucket/value key when putting value/bucket 2020-08-01 00:29:01 +02:00
readwrite_cursor_test.go kvdb+etcd: change flattened bucket key derivation algorithm 2020-07-28 17:57:29 +02:00
readwrite_cursor.go kvdb+etcd: change flattened bucket key derivation algorithm 2020-07-28 17:57:29 +02:00
readwrite_tx_test.go kvdb: make etcd tests use testify require instead of assert 2020-07-28 17:57:24 +02:00
readwrite_tx.go kvdb+etcd: assert on bucket/value key when putting value/bucket 2020-08-01 00:29:01 +02:00
stm_test.go kvdb: make etcd tests use testify require instead of assert 2020-07-28 17:57:24 +02:00
stm.go kvdb+etcd: assert on bucket/value key when putting value/bucket 2020-08-01 00:29:01 +02:00
walletdb_interface_test.go kvdb+lncfg: fully move etcd behind build tag 2020-05-22 11:26:25 +02:00