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
{{ message }}
Repository navigation
Commit b9e1f1d
Browse filesBrowse the repository at this point in the historyBrowse files
fix(files): lock the workspace row before bulk archive and folder restore
Their multi-row deleted_at updates fire the search-index trigger, which upserts the dispatch
queue row before later file rows are locked. A concurrent content write holds the workspace
row and a file row and then waits on that queue row, so the two could deadlock. The exclusive
Project lock used to hide this; take the workspace row first, the order every file writer uses.
0 commit comments