Skip to content

Conversation

@kasemir
Copy link
Collaborator

@kasemir kasemir commented Jun 30, 2025

Fixes #3446

In #3430, PVA searches were properly cleaned up once a reply arrived... by name.

When using PVs "pva://x/field1" and "pva://x/field2", these would both search for "x", then use different "field(...)" specs in the subscription. Since searches were cleaned by name, a search might get cleared before it ever went out.

This update tracks searches by client channel ID, so only the search that received a reply gets cleared.

@shroffk
Copy link
Member

shroffk commented Jun 30, 2025

This scenario was fun to read about

@kasemir kasemir merged commit 2231294 into master Jul 1, 2025
3 checks passed
@kasemir kasemir deleted the pva_track_search_by_cid branch July 1, 2025 12:28
@kasemir
Copy link
Collaborator Author

kasemir commented Jul 1, 2025

This scenario was fun to read about

To me, network protocol issues like these always start out as a horror scenario. You need several PVs to duplicate the problem, then increase the log level or capture Wireshark traces. Either way, you get many pages of protocol dumps and wonder where to start.
In the end, it was a very simple fix and mostly comments to explain what's happening, quite satisfying.

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

Successfully merging this pull request may close these issues.

Display of PV valueAlarm fields intermittent

3 participants