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

Make sure SH db file is not removed when SH db refresh procedure fails #1409

Open
marekhorst opened this issue May 29, 2023 · 2 comments
Open

Comments

@marekhorst
Copy link
Member

marekhorst commented May 29, 2023

Currently the working SH db file location:

/cache/external-resources/software-heritage/origins.db

which is used by the IIS is also dropped before new DB version is generated. When the process fails then the file is not rebuild and the IIS fails.

We should invert the order of actions in a way a new db version should be generated in a versioned directory (including date/time) and update the /cache/external-resources/software-heritage/origins.db file once the new version is successfully generated. Whenever the db building process fails the file used by IIS will not be affected.

@S6savahd
Copy link
Contributor

S6savahd commented Jun 5, 2023

Hi, can you please remove me from the repo.

@marekhorst
Copy link
Member Author

marekhorst commented Jun 5, 2023

Hi @S6savahd, it seems you are not assgined to this particular project, you are among the OpenAIRE-core team members and the whole group is assgined. I've removed you from the OpenAIRE-core github team. Let me know if this is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants