The Bike Shed cover image

313: Forty-Seven Percent

The Bike Shed

00:00

Isolator Detects Non Atomic Interactions Within Data Base Transactions?

The problem is that when a transaction does not commit, if we don't run it back, then the code will roll back. As far as i can tell, we never want to write the code where this is happening inside of the transaction because it has this failure mode. But how do we enforce that? That was the thing that came to mind. And so rather than actually having to take that line of code out of the data base transaction block, which is naturally where we would write ix. You can just use this after commit method, rap the call in that. So it's after commit and then a block. In this case, it allows you to use it everywhere, as

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app