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
this does not throw any error and created two instances of read-write databases in the same Python process. This is likely due to that only one F_WRLCK lock is held per process:
A single process can hold only one type of lock on a file region; if a new lock is applied to an already-locked region, then the existing lock is converted to the new lock type. (Such conversions may involve splitting, shrinking, or coalescing with an existing lock if the byte range specified by the new lock does not precisely coincide with the range of the existing lock.)
Such behavior may not be desirable. We should decide whether we need to do additional work to prevent this and make this behavior clear to the user in our docs.
The text was updated successfully, but these errors were encountered:
For example:
this does not throw any error and created two instances of read-write databases in the same Python process. This is likely due to that only one
F_WRLCK
lock is held per process:Such behavior may not be desirable. We should decide whether we need to do additional work to prevent this and make this behavior clear to the user in our docs.
The text was updated successfully, but these errors were encountered: