Skip to content

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

Merged
MarcelGeo merged 2 commits intomasterfrom
fix_fs_rename_issue
Sep 26, 2024
Merged

Add handling for os.renames on different filesystems to avoid OSError#298
MarcelGeo merged 2 commits intomasterfrom
fix_fs_rename_issue

Conversation

@varmar05
Copy link
Collaborator

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
Collaborator 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
@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