fstree: Use O_TMPFILE for temporary files #970

Merged
fyrchik merged 7 commits from fyrchik/frostfs-node:fix-fstree into master 2024-02-09 16:12:13 +00:00
Owner
No description provided.
fyrchik force-pushed fix-fstree from 4489f1b054 to 88bce58370 2024-02-08 15:07:00 +00:00 Compare
fyrchik changed title from WIP fstree: Use O_TMPFILE for temporary files to fstree: Use O_TMPFILE for temporary files 2024-02-08 15:07:27 +00:00
fyrchik requested review from storage-core-committers 2024-02-08 15:07:31 +00:00
fyrchik requested review from storage-core-developers 2024-02-08 15:07:42 +00:00

Commit format must be changed

Commit format must be changed
fyrchik force-pushed fix-fstree from 88bce58370 to cf5b0c201e 2024-02-08 15:10:48 +00:00 Compare
fyrchik force-pushed fix-fstree from cf5b0c201e to dbbf42bb56 2024-02-08 15:23:27 +00:00 Compare
Author
Owner

Tests pass locally, but the one failing on CI is directly related, so searching for race conditions

Tests pass locally, but the one failing on CI is directly related, so searching for race conditions
fyrchik force-pushed fix-fstree from dbbf42bb56 to 3d9e1ee1cb 2024-02-08 17:59:17 +00:00 Compare
Author
Owner

The problem was that my local tests used +linux tag and CI ones either didn't use it or do not support O_TMPFILE.

The problem was that my local tests used `+linux` tag and CI ones either didn't use it or do not support `O_TMPFILE`.
fyrchik force-pushed fix-fstree from 85e2fe0007 to be45ea0dad 2024-02-08 18:57:10 +00:00 Compare
acid-ant approved these changes 2024-02-09 07:55:54 +00:00
@ -0,0 +28,4 @@
}
fd, err := unix.Open(root, flags, uint32(perm))
if err != nil {
return nil // Which means that OS-specific writeData can't be created and FSTre
Member

Looks like it needs to be continued.

Looks like it needs to be continued.
Author
Owner

Fixed

Fixed
acid-ant marked this conversation as resolved
fyrchik force-pushed fix-fstree from be45ea0dad to d14d065fdc 2024-02-09 13:55:24 +00:00 Compare
dstepanov-yadro approved these changes 2024-02-09 14:21:49 +00:00
aarifullin approved these changes 2024-02-09 14:43:41 +00:00
fyrchik merged commit b36a453238 into master 2024-02-09 16:12:13 +00:00
fyrchik deleted branch fix-fstree 2024-02-09 16:12:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#970
No description provided.