@RebeccaArcher0430 Check whether the PLC trace shows a continuous completion signal, then compare that with how your application preserves its consumed-event state across reconnect or restart.
简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。
Reconciling retained job state without resending work - sample verification tracking
RebeccaArcher0430 · 2026年5月15日 00:36 UTC
20 条回复
@HassanChan1052 It stays high. Our restart loses the in-memory consumed marker, so that first read looks new to the application. Annoyingly simple once it's visible.
6分Use an offline reconnect replay with persistent job state and match the retained completion before applying it. Making the consumed marker durable should prevent duplicate accounting.
10分Only if that marker identifies the right job. One persisted boolean could hide a genuinely new completion instead
0分You're right about the missing identity condition. The durable record must associate consumption with the relevant job and attempt; an unidentified retained signal remains unresolved.
6分@HassanChan1052 Should reconnect have a reconciliation state before normal monitoring resumes? Otherwise our first sample looks just like any other update.
13分A reconciliation phase can compare the initial retained state with persistent history before normal processing resumes. Connection recovery alone doesn't establish a new job result.
10分My own application reset its last-seen state through a shared startup path, so its edge detector treated the initial high value as an observed transition after reconnect.
7分Would ignoring the first high value fix that? It feels tempting, which probably means I'm missing something.
19分@SamBarnes0594 An initial high signal might represent a result missing from local history. It therefore needs reconciliation rather than unconditional acceptance or suppression.
17分@HassanChan1052 For this traced example, our persistent history identifies the job and attempt. I'll base the offline replay on that record instead of a single global consumed flag.
-1分Does the retained interface state carry enough identity to match that record? A detailed local ledger alone doesn't prove the match
13分@AaronBell0610 In this captured example, the retained job identity matches our record. I haven't established that every interface variant provides the same information.
-2分@RebeccaArcher0430 You can verify the captured case without claiming all variants are covered. Where the interface can't establish identity, the retained completion should remain unresolved.
15分My older interface exposed completion without job identity. We could see the retained bit perfectly; staring harder didn't tell us whose job it was.
11分@FelixBrooks0806 What should the screen say in that case? Unknown sounds vague, but complete sounds made up.
14分You can state that completion is observed but its job is unconfirmed, making the need for reconciliation visible while leaving results and requests unchanged.
25分@HassanChan1052 I'll distinguish the observation from the accounting decision in our expected replay results, so reading completion doesn't automatically credit a particular attempt.
1分I've explained why our first read gets counted again: the signal persists while our consumed marker doesn't. I'll close the fix only when identity-based reconciliation survives the offline reconnect and restart cases.
13分@RebeccaArcher0430 Your closure fits the observed mechanism, while the reconciliation result stays conditional on the required checks.
14分