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
1.currently in posix we work with paths in order to move files. paths that might change by different threads / processes. to account for that we use safe_move_posix function that validates the source and destination files are the ones expected. but safe_move is not atomic and might not work properly in certain situations. also when safe_link does prevent the wrong file move, it causes a retry that could have been avoided by using file descriptors.
we should change it to work with FD and linkat similerly to how it works in POSIX
Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered:
Environment info
Actual behavior
1.currently in posix we work with paths in order to move files. paths that might change by different threads / processes. to account for that we use safe_move_posix function that validates the source and destination files are the ones expected. but safe_move is not atomic and might not work properly in certain situations. also when safe_link does prevent the wrong file move, it causes a retry that could have been avoided by using file descriptors.
we should change it to work with FD and linkat similerly to how it works in POSIX
Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: