Protect a row but allow readers
Read the balance of account id = 1 in accounts and make sure no one CHANGES it while you work — but other read-only holders must not be blocked. Another operation already holds such a shared guard on this row. Write a read with the right lock that coexists with other readers.
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit se