concurrencydatabases
Two transactions can deadlock
Anonymous
Two transactions can each hold a lock the other needs, so neither can proceed. Keep transactions short and acquire shared resources in a consistent order where practical. A database may abort one transaction; retry the whole transaction only when its operations are safe to repeat.
0