Right! Re-engineering this in DO, I believe I will: 1. Start DO tx to acquire lock 2. Fetch external

Right! Re-engineering this in DO, I believe I will:
  1. Start DO tx to acquire lock
  2. Fetch external service
  3. Rollback if 2 fails
  4. Insert D1 row to record 2 happened
  5. Commit
4 could fail, and I need to figure that out but it’s a good start. Thanks!
Was this page helpful?