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

Add handling for os.renames on different filesystems to avoid OSError #298

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

varmar05
Copy link
Contributor

In case GEODIFF _WORKING_DIR, LOCAL_PROJECTS_DIR and TEMP_DIR are not on the same filesystem we need to fallback to other renaming convention - use the same FS and only add a marker delete-me.

Normally this should not happen, but for certain deployments on k8s it may be beneficial to have various volumes of different types mounted. In that case a custom clean up job is necessary - this needs to be DOCUMENTED properly!

@varmar05
Copy link
Contributor Author

MerginMaps/docs#505

@varmar05 varmar05 requested a review from MarcelGeo September 26, 2024 12:29
@MarcelGeo MarcelGeo merged commit 50cb8da into master Sep 26, 2024
4 checks passed
@MarcelGeo MarcelGeo deleted the fix_fs_rename_issue branch September 26, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants