Coordinate workspace cleanup with active operations
This commit is contained in:
@@ -795,21 +795,21 @@ narratio run 2026-04-04 --stage prepare --force
|
||||
|
||||
Relevant reference: [Operations: Restore Workflow](./operations.md#restore-workflow).
|
||||
|
||||
## Session lock conflict (`.lock`)
|
||||
## Workspace lock wait (`.lock`)
|
||||
|
||||
Symptom:
|
||||
|
||||
- command fails acquiring session lock.
|
||||
- a mutating command waits for the workspace lock or is cancelled while waiting.
|
||||
|
||||
Likely causes:
|
||||
|
||||
- another process is running for the same session;
|
||||
- another process is mutating the same workspace;
|
||||
- a process still holds the operating-system lock while it is shutting down.
|
||||
|
||||
Diagnostics:
|
||||
|
||||
```bash
|
||||
ls -l {workspace.root}/work/{campaign}/{session_id}/.lock
|
||||
ls -l {workspace.root}/.lock
|
||||
ps aux | grep narratio
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user