Repeated Delivery and Stored Effects

Repeated Delivery and Stored Effects

Try Select Step to follow logical reading R from the gateway queue to its original broker arrival and backend receipt.

Repeated Delivery and Stored Effects

Illustrated reconnect

Single-effect requirement

each accepted reading changes the stored value once

Run A · illustrated reconnect

Join only records with matching run and reading ID. The lanes show schematic event order.

Gateway queue

Run A · Logical reading ID R · Firmware log timestamp

Broker arrivals

No arrival evidence shown yet.

Backend receipts

Stored effect unknown.

Queue the reading

The firmware log shows that the gateway queued the reading. The stored effect is still unknown.

Read the frame transcript
  1. Queue the reading The firmware log shows that the gateway queued the reading. The stored effect is still unknown.
  2. Find the original receipt The gateway logged no acknowledgement before the illustrated retry decision. The broker arrival and the original stored effect come from separate records.
  3. Follow the resend Join the resend and both arrivals by run and reading ID. Inspect the backend to learn what the repeated receipt did.
  4. Inspect the repeat effect Both backend receipts belong to the same reading. In this run the repeat leaves the stored value unchanged.
  5. Compare separate run outcomes Matching upstream events can accompany different backend effects. Run B fails the claim because the repeat changes the stored value again.
  6. Carry open risks into release review The joined records show what happened in this reconnect case. Carry untested ordering and field risks into release review.
Observe In frame 4 of 6, the repeat receipt changes from Pending inspection to No additional stored change while the broker still shows both arrivals for reading R.
Explain Frame 4 of 6 meets the single-effect requirement because the backend receipts for reading R show a stored change on the original receipt and no further change on the repeat.

Technical boundaries. The lanes show schematic event order for an illustrated reconnect and a separate hypothetical run. Records are matched by run and reading ID. Out-of-order timestamps, weak Wi-Fi in the field and support response remain open for release review.

Back to the chapter