iis icon indicating copy to clipboard operation
iis copied to clipboard

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

Open marekhorst opened this issue 2 years ago • 2 comments

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.

marekhorst avatar May 29 '23 11:05 marekhorst

Hi, can you please remove me from the repo.

S6savahd avatar Jun 05 '23 08:06 S6savahd

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.

marekhorst avatar Jun 05 '23 11:06 marekhorst