Evgeny
99f40ae109
support for additional database migrations ( #1644 )
2025-09-27 11:21:38 +01:00
Evgeny Poberezkin
112cd9d5f4
Merge branch 'stable'
2025-09-14 14:42:05 +01:00
Evgeny
8a7991a376
agent: option to set SQLite database backup path ( #1636 )
...
* agent: option to set SQLite database backup path
* fix test compilation
2025-09-14 12:41:49 +01:00
Evgeny
83721240a4
reset db connection on errors ( #1633 )
2025-09-13 09:30:01 +01:00
Evgeny
0a3d014f5d
ntf server: priority db pool for notifications and client commands, concurrent resubscriptions, CLI options ( #1529 )
...
* ntf server: option to skip specific tokens when importing store log
* logs
* batch later
* subscribe in parallel, bigger queues
* ntf server: test schema and migrations
* optimize subscriptions
* log level
* resubscribe before starting
* better subscribing
* pooled concurrent resubscriptions
* 5
* async resubscribe
* typo
* priority pool
* db batch size
2025-04-30 11:40:32 +01:00
Evgeny
d44f09d111
tests: pass AStoreType to agent test as a parameter ( #1479 )
...
* tests: run agent tests with PostgreSQL SMP servers
* agent tests with postgres database
* enable tests
* fix store log tests
* fix test
2025-03-12 21:47:44 +00:00
Evgeny
172540984c
agent, smp server: PostgreSQL connection pool ( #1468 )
...
* agent, smp server: PostgreSQL connection pool
* simplify, create all connections before start
* rename
* remove imports
2025-02-25 15:33:54 +00:00
Evgeny
4dc40bd795
smp server: PostgreSQL queue store ( #1448 )
...
* smp server: queue store typeclass
* parameterize JournalMsgStore
* typeclass for queue store
* postgres WIP
* compiles, passes tests
* remove StoreType
* split migrations
* progress
* addQueueRec
* reduce type spaghetti
* remove addQueue from typeclass definition
* getQueue
* test postgres storage in SMP server
* fix schema
* comment
* import queues to postgresql
* import queues to postgresql
* log
* fix test
* counts
* ci: test smp server with postgres backend (#1463 )
* ci: test smp server with postgres backend
* postgres service
* attempt
* attempt
* empty
* empty
* PGHOST attempt
* PGHOST + softlink attempt
* only softlink attempt
* working attempt (PGHOST)
* remove env var
* empty
* do not start server without DB schema, do not import when schema exists
* export database
* enable all tests, disable two tests
* option for migration confirmation
* comments
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-02-24 15:47:27 +00:00
Evgeny
72c2ddcf57
agent: move migrations ( #1459 )
2025-02-18 23:39:29 +00:00
Evgeny
a58d3540ad
agent: refactor migrations ( #1452 )
...
* agent: refactor migrations
* fix postgres
2025-02-07 17:17:53 +00:00
spaced4ndy
488c7082f3
agent: store interface ( #1436 )
2025-01-20 17:02:39 +04:00
spaced4ndy
fdde9863cd
agent: add reopenStore function for postgres; run notification tests with postgres ( #1435 )
2025-01-17 16:27:37 +04:00
spaced4ndy
9d9ec8cd0b
agent: remove unused functions ( #1432 )
...
* agent: remove unused functions
* cleanup imports
2025-01-10 07:59:17 +00:00
Evgeny
992b42e922
agent: option to enable/disable vacuum after SQLite migration ( #1429 )
2024-12-28 21:06:42 +00:00
spaced4ndy
cf66aadc20
postgres: store implementation, conditional compilation ( #1421 )
...
* postgres: implementation wip
* to from field
* agent store compiles
* methods
* create store
* tests wip
* migration tests pass
* tests compile
* fix tests
* tests wip
* bool int
* tests wip
* tests wip
* more boolint
* more fixes
* more fields pass
* more fixes
* binary
* instances, binary
* test passes
* remove todos, more tests pass
* fix conflict
* fix bool
* fix sequence breaking
* fix insertedRowId
* skip ratchet re-synchronization tests
* after test
* file tests
* after test
* rename
* remove comment
* format
* remove unused
* suppress notices
* fixes
* move
* fix
* instance
* instance2
* fix
* instances
* comment
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-12-20 15:54:58 +04:00
spaced4ndy
64149599de
postgres: db interfaces wip (sqlite passes) ( #1419 )
2024-12-12 17:42:58 +04:00