|
|
2dfa30095b
|
strip to only badger, retarget all local imports
build cli / make-release (push) Has been cancelled
test every commit / test (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
|
2024-08-18 19:43:38 +01:00 |
|
mattn
|
35ce183894
|
Merge branch 'master' into broken-connectons-locking
|
2024-07-23 08:41:05 +09:00 |
|
fiatjaf
|
b157261a84
|
add bluge and prevent bolt/badger/lmdb from querying when there is a .Search field set.
|
2024-05-27 17:54:34 -03:00 |
|
fiatjaf
|
4c1b0497df
|
lmdb/badger/bolt: actually stop the cursor when we have pulled enough.
build cli / make-release (push) Has been cancelled
build cli / build-linux (push) Has been cancelled
|
2024-04-18 20:32:58 -03:00 |
|
fiatjaf
|
fc2884d7aa
|
lmdb/badger/bolt: limit index scans to the maximum of total returnable events.
|
2024-04-16 17:26:48 -03:00 |
|
fiatjaf
|
2c866d0852
|
lmdb/badger/bolt: slight improvement to count logic.
|
2024-04-05 00:10:59 -03:00 |
|
fiatjaf
|
45c69ddf7f
|
prevent relay queriers that exit before EOSE from locking the QueryEvents() function forever.
|
2024-02-21 08:41:20 -03:00 |
|
fiatjaf
|
830d51e96d
|
badger: use a different transaction for each goroutine.
|
2024-02-08 11:08:28 -03:00 |
|
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
|
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
|
01aeabe23b
|
badger: fix dangling "fmt"
|
2023-12-06 07:08:46 -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
|
b4ee108b6b
|
badger: use special index for 'a'-like tags.
|
2023-12-02 18:55:37 -03:00 |
|
fiatjaf
|
fe0b7c799c
|
badger: remove a dangling print()
|
2023-11-29 12:27:40 -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
|
b89a24cba0
|
badger: improve a comment.
|
2023-11-25 15:22:53 -03:00 |
|
fiatjaf
|
2621ff5f91
|
badger: make sure we don't match tag index keys that are bigger than the queried tag.
|
2023-11-13 16:33:43 -03:00 |
|
fiatjaf
|
a29b9f298c
|
badger: improve messages and comments on query.
|
2023-11-11 15:01:43 -03:00 |
|
fiatjaf
|
0041a3621e
|
cleanup.
|
2023-11-09 13:31:24 -03:00 |
|
fiatjaf
|
cc8695a3cc
|
badger: get rid of panics.
|
2023-11-09 13:31:24 -03:00 |
|
fiatjaf
|
58e53aa004
|
fix badger GC error log.
|
2023-11-07 14:15:56 -03:00 |
|
fiatjaf
|
ffd9a81810
|
badger: do not panic on gc error.
|
2023-11-06 16:45:23 -03:00 |
|
fiatjaf
|
9a0b75313b
|
badger: fix logic for checking if an event id exists.
|
2023-11-06 13:42:50 -03:00 |
|
fiatjaf
|
02e05e2935
|
prevent saving duplicates in badger and lmdb.
|
2023-11-06 12:19:02 -03:00 |
|
fiatjaf
|
805d134bbb
|
badger: fail completely when a filter has any malformed key or id.
|
2023-11-02 16:04:08 -03:00 |
|
fiatjaf
|
ddb950d8b5
|
make lmdb and badger backends use a binary encoding instead of nson.
|
2023-11-02 15:37:09 -03:00 |
|