fstree: Use O_TMPFILE for temporary files #970
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#970
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-node:fix-fstree"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
4489f1b054
to88bce58370
WIP fstree: Use O_TMPFILE for temporary filesto fstree: Use O_TMPFILE for temporary filesCommit format must be changed
88bce58370
tocf5b0c201e
cf5b0c201e
todbbf42bb56
Tests pass locally, but the one failing on CI is directly related, so searching for race conditions
dbbf42bb56
to3d9e1ee1cb
The problem was that my local tests used
+linux
tag and CI ones either didn't use it or do not supportO_TMPFILE
.85e2fe0007
tobe45ea0dad
@ -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
Looks like it needs to be continued.
Fixed
be45ea0dad
tod14d065fdc