You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that the Backblaze B2 tool errors out occasionally when it detected the source files being older than what is already on the B2 bucket:
File "/usr/lib/python3/dist-packages/b2/sync/policy.py", line 99, in files_are_different
raise DestFileNewer(
b2.exception.DestFileNewer: source file is older than destination: local://view_outputs/all_indicators/multi_hazard_threat/economic_region/nhsl_hazard_threat_all_indicators_b_1010.zip with a time of 1621298707917 cannot be synced to b2://view_outputs/all_indicators/multi_hazard_threat/economic_region/nhsl_hazard_threat_all_indicators_b_1010.zip with a time of 1621299046514, unless --skipNewer or --replaceNewer is provided
ERROR: source file is older than destination: local://view_outputs/all_indicators/multi_hazard_threat/economic_region/nhsl_hazard_threat_all_indicators_b_1010.zip with a time of 1621298707917 cannot be synced to b2://view_outputs/all_indicators/multi_hazard_threat/economic_region/nhsl_hazard_threat_all_indicators_b_1010.zip with a time of 1621299046514, unless --skipNewer or --replaceNewer is provided
Issues:
The "GeoPackage exports" GitHub workflow, which takes 4 hours or so to run, is being triggered on every single push and pull request, and that is probably too frequent.
With it being triggered on each push, and each instance taking 3 or 4 hours to run, when there are multiple pushes in close succession, more than one instance might be trying to uploading to B2 bucket at the same time.
The error avoids a race condition, so it is "good".
The error message can easily be overridden with --skipNewer or --replaceNewer, but there should be a better way to resolve this issue.
The text was updated successfully, but these errors were encountered:
Will notified me of two GitHub Actions error as seen at https://github.com/OpenDRR/opendrr-data-store/actions, in particular:
It turns out that the Backblaze B2 tool errors out occasionally when it detected the source files being older than what is already on the B2 bucket:
Issues:
--skipNewer
or--replaceNewer
, but there should be a better way to resolve this issue.The text was updated successfully, but these errors were encountered: