I wrote this a few years back before `transactionSync()` existed but this may help: https://medium.

I wrote this a few years back before transactionSync() existed but this may help: https://medium.com/cloudflare-durable-objects-design-patterns/maintaining-consistent-state-56f5bb22dba9
Medium
Cloudflare durable objects maintain consistency in light of storage write failure, but not when your code throws an unexpected error.
Was this page helpful?