gabrielmer
025c6ec92a
chore: changing digest and hash log format from bytes to hex ( #2363 )
2024-01-25 16:03:48 +01:00
Álex Cabeza Romero
fae20bff20
refactor(store): HistoryQuery.direction ( #2263 )
...
* Fix issue with default history query ascending value in serde operations: Should use the same value.
* Update direction types to PagingDirection.
2023-12-19 15:10:27 +01:00
Ivan FB
574cdf555a
chore: archive - move error to trace level when insert row fails ( #2283 )
...
* archive: move error to trace level when insert row fails
That is helpful to prevent the node to spam the logs when it shares
connection to the same Postgres database with other nodes, in
which case the following log appears too much:
topics="waku archive" tid=1 file=archive.nim:113 err="error in
runStmt: error in dbConnQueryPrepared calling waitQueryToFinish: error
in query: ERROR: duplicate key value violates unique constraint
"messageindex" DETAIL: Key
(messagehash)=(88f4ee115eef6f233a7dceaf975f03946e18666adda877e38d61be98add934e8)
already exists. "
2023-12-15 18:58:35 +01:00
Ivan FB
0fc617ff69
bug fix: update num-msgs archive metrics every minute and not only at the beginning ( #2287 )
2023-12-14 17:00:13 +01:00
Ivan FB
77c5ba7669
archive: simplify and enhance async retention policy application ( #2278 )
...
* Avoid using timer and just use an infinite async loop that can be
cancelled at any time.
2023-12-11 08:50:40 +01:00
Abhimanyu
aeb77a3e75
feat: Add new DB column `messageHash` ( #2202 )
...
* feat: added DB column messageHash
* feat: minor change
* feat: minor merge conflict fix
* Update test_resume.nim
* Update test_resume.nim
* randomblob() func used to populate attribute
* PRIMARY key updated - SQLite and Postgres
2023-11-22 17:32:56 +01:00
Abhimanyu
d7ef3ca192
Revert "feat: amending computeDigest func. + related test cases ( #2132 )" ( #2180 )
...
This reverts commit 1669f710ce
.
2023-11-08 01:41:23 +01:00
Abhimanyu
13aeebe46f
Revert "feat: messageHash attribute added in SQLite + testcase ( #2142 )" ( #2154 )
...
This reverts commit 9cd8c73d27
.
2023-10-24 16:05:39 +02:00
Abhimanyu
9cd8c73d27
feat: messageHash attribute added in SQLite + testcase ( #2142 )
...
* feat: messageHash attaribute added in SQLite + testcase
* Update tests/waku_archive/test_driver_sqlite_query.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2023-10-24 12:19:52 +02:00
Abhimanyu
1669f710ce
feat: amending computeDigest func. + related test cases ( #2132 )
...
* feat: amending computeDigest func. + related test cases
* minor fixes
* minor fixes v1: testcase saga continues
---------
Co-authored-by: Vaclav Pavlin <vaclav@status.im>
2023-10-19 11:59:17 +02:00
Ivan Folgueira Bande
f617cd9750
chore: Updating nim-chronicles, nim-chronos, nim-presto, nimcrypto, nim-libp2p, and nim-nat-transversal ( #2043 )
2023-09-18 18:51:49 +02:00
Ivan Folgueira Bande
e8602021b6
chore(postgres): not loading the libpq library by default & better user feedback ( #2028 )
...
* removing implicit dependency with libpq if postgres is not being used.
* We only run the postgres tests when explicitly willing to, i.e. make
POSTGRES=1 test. The reason is that the postgres tests expect a
database instance to be running locally.
2023-09-13 12:45:55 +02:00
Hanno Cornelius
b9d5d28af5
chore: remove references to v2 ( #1898 )
...
* chore: remove references to v2
* fix: lingering rln-relay import path
2023-08-09 18:11:50 +01:00