feat(comm): ack site health reports end-to-end (SiteHealthReportAck, additive contract)

This commit is contained in:
Joseph Doherty
2026-07-08 16:09:08 -04:00
parent f7b9d342e4
commit 17af376a8e
4 changed files with 105 additions and 3 deletions
@@ -394,6 +394,15 @@ public class CentralCommunicationActor : ReceiveActor
{
// No-op in non-clustered hosts (TestKit).
}
// Ack the site so its AkkaHealthReportTransport Ask completes and the
// report-loss counter-restore path can observe delivery (review 01
// [Medium]). Guarded so the peer-replica path (SiteHealthReportReplica,
// which arrives without an Ask sender) never dead-letters an ack.
if (!Sender.IsNobody())
{
Sender.Tell(new SiteHealthReportAck(report.SiteId, report.SequenceNumber, Accepted: true));
}
}
/// <summary>