Table of Contents

Constructor MailboxRestoreReport

Namespace
MailFathom.Application.Synchronization.Restore
Assembly
MailFathom.Application.dll

MailboxRestoreReport(int, int, int, IReadOnlyDictionary<MailboxRestoreFailure, int>, MailboxRestorePause, bool)

What one restore pass put back onto a source, and what stopped the rest of it.

public MailboxRestoreReport(int AppendedCount, int StateWrittenCount, int UnansweredAppendCount, IReadOnlyDictionary<MailboxRestoreFailure, int> Failures, MailboxRestorePause Pause = MailboxRestorePause.None, bool EndedTheRestore = false)

Parameters

AppendedCount int

Messages this pass wrote the occurrence of, whichever pass issued the append that put them back.

StateWrittenCount int

Messages whose local state this pass wrote down for the converger to carry.

UnansweredAppendCount int

Appends whose outcome this pass left unknown, whichever pass issued them, each of which now holds the account in its phase.

Failures IReadOnlyDictionary<MailboxRestoreFailure, int>

How many messages each kind of failure cost, with kinds that cost none absent. A message is attempted again only where the pass recorded nothing for it.

Pause MailboxRestorePause

What is holding the restore up, or None where nothing is.

EndedTheRestore bool

Whether this pass was the one that put the account back to mirroring its source.

Remarks

Counts only. What a pass did to somebody's mailbox is reported as figures an operator reads and a metric records, never as a list of messages: a subject, an address, or a folder path in this answer would put mail content into a log line about custody.

Two of the counts are the pass's own work rather than the pass's own appends. A pass begins by finishing the placements an interrupted one recorded, so a run that issued no command at all can report a dozen messages back on the source and one whose outcome it could not settle. What the counts add up to across passes is each message once, which is what an operator reading a total needs; what they do not say is which pass the command went out in.