3 ms·
That's a terrible default! Ignoring read-write races is a surefire way to... well, create bugs like the one in the post.
by Strilanc 14y ago
That's a terrible default! Ignoring read-write races is a surefire way to... well, create bugs like the one in the post.
- emeraldd 14y agoThe common case is going to be many readers with a few or even a single writer. In that scenario, a read locked database would destroy any chance of operating at scale.
- marcosdumay 14y agoMany DBMS have a SELECT FOR UPDATE statement just for those cases you want to lock everybody out while just reading.