fiatjaf
|
f5d23a3b51
|
lmdb/badger: stop sorting tags in-place when creating indexes. it is not necessary and was messing up things.
|
2024-01-18 17:55:08 -03:00 |
|
fiatjaf
|
d3bafc2ec8
|
lmdb/badger: fix duplicate identification code for tag indexing.
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
|
2024-01-05 18:12:39 -03:00 |
|
fiatjaf
|
44e9b11673
|
lmdb/badger: print id on value read error.
|
2023-12-22 20:05:25 -03:00 |
|
fiatjaf
|
9f6b0b521d
|
lmdb: fix version bumping.
|
2023-12-11 15:31:34 -03:00 |
|
fiatjaf
|
3e08d8c455
|
badger/lmdb: update go-nostr binary encoding to fix limited nubmer of tags; migration script requires manual procedure; update badger to use just 8 bytes of ids and pubkeys.
|
2023-12-11 09:32:06 -03:00 |
|
fiatjaf
|
23451178ce
|
badger/lmdb: fix tag sorting when they are small.
|
2023-12-10 07:42:26 -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
|
ea79f525f4
|
lmdb: increase number of max readers to 1000.
|
2023-12-07 18:07:06 -03:00 |
|
fiatjaf
|
0390512f9a
|
lmdb: multi-index support and update bindings to fix unpinnned pointer issue.
|
2023-12-07 18:07:06 -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
|
6443b73eab
|
badger/lmdb: delete doesn't require refetching.
|
2023-12-06 06:49:49 -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
|
a0fa1278d5
|
lmdb: automated migrations.
|
2023-11-24 17:23:59 -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
|
a161b58175
|
lmdb: fix mkdir -p
|
2023-11-10 21:54:30 -03:00 |
|
fiatjaf
|
63c621f806
|
lmdb: create directory if it doesn't exist.
|
2023-11-10 18:09:49 -03:00 |
|
fiatjaf
|
cc8695a3cc
|
badger: get rid of panics.
|
2023-11-09 13:31:24 -03:00 |
|
fiatjaf
|
02e05e2935
|
prevent saving duplicates in badger and lmdb.
|
2023-11-06 12:19:02 -03:00 |
|
fiatjaf
|
ddb950d8b5
|
make lmdb and badger backends use a binary encoding instead of nson.
|
2023-11-02 15:37:09 -03:00 |
|