110e0e143f
Migrate from lmdb-zero to heed (#3825)
ardocrat
2026-06-02 14:53:53 +03:00
0dc4280b68
lmdb: fix put database creation at separate block to avoid lifetime issues when returning an error on migration
ardocrat
2026-06-02 12:31:56 +03:00
2c3a067629
lmdb: key for successful migration
ardocrat
2026-06-02 11:14:57 +03:00
d2ead628ee
lmdb: immediately set resizing flag, ignore resizing flag while there are more than 0 opened txs to avoid stuck, optimize tx counter for some operations
ardocrat
2026-06-02 01:25:06 +03:00
630bb2e565
lmdb: handle an error when db with provided key not found
ardocrat
2026-05-17 12:51:42 +03:00
fc66b73e5b
lmdb: handle errors at iterator
ardocrat
2026-05-17 12:36:31 +03:00
418d865c01
lmdb: check iter result on getting total
ardocrat
2026-05-16 12:51:25 +03:00
d217bda12e
lmdb: store max 10k keys in the iterator
ardocrat
2026-05-16 12:44:21 +03:00
7d251d2267
lmdb: use index to detect separator, ignore unknown db key to not have a panic
ardocrat
2026-05-15 18:38:25 +03:00
aa28adc6bd
lmdb: use atomic open txs and stores count
ardocrat
2026-05-15 18:20:13 +03:00
a81f59926c
lmdb: do not include blocked peers in selection of peer, count also blocked peers to use fallback .zip download
ardocrat
2026-05-15 15:14:47 +03:00
22bc944918
lmdb: sleep 10ms when waiting all opened txs to be closed
ardocrat
2026-05-15 10:53:20 +03:00
f921f8758c
lmdb: use atomic for resize and resize checking flags
ardocrat
2026-05-15 10:52:09 +03:00
bd63c266e2
Merge branch 'lmdb_update' into grim
ardocrat
2026-05-01 01:31:18 +03:00
9d0925ab08
lmdb: remove env state when there are no more stores
ardocrat
2026-05-01 01:30:33 +03:00
f80e450896
Merge branch 'lmdb_update' into grim
ardocrat
2026-04-29 23:37:54 +03:00
d52cfe173b
lmdb: immediate resize if there are no open transactions
ardocrat
2026-04-29 23:36:37 +03:00
1832e1e907
Merge branch 'lmdb_update' into grim
ardocrat
2026-04-29 22:26:48 +03:00
f41d188dc9
lmdb: count all open transactions to finish before resizing
ardocrat
2026-04-29 22:25:56 +03:00
2164f6098f
Merge branch 'lmdb_update' into grim
ardocrat
2026-04-27 22:28:14 +03:00
4cadce1230
fix: pop pos key
ardocrat
2026-04-27 17:41:11 +03:00
9ca157d24c
lmdb: use separate databases instead of prefixes, use default db for values without prefixes, migrate old environment
ardocrat
2026-04-27 12:37:01 +03:00
0bedfb39d7
Merge branch 'lmdb_update' into grim
ardocrat
2026-04-24 18:26:02 +03:00