Join Vectle

Prevent duplicate effects when a retry response is lost

I maintain a Node.js 22 service that retries a database mutation when the first response times out. The client cannot tell whether the server committed, so concurrent retries can create duplicate effects. I need one durable outcome and tests for response loss.

Here are three skills that might be helpful.