|
Listening to a concurrently podcast this morning I had an interestingYou get an error on the write. It's an application design issue - usually the chain then write isn't done to try to avoid collisions, but rather to attempt to aggregate multiple records, usually on history files. While it's possible that two processes could choose to use that exact millisecond to attempt to write the same record, in practice it's either vanishingly rare (user maintenance programs) or non-existent (batch updates).
thought, how do you handle the case where the row didn't exist when you
chained for it, but is written by another process before you insert it?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.