Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingesting an already ingested file leads never ending logs #1037

Open
1 task
MalinAhlberg opened this issue Sep 13, 2024 · 0 comments
Open
1 task

ingesting an already ingested file leads never ending logs #1037

MalinAhlberg opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@MalinAhlberg
Copy link
Contributor

MalinAhlberg commented Sep 13, 2024

Describe the bug
Starting ingestion of a file that is already ingested leads no never ending logs, but no error message or warning fr omsda-admin.

Steps to reproduce
Using the setup described here (but with new versions of the code), run
./sda-admin file ingest --filepath requester_demo.org/data/file1.c4gh --user [email protected] twice.
Run docker compose -f .github/integration/sda-s3-integration.yml logs -f to see the logs being filled with for example:

postgres  | 2024-09-12 13:36:22.248 UTC [80] ERROR:  duplicate key value violates unique constraint "unique_checksum"
...
verify    | {"level":"error","msg":"SetVerified failed, reason: (pq: duplicate key value violates unique constraint \"unique_checksum\")","time":"2024-09-12T13:36:22Z"}

Expected behavior

  • ...

Additional context
From #1026. See also #1027.

Estimation of size: medium

Estimation of priority: medium

@MalinAhlberg MalinAhlberg added the bug Something isn't working label Sep 13, 2024
@MalinAhlberg MalinAhlberg changed the title verify/postgres never stops logging error ingesting an already ingested file leads never ending logs Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant