neoneo-go/pkg/core/storage
Evgenii Stratonikov f1c6b9fe8f storage: Use timeout for boltdb database opening
To dump the DB, the service must be stopped.
If this is not the case `dump` command just hangs without any output,
which _may_ be unexpected from the ops POV.
Introduce a 1 second timeous, which is more than enough, given
that bbolt retries doing flock() every 50ms.

Signed-off-by: Evgenii Stratonikov <fyfyrchik@runbox.com>
2023-10-06 13:10:11 +03:00
..
dbconfig dbconfig: fix DBConfiguration description 2023-09-03 18:02:38 +01:00
dboper storage: move Operation into package of its own 2022-07-08 23:30:30 +03:00
boltdb_store.go storage: Use timeout for boltdb database opening 2023-10-06 13:10:11 +03:00
boltdb_store_test.go core: close BoltDB on failed root bucket creation 2022-10-10 10:12:34 +03:00
leveldb_store.go core: allow RO mode for Bolt and Level 2022-10-07 15:56:29 +03:00
leveldb_store_test.go core: allow RO mode for Bolt and Level 2022-10-07 15:56:29 +03:00
memcached_store.go core: allow to perform storage search within given amount of DAO layers 2022-10-07 15:56:34 +03:00
memcached_store_test.go storage: add "private" mode to MemCachedStore 2022-02-17 22:27:39 +03:00
memory_store.go storage: reduce lock time in (*MemoryStore).Seek 2022-07-11 16:15:14 +03:00
memory_store_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00
store.go core: adjust the documentation of SeekRange's Prefix field 2023-02-18 21:06:30 +03:00
store_test.go storage: move Operation into package of its own 2022-07-08 23:30:30 +03:00
store_type_test.go docs: fix supported database types 2022-10-07 15:56:34 +03:00
storeandbatch_test.go storage: simplify (*MemCachedStore).Put/Delete interface 2022-02-16 18:24:20 +03:00