- 23 Jul, 2025 3 commits
-
-
Fabien Maniere authored
-
Fabien Maniere authored
[sqlite] improve performance of sqlite generation by proper PRAGMA See merge request !431
-
Przemyslaw Kaminski authored
Also, force WAL checkpoint at the end, otherwise the DB might be incomplete.
-
- 17 Jul, 2025 4 commits
-
-
Fabien Maniere authored
Revert "Merge branch 'adinapoli/bump-process' into 'dev'" See merge request !427
-
Fabien Maniere authored
This reverts merge request !426
-
Fabien Maniere authored
Update process library to 1.6.26.1 See merge request !426
-
Alfredo Di Napoli authored
-
- 09 Jul, 2025 1 commit
-
-
Fabien Maniere authored
[openalex] make search act similar to the one on openalex web See merge request !425
-
- 08 Jul, 2025 3 commits
-
-
Przemyslaw Kaminski authored
Port all the tasty specs to hspec See merge request !423
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
See #490
-
- 02 Jul, 2025 1 commit
-
-
Fabien Maniere authored
Resolve "Error uploading zip file on dev" See merge request !417
-
- 30 Jun, 2025 8 commits
-
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
Fix bug in DB transaction rollbacks in the presence of domain-specific errors Closes #480 See merge request !420
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
-
- 26 Jun, 2025 1 commit
-
-
Przemyslaw Kaminski authored
-
- 23 Jun, 2025 5 commits
-
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
This commit fixes the bug with DbTx rollbacks and domain-specific errors. What we do now is throwing an exception during the evaluation of `DbFail`, to later catch it _after_ `withTransactionM` has performed a clean rollback, and only at that point we call `throwError`. This also means that we need to catch `DbTx` errors via the `MonadError` interface, not via the exception-handling interface, to get proper rollback behavior.
-
Alfredo Di Napoli authored
errorWith has a `HasNodeError` constraint but the name was misleading.
-
Alfredo Di Napoli authored
This means, of course, that now rollback tests are failing, but that's fine, we can then fix things properly in the DbTx code.
-
Alfredo Di Napoli authored
-
- 20 Jun, 2025 2 commits
-
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
- 19 Jun, 2025 1 commit
-
-
Alfredo Di Napoli authored
Have `extractNgramsFromDocument` catch the right exception in case extraction fails Closes #481 See merge request !419
-
- 16 Jun, 2025 7 commits
-
-
Przemyslaw Kaminski authored
[graphql] get contexts for ngrams fix See merge request !416
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
-
Przemyslaw Kaminski authored
Resolve "API refactorings" See merge request !412
-
Alfredo Di Napoli authored
-
Alfredo Di Napoli authored
-
- 14 Jun, 2025 1 commit
-
-
Przemyslaw Kaminski authored
-
- 13 Jun, 2025 3 commits
-
-
Przemyslaw Kaminski authored
This described in this comment: #477 (comment 14458) I repaste, for history: - job timeout was 30 seconds only and this is a big zip file, so the job timed out in worker - however, this was recently added https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blame/dev/src/Gargantext/Database/Action/Flow.hs#L490 and the timeout wasn't caught and the worker continued happily - the job finished normally (most probably) - the job was restarted, because default strategy for timeouts is to restart a job - for sending files, we use postgres large objects because it keeps our JSONs small - when the job finishes, it clears definitely the large object so that we don't leave large, unused blob data - however, that job was restarted and there was no more a large object to work on - you got some sql error, but that wasn't the root cause Solution is: - don't catch any exception, but be careful and handle `Timeout` or `KillWorkerSafely` - increase job timeout for file upload - change timeout strategy for file upload to `TSDelete`, i.e. don't retry that job anymore
-
Przemyslaw Kaminski authored
It's possible that the zip file error was caused by a timeout (60 sec) for zip file which is too low.
-
Przemyslaw Kaminski authored
-