-
Notifications
You must be signed in to change notification settings - Fork 1
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
Investigate project backup export from biosoundscape project #2037
Comments
@grindarius ok how long do you anticipate it will take to implement these fixes so that we can check if they work in fixing the issue? |
That sounds reasonable. This query is very light because the only ordering is by PK so it shouldn't need to do much to read this data. It more likely failed because there was a lot of db activity at the same time. We could try some exponential backoff: if a query fails then retry in 10 sec, then 20 sec, then 40 sec then 80 sec else fail completely. If one of the queries fails then I think the whole job should fail -- we don't want to continue and send the user incomplete data. @carlybatist We are going to need this week to work on some improvements. |
@antonyharfield @grindarius To find the solution for the job fail case. |
Email fail status to user and [email protected]/slack |
Draft email to notify failure export: Subject: Arbimon project export failed Hello, Thanks so much for using Arbimon! We encountered an issue while backing up your project '...'. Our apologies for the inconvenience. Please contact our support team at [[email protected]] for assistance. @antonyharfield @carlybatist Can you check if this message need any changes? |
@koonchaya Hello, There was an issue with your project backup of '...'. Our engineering team is looking into this and will update you when we have resolved it. We apologize for the inconvenience and thank you for your patience! All the best, |
Ideally, @carlybatist and I would get the email that forwarded from [email protected]. I am not sure about the eng-team will get alert elsewhere. |
@koonchaya @grindarius what do you expect the timeline for fixing the underlying issue will be? |
I tested export backup from project https://staging.arbimon.org/p/bci-panama-2018/overview
|
rfm_classifications_001.csv
|
For pattern matchings export, we grab data directly from For playlists export I did find both playlists inside the export file so it's all good. For rfm models there are deleted models being exported into the file. Same goes for rfm classifications, we did not have condition to remove deleted classifications out. |
|
Released on v1.4.2 |
I refactored most parts out into functions for easier abstraction and flexibility. I also redo the recordings export to query recordings by site because it seems to take a long time to get recordings by the project_id.
@koonchaya I see this is closed - can I tell the user to try the backup again? Or is there still more work to be done for the backup performance |
@carlybatist We are testing the perf upgrades on staging right now. I would expect the user to be able to export all the files tomorrow. I have yet to get all of the performance changes onto production because I wanted to make sure we did not miss anything. |
Ok no worries thanks for the update! Just wasn't sure of the status since the issue had been 'closed'. |
Original report: https://rfcx.slack.com/archives/C03FD1WD02J/p1718028385095719
@carlybatist
User reported that number of recordings and templates exported from the project didn't match data in the project.
Project https://arbimon.org/p/biosoundscape/overview
Additional information
I exported the files from the project and found that the number of recordings and templates didn't match.
Export file https://drive.google.com/file/d/1_l2LmgDrn_CIMDx23Bq5JWIlVhmF15A2/view?usp=sharing
The text was updated successfully, but these errors were encountered: