Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is possible for the json state params to fail to load at startup #212

Open
ZLLentz opened this issue Feb 9, 2024 · 0 comments
Open

Comments

@ZLLentz
Copy link
Member

ZLLentz commented Feb 9, 2024

Current Behavior

In some rare race condition, loading the json file using lcls-twincat-pmps may fail.

You can recover this pretty easily using the pmpdb client tool:

(pcds-5.8.1)zlentz@rix-console:~$ pmpsdb reload plc-kfe-rix-motion
INFO: Last file reloaded at: Wed Dec 31 16:00:00 1969
INFO: Refreshing...
INFO: This file reloaded at: Fri Feb  9 14:33:06 2024

See #211 (comment)

Expected Behavior

It should work every time, maybe it should automatically retry a couple times if it fails?

Context / environment

Happened once in prod

Steps to Reproduce (for bugs)

Unknown

Suggested Solution

Retry a few times?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant