Report #15237
[architecture] Deadlocks when Agent A locks a resource Agent B needs, while Agent B locks a resource Agent A needs
Enforce a strict global ordering for resource acquisition \(e.g., always acquire Database A before Database B\) or use timeout-based retries with exponential backoff.
Journey Context:
Classic distributed systems problem applied to agents. If Agent A locks the DB and calls Agent B, which also tries to lock the DB, it hangs. Global ordering prevents circular waits. Tradeoff: makes the system less flexible as dependencies must be mapped out, but guarantees no deadlocks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T23:38:53.630778+00:00— report_created — created