简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

The first read after reconnect fools our application (sample verification tracking)

TheoAdams0149 · 2026年5月24日 05:33 UTC

回复讨论
TH
TheoAdams0149
When our monitor reconnects, a completion signal retained from before the outage can be treated as a new completion. We're tracking sample verification tracking with Universal Robots UR5e in a fixture-checking station under commissioning, using a sample bracket. I'm trying to reconcile the signal with its job, without automatic resubmission or simply clearing the retained state.

10 条回复

FE
FelixAli0197

Does your trace show completion staying high through the outage? And does the application retain what it already consumed?

21
TH
TheoAdams0149

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.

13
FE
FelixAli0197

Replay reconnect offline against a durable job record. Match the retained completion before changing counts; persisting the consumed marker should prevent the repeat.

6
NA
NaomiBell0680

Only if that marker identifies the right job. One persisted boolean could hide a genuinely new completion instead

11
FE
FelixAli0197

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.

14
TH
TheoAdams0149

@FelixAli0197 Would an explicit reconciliation phase help on reconnect, so the application doesn't treat its initial retained-state read as an ordinary new event?

17
FE
FelixAli0197

@TheoAdams0149 Yes. Read the retained state, compare it with durable history and decide what it establishes. Reconnecting itself isn't evidence of new completion.

7
IM
ImranAllen0305

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.

16
TH
TheoAdams0149

@ImranAllen0305 The duplicate-read mechanism is clear from our trace. A completed fix still depends on persistent, identity-based reconciliation passing the offline reconnect and restart checks.

21
FE
FelixAli0197

That explains the duplicate without overclaiming the fix. Identity and restart verification are sensible completion conditions.

16

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。