Locking a row, or checking a version
Two approaches to concurrent edits: lock the row while editing, or let both edit and reject the second write if the version changed.
When is the second approach the better choice?
Two approaches to concurrent edits: lock the row while editing, or let both edit and reject the second write if the version changed.
When is the second approach the better choice?