polish(localdb): final integration-review fixes — drift XML doc, trim core deps, metrics doc/encapsulation

Claude-Session: https://claude.ai/code/session_01BL2Vu1ESDQ9SCN4gVKkdts
This commit is contained in:
Joseph Doherty
2026-07-18 01:20:08 -04:00
parent ac6bcde159
commit de65ca2b5d
8 changed files with 31 additions and 9 deletions
@@ -35,6 +35,10 @@ public sealed class ReplicationOptions
/// <summary>Maximum tolerated HLC drift where a peer's clock runs ahead of ours.</summary>
public TimeSpan MaxHlcDriftAhead { get; set; } = TimeSpan.FromMinutes(5);
/// <summary>When true, drift beyond <see cref="MaxHlcDriftAhead"/> rejects the batch instead of clamping.</summary>
/// <summary>
/// When true, entries whose HLC physical time exceeds <see cref="MaxHlcDriftAhead"/> are
/// dead-lettered individually (the rest of the batch still applies); when false, drifted
/// entries are applied and a single warning is logged per session.
/// </summary>
public bool FailClosedOnDrift { get; set; }
}