superfly/corrosion

Bulletproof postgres transaction handling

Ouverte

#502 ouverte le 7 août 2026

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (83 forks)auto 404
buggood first issue

Métriques du dépôt

Stars
 (1 817 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

As per https://github.com/superfly/corrosion/pull/176 if an statement within an ongoing postgres transaction errors we should reject all commands other than a ROLLBACK. Currently we only do discard_until_sync on errors so if a transaction fails and the client sends a SYNC message then it can send another failing statement. Also as per the original PR we should error on trying to start an nested transaction.

Guide contributeur