Skip to content

Add lesson 39: Deadlocks#99

Open
exekias wants to merge 1 commit into
mainfrom
lesson/39-deadlocks
Open

Add lesson 39: Deadlocks#99
exekias wants to merge 1 commit into
mainfrom
lesson/39-deadlocks

Conversation

@exekias

@exekias exekias commented Jul 2, 2026

Copy link
Copy Markdown
Member

Adds Deadlocks (roadmap item 03-deadlocks) — the new Module 9: Concurrency.

Summary

Why two transactions can freeze each other, how Postgres detects and breaks the tie, and the ordering discipline that prevents it.

Check

One query-returns check (consistent-order-transfer) — the learner does a consistent-lock-order transfer (the avoidance technique), verified by the resulting balances.

Verified end-to-end against a non-superuser Postgres 16. npm run lessons:validate (34/34) and next build both pass.

Part of #6

🤖 Generated with Claude Code

Part of #6

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-postgres Ready Ready Preview Jul 2, 2026 3:06pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant