Trace a Lost-Reply Retry
Trace a Lost-Reply Retry
Trace a Lost-Reply Retry
Follow a setpoint command across the gateway. Compare what the gateway observes with what the controller records.
Illustrative fault drill assumptions. The original reply is lost in transit. C17 durably retains the original outcome by command ID and returns it on a retry with that same ID.
- Command ID
- Command A
- Deadline
- Original deadline
- Gateway outcome
- Request in transit Checking request Awaiting reply
- C17 actions for this ID
- 0
Cloud
Request sentChange the setpoint from 4 °C to 2 °C.
Gateway
Route and target authorized. Units mapped. Operating limit checked.
Controller C17
Waiting for the checked command.
Command on its wayScenario trace
- Original attemptCloud → Gateway → C174 °C → 2 °C · Command A · Original deadline
Gateway log
- Original attempt · Command A · Original deadline
C17 audit
- No action recorded for Command A.
Check and forward the request
The gateway checks the request for C17 and forwards it with a stable command ID and the original deadline.
- Command ID
- Command A
- Deadline
- Original deadline
- Gateway outcome
- Awaiting reply
- C17 actions for this ID
- 01
Cloud
Request sentCommand A carries the original deadline.
Gateway
Awaiting replyThe gateway has forwarded the checked command.
Controller C17
Waiting for Command A to arrive.
4 °C → 2 °C. The outcome is stored under Command A.
Scenario trace
- Original attemptCloud → Gateway → C17Command A · Original deadline
- Original replyC17 → GatewayAccepted · Command A · In transit
Gateway log
- Original attempt · Command A · Original deadline
C17 audit
- No action recorded for Command A.
- Command A · Accepted · Setpoint changed from 4 °C to 2 °C.
Apply the command and send its reply
C17 applies the setpoint change once. In this drill, C17 durably records the outcome and the original reply is lost in transit.
- Command ID
- Command A
- Deadline
- Original deadline
- Gateway outcome
- Reply timeout
- C17 actions for this ID
- 1
Cloud
Request sentCommand A carries the original deadline.
Gateway
Reply timeoutThe gateway records that no reply arrived in time.
Controller C17
Outcome retainedThe audit still contains the accepted action for Command A.
Scenario trace
- Original attemptCloud → Gateway → C17Command A · Original deadline
- Original replyC17 → ×Command A · Lost in transit (drill assumption)
Gateway log
- Original attempt · Command A · Original deadline
- Reply timeout · Command A
C17 audit
- Command A · Accepted · Setpoint changed from 4 °C to 2 °C.
Observe the reply timeout
The gateway observes a reply timeout. The scenario trace marks the assumed packet loss, while the controller audit still shows that the action occurred.
- Command ID
- Command A
- Deadline
- Original deadline
- Gateway outcome
- Retry sent
- C17 actions for this ID
- 1
Cloud
Original requestCommand A carries the original deadline.
Gateway
Bounded retrySent before the original deadline with the same command ID.
Controller C17
Stored outcome matchedC17 recognizes Command A and returns its recorded result.
Scenario trace
- Original attemptCloud → Gateway → C17Command A · Original deadline
- Original replyC17 → ×Command A · Lost in transit (drill assumption)
- RetryGateway → C17Command A · Original deadline
- Stored replyC17 → GatewayAccepted · Command A · In transit
Gateway log
- Original attempt · Command A · Original deadline
- Reply timeout · Command A
- Retry · Command A · Original deadline
C17 audit
- Command A · Accepted · Setpoint changed from 4 °C to 2 °C.
Retry within the original deadline
The retry uses the same ID and deadline. In this drill, C17 recognizes the repeat and returns the stored outcome.
- Command ID
- Command A
- Deadline
- Original deadline
- Gateway outcome
- Accepted result
- C17 actions for this ID
- 1
Cloud
Original requestCommand A carries the original deadline.
Gateway
Accepted result receivedThe gateway records acceptance for Command A.
Controller C17
Single action in auditThe retained result describes the original setpoint change.
Scenario trace
- Original attemptCloud → Gateway → C17Command A · Original deadline
- Original replyC17 → ×Command A · Lost in transit (drill assumption)
- RetryGateway → C17Command A · Original deadline
- Stored replyC17 → GatewayAccepted · Command A · Received
Gateway log
- Original attempt · Command A · Original deadline
- Reply timeout · Command A
- Retry · Command A · Original deadline
- Accepted result · Command A
C17 audit
- Command A · Accepted · Setpoint changed from 4 °C to 2 °C.
Match the two records
Compare the gateway’s original attempt, reply timeout, retry, and accepted result with the C17 audit. Both attempts use the same command ID and deadline. The audit records one action for that ID.
Check and forward the request
The gateway checks the request for C17 and forwards it with a stable command ID and the original deadline.
Technical boundaries. This fault drill assumes the original reply is lost in transit and C17 durably stores the outcome under the command ID. The trace follows a retry with that same ID and original deadline, leaving behavior after the deadline outside the example.