dan.laffan PRO said about 1 year ago on Discussing Race Conditions :
Sometimes, race conditions cause your data to get overwritten.  I find it useful to add a
lock_version:integer
 field to my tables to help prevent this.

David Kimura PRO said about 1 year ago on Discussing Race Conditions :
Absolutely. For a more detailed look into optimistic locking, there is a recent episode on the topic. https://www.driftingruby.com/episodes/optimistic-locking

Login to Comment