-
Notifications
You must be signed in to change notification settings - Fork 25
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
Channels "time" never update / polling never finishes #86
Comments
Hi William, Yes, pvStatus is the status the last time the channel changed. The heartbeat (ping pong) is to update the status of the IOC to Inactive if the IOC goes down. I don't know if we ever want to change this @shroffk ? If you have channels that are marked as active but they are down, then a possible situation is the ChannelFinder and/or recceiver was down when the ioc went down. You can use the cleanOnStart configuration in the recceiver to mark all channels Inactive on boot to avoid this problem. Otherwise you've likely found a bug :) If you can reproduce please let us know! I hope that helps! |
hm, okay. also, I have weird behavior on my channelfinder itself, as I just noticed... so far, channelfinder and all its surroundings are not very pleasant to maintain or use, unfortunately. :( |
@kingspride Don't worry I agree. We've had some long debug sessions of recsync up to ChannelFinder, it can get confusing. More help in making it more stable is always appreciated. The 10 000 is a limit on the Elasticsearch side, but I'm surprised by the error. Can you give me more details on the problem in the ChannelFinderService repo? |
sure. see you on the other side :) |
The time is meant to reflect the last change on the IOC side, it should match when the IOC was last started. CF is trying to build central view over the distributed nature of EPICS which might have edge cases. We are working on a newer version of recciever and contributions are welcome |
thanks! @jacomago I see you are working on fixing the cleaning operation since its affected by the 10k limit aswell. You can close the issue if you want, my questions are depleted :) |
Hello,
I have a question regarding the recceivers' behaviour.
see this excerpt from loglevel debug:
what I understand that happens is:
my question now is:
is it intended that the time, and pvStatus properties never update? why?
I noticed that the debug log states "Polling begins", but never "polling complete", or "update channel with same IOC".
shouldnt the time and pvStatus be regularly updated as some kind of heartbeat, and put a channel "inactive", when a client disconnects / disappears?
For example, I have a couple of channels in my channelfinder marked as active, but they are offline right now. You cant tell from the channelfinder and would assume they are usable.
I need some clarification :D
thanks in advance,
William
The text was updated successfully, but these errors were encountered: