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

Exports generation takes too much time and sometimes fails #315

Open
CharlesNepote opened this issue Feb 20, 2024 · 3 comments
Open

Exports generation takes too much time and sometimes fails #315

CharlesNepote opened this issue Feb 20, 2024 · 3 comments

Comments

@CharlesNepote
Copy link
Member

CharlesNepote commented Feb 20, 2024

  1. gen_feeds_daily_off.sh is taking too much time (more than 4:30). Mirabelle updates (launched at 4:30 UTC) and Data quality Daily updates (launched at 7:00 UTC) have to wait hours to be launched.

  2. Sometimes gen_feeds_daily_off.sh fails. In this case we have to relaunch it manually. Then I have also to relaunch mirabelle and Data quality Daily updates manually. With all those manual operations, sometimes the Data Quality Daily email can't be sent in time and data quality stats can't be updated (we're loosing stats for this day).

@alexgarel
Copy link
Member

For point 2 I don't think we can do anything ! Things fails from time to time… that's normal !

For point 1 I proposed to test using the jsonl file which is generated some time before.

@CharlesNepote
Copy link
Member Author

For point 2 I don't think we can do anything ! Things fails from time to time… that's normal !

We could test the exit code and at least send an email in case of failure.

For point 1 I proposed to test using the jsonl file which is generated some time before.

It would be great. But don't forget export_database.pl is also filtering some things such as bad chars, etc.

@alexgarel
Copy link
Member

We could test the exit code and at least send an email in case of failure.

It should send an email if the service fail, what we should do is keep error returns and exit with them if one is non 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants