fiatjaf
|
44e9b11673
|
lmdb/badger: print id on value read error.
|
2023-12-22 20:05:25 -03:00 |
|
fiatjaf
|
0a8f93e886
|
break when idx isn't found to prevent an infinite loop.
|
2023-12-09 14:53:08 -03:00 |
|
fiatjaf
|
37e16afaba
|
lmdb: prevent queries from getting halted and locking readers forever.
|
2023-12-07 23:52:01 -03:00 |
|
fiatjaf
|
c09105f54b
|
lmdb: use a different goroutine for each read txn.
|
2023-12-07 11:44:20 -03:00 |
|
fiatjaf
|
3777e2f8f6
|
lmdb: do not use goroutines for each query.
thanks to @wojas at https://github.com/PowerDNS/lmdb-go/issues/28#issuecomment-1845056613
|
2023-12-07 11:36:25 -03:00 |
|
fiatjaf
|
9bd8c0fd4e
|
lmdb: use an waitgroup so transactions don't get closed before they actually end in the sub goroutines.
|
2023-12-06 06:50:28 -03:00 |
|
fiatjaf
|
f2cccb0fce
|
lmdb: use 8-byte keys instead of 32, use indexAddr, migrations.
|
2023-12-06 06:48:16 -03:00 |
|
fiatjaf
|
e3ddc80a08
|
lmdb: switch to powerdns fork of lmdb-go.
|
2023-12-06 06:45:51 -03:00 |
|
fiatjaf
|
b95cfc42cc
|
lmdb/badger: change (fix?) and simplify queries (offsets and created_at stuff should be simpler and q-dependent).
|
2023-11-28 16:05:27 -03:00 |
|
fiatjaf
|
0214061431
|
lmdb/badger: prevent crashing when we get a filter like {"#e":[]}
|
2023-11-27 11:53:28 -03:00 |
|
fiatjaf
|
93a595e710
|
lmdb: fix argument ordering that was breaking the entire query system.
|
2023-11-25 15:22:08 -03:00 |
|
fiatjaf
|
d15d78bf10
|
lmdb: raw read.
|
2023-11-24 17:24:17 -03:00 |
|
fiatjaf
|
332e34f77a
|
lmdb: store 32-byte tags in a separate index than the other tags.
|
2023-11-24 17:23:37 -03:00 |
|
fiatjaf
|
77f8ab5656
|
lmdb: fix error checking reversed signal.
|
2023-11-10 21:54:43 -03:00 |
|
fiatjaf
|
cc8695a3cc
|
badger: get rid of panics.
|
2023-11-09 13:31:24 -03:00 |
|
fiatjaf
|
ddb950d8b5
|
make lmdb and badger backends use a binary encoding instead of nson.
|
2023-11-02 15:37:09 -03:00 |
|