Table of Contents

Property PersistenceTransientFailure

Namespace
MailFathom.Domain.Failures
Assembly
MailFathom.Domain.dll

PersistenceTransientFailure

Gets subcategory 5, connection loss: a local write did not commit because the database failed in a way that can clear on its own.

public static MailFathomErrorCode PersistenceTransientFailure { get; }

Property Value

MailFathomErrorCode

Remarks

It is a subcategory of its own rather than one more concurrent-write failure, because nothing raced. A write that loses its connection lost the transaction with it, so the state it meant to change is exactly as it was and the code says the attempt is repeatable rather than that another writer won. An operator correlating 3 codes acts on the two differently: a rate of concurrent-write failures is contention to design out, and a rate of these is a database or a network to look at.