feat(comm): ack site health reports end-to-end (SiteHealthReportAck, additive contract)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user