All Questions
Scaling Writes medium

Transaction A locks Row 1 and wants Row 2. Transaction B locks Row 2 and wants Row 1. Both wait forever. What is this called?

  1. A Race Condition
  2. B Timeout
  3. C Deadlock
  4. D Livelock

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions