-
Notifications
You must be signed in to change notification settings - Fork 337
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 symlink locking for filesystems that do not support hardlinks #1708
Add symlink locking for filesystems that do not support hardlinks #1708
Conversation
2a85f70
to
f84bf99
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I left two nitpick comments in the docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @cfxegbert!
@cfxegbert can you fix the DCO thing please? You can follow the instructions at https://github.com/AcademySoftwareFoundation/rez/pull/1708/checks?check_run_id=23579052094. |
e3f988f
to
cca80ba
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1708 +/- ##
=======================================
Coverage 58.27% 58.27%
=======================================
Files 126 126
Lines 17157 17157
Branches 3504 3504
=======================================
Hits 9998 9998
Misses 6494 6494
Partials 665 665 ☔ View full report in Codecov by Sentry. |
Add symlink locking for filesystems that do not support hardlinks Signed-off-by: Robert Minsk <[email protected]>
Co-authored-by: Jean-Christophe Morin <[email protected]> Signed-off-by: Robert Minsk <[email protected]> Signed-off-by: Robert Minsk <[email protected]>
Signed-off-by: Robert Minsk <[email protected]>
fce9d1c
to
d45e5d3
Compare
(I rebased the branch to fix a conflict) |
9b01d0b
into
AcademySoftwareFoundation:main
…ademySoftwareFoundation#1708) Signed-off-by: Robert Minsk <[email protected]>
In our environment we are using a StorNext file server over Samba on our Mac OSX machines. Mounting over Samba does not allow creating hardlinks. The work done in #903 adds the ability to explicitly use mkdir instead of hardlinks. mkdir may not be an atomic operation on non-local filesystems.
See https://www.mail-archive.com/[email protected]/msg20456.html