|
|
|
|
|
by callalex
811 days ago
|
|
What?? That’s an insane way to describe what I’m talking about. Data/transaction isolation is very complex and extremely specific to every use case, which is why database engines worth anything let you describe to them what your needs are. Hence why when one client writes to Y they specify what they think X should be if relevant and get notified to try again if the assumptions are wrong. An advantage of specifying your data and transaction model up front is that it will surface these subtle issues to you before they destructively lose important information in an unrecoverable manner. https://en.wikipedia.org/wiki/Isolation_(database_systems) |
|
How do you increment a value in a column while other people write to the database? You don't grab the whole damn row and rewrite it...