-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
service/databaseItems related to the xmtpd databaseItems related to the xmtpd database
Description
By setting SET LOCAL synchronous_commit = off in transactions such as inserting staged envs, originator envs or batches is specially useful because the tx won't wait for WAL to be flushed to disk.
On hard crash the transactions are completely lost and nothing is written, which should be ok given our architecture:
- client/gateway would retry a PublishClientEnvelope if inserting a staged envelope fails.
- xmtpd publish worker would retry publishing a staged envelope
- migrator retries publishing a batch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
service/databaseItems related to the xmtpd databaseItems related to the xmtpd database
Type
Projects
Status
Done