lnd/kvdb
Olaoluwa Osuntokun cd0ca43a00
kvdb: don't do a critical log for db serialization errors
In this commit, we fix a bug that would cause the entire db to shutdown
if hit a panic (since db operations in the main buckets exit with a
panic) while executing a txn call back. This might be a postgres error
we need to check, so we don't want to bail out, and instead want to pass
up the error to the caller so we can retry if needed.
2024-04-11 15:04:03 +02:00
..
etcd remove repetitive words 2024-03-07 14:05:47 +08:00
postgres kvdb: set postgres max_connections on the started instance 2024-01-24 21:38:54 +01:00
sqlbase kvdb: don't do a critical log for db serialization errors 2024-04-11 15:04:03 +02:00
sqlite kvdb: add sqlite 2023-01-23 09:14:08 +02:00
backend.go kvdb+watchtower: fix unreachable code 2024-03-25 21:04:48 +08:00
backend_js.go kvdb: exclude anything bbolt related from JS builds 2021-07-22 09:47:37 +02:00
bolt_compact.go multi: fix fmt.Errorf error wrapping 2024-02-27 11:13:40 +00:00
bolt_fixture.go kvdb: use T.TempDir to create temporary test directory 2022-08-24 09:03:04 +08:00
bolt_test.go kvdb: use T.TempDir to create temporary test directory 2022-08-24 09:03:04 +08:00
config.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
debug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
etcd_test.go kvdb+docs: remove etcd test fixture cleanup calls 2023-01-24 09:23:50 +02:00
go.mod kvdb+sqldb: use the same tx retry helper 2024-04-11 15:04:02 +02:00
go.sum kvdb+sqldb: use the same tx retry helper 2024-04-11 15:04:02 +02:00
interface.go kvdb: add ForAll 2022-01-12 19:11:53 +01:00
kvdb_etcd.go kvdb: unify how the db backend for tests is set 2023-01-23 09:05:11 +02:00
kvdb_no_etcd.go kvdb: unify how the db backend for tests is set 2023-01-23 09:05:11 +02:00
kvdb_no_postgres.go multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
kvdb_no_sqlite.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
kvdb_postgres.go multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
kvdb_sqlite.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
log.go kvdb+refactor: move all general sqlite code to seprate dir 2023-01-23 09:05:11 +02:00
nodebug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
postgres_test.go kvdb: add ForAll 2022-01-12 19:11:53 +01:00
prefetch_test.go kvdb: extra test coverage for kvdb.Prefetch 2021-09-14 13:12:23 +02:00
readwrite_bucket_test.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
readwrite_cursor_test.go kvdb/test: fix cursor tests to match bbolt semantics 2021-07-12 11:31:09 +02:00
readwrite_tx_test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00
test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00
test_utils.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00