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
, before flushing the contents to disk. So, even if (2) weren't a factor, multiple calls to EnvironmentImpl.write_to_disk() from different task queues could still race with each other.
I wonder we can mitigate this issue by adding a separate lock solely for this write_to_disk() and wait for the lock for each write.
The text was updated successfully, but these errors were encountered:
saschanaz
changed the title
Get a dedicated lock for write_to_disk()?
Make sure there is no parallel file write by write_to_diskJan 26, 2023
More details here: https://bugzilla.mozilla.org/show_bug.cgi?id=1807010#c2
I wonder we can mitigate this issue by adding a separate lock solely for this
write_to_disk()
and wait for the lock for each write.The text was updated successfully, but these errors were encountered: