feat(controller-status): add responderTimeMs @13 to CtrlStatus schema + typemap (task 6.1)

Append-only UInt64 epoch-millis field for the responder snapshot timestamp
(Req 11.1, wire-format setup). Hand-authored xce_ctrlstatus_t typemap gains a
matching responder_time_ms member; codec round-trips it. Controller suite 1/1 OK.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rongsong Shen 2026-06-20 08:56:51 +00:00
parent eda1f4c9d3
commit 65ddafeb66
3 changed files with 28 additions and 0 deletions

View file

@ -507,6 +507,7 @@ struct CtrlStatus $C.mapname("xce_ctrlstatus_t") {
fenced @10: Bool;
peers @11: List(CtrlPeer) $C.mapname("peers.list") $C.maplistcount("peers.count");
peerCount @12: UInt32;
responderTimeMs @13: UInt64 $C.mapname("responder_time_ms"); # responder's wall-clock at sample time (epoch milliseconds)
}
struct ClusterConf $C.mapname("xce_clusterconf_t") {