Closed nuest closed 6 years ago
I might create a test to confirm this, until then here are some links for code that might handle this:
The bost solutions seems to be https://pypi.org/project/filelock/ (OS independent). We could just use a timeout, say 5 seconds, and then error. No need for loops or retries, the other operations should always complete within that time.
In muncher, three containers are started for the respective brokerings. The brokerings normally complete fine, but sometimes there is an issue with updating the package slip file. In the following case, all brokerings complete as is visible in all brokering output files existing. But for
zenodo_sandbox
theupdate_archival
returns an error:The package slip only contains
o2r
andzenodo
, but lackszenodo_sandbox
: