lnd/kvdb/etcd
Andras Banki-Horvath 2c8d1c878e
kvdb: make etcd calls timeout to ensure liveness
Previously our RPC calls to etcd would hang even in the case of properly
set dial timeouts and even if there was a network partition. To ensure
liveness we need to make sure that calls fail correctly in case of
system failure. To fix this we add a default timeout of 30 seconds to
each etcd RPC call.
2024-08-01 19:04:10 +02:00
..
bucket_test.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
bucket.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
commit_queue_test.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
commit_queue.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
config.go Add configuration description 2024-07-31 15:31:56 +02:00
db_test.go kvdb+docs: remove etcd test fixture cleanup calls 2023-01-24 09:23:50 +02:00
db.go Allow multiple etcd hosts to be specified in db.etcd.host. 2024-07-31 15:31:17 +02:00
debug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver_test.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
embed.go etcd: set embedded etcd default max msg size and up txn limit 2022-02-28 12:03:05 +01:00
fixture.go Allow multiple etcd hosts to be specified in db.etcd.host. 2024-07-31 15:31:17 +02:00
nodebug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_bucket.go etcd: fix typos 2022-10-13 09:37:52 +02:00
readwrite_cursor.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_tx_test.go kvdb/etcd: replace defer cleanup with t.Cleanup 2022-10-13 17:47:03 +08:00
readwrite_tx.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
stm_test.go kvdb/etcd: replace defer cleanup with t.Cleanup 2022-10-13 17:47:03 +08:00
stm.go kvdb: make etcd calls timeout to ensure liveness 2024-08-01 19:04:10 +02:00
walletdb_interface_test.go kvdb/etcd: replace defer cleanup with t.Cleanup 2022-10-13 17:47:03 +08:00