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
vfs.OpenFile contains many mutations of the underlying pbFS that are not performed under lock. Of particular note, the mutation of fs.data during file creation although there are also numerous modifications made to the underlying sealedFile that also are done without holding a mutex.
This could lead to unpredictable behavior in multithreaded contexts (which is includes any and all HTTP services) as two data file creations could race against each other potentially returning an alias of the other’s underlying sealedFile.
The text was updated successfully, but these errors were encountered:
vfs.OpenFile
contains many mutations of the underlyingpbFS
that are not performed under lock. Of particular note, the mutation offs.data
during file creation although there are also numerous modifications made to the underlyingsealedFile
that also are done without holding a mutex.This could lead to unpredictable behavior in multithreaded contexts (which is includes any and all HTTP services) as two data file creations could race against each other potentially returning an alias of the other’s underlying
sealedFile
.The text was updated successfully, but these errors were encountered: