You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Add Re-Affiliation Timeout Handling for Stale Affiliations #122
Currently, host only clears stale affiliations after the 12-hour timeout expires. If a peer disconnects or dies unexpectedly, any active affiliations from that peer remain visible until the timer runs out. This causes stale affiliations to appear in SysView and other monitoring tools. It may also create issues where a stale affiliation prevents the same RID from re-affiliating after the peer reconnects, or from affiliating on another site.
Proposed solution
Instead of relying on the existing stale-affiliation timeout, I propose adding a re-affiliation check timer. At a configurable interval, or after a defined period of RID inactivity, host would send a query to confirm whether the RID is still present. If the RID responds, the affiliation remains active and the timer resets. If the RID does not respond, the affiliation should be considered stale and removed. Optionally, host could also treat the RID as de-registered at that point, since the radio is no longer confirmed to be present on the system.
Alternatives considered
No response
Implementation notes
This logic should be scoped so it does not affect DVRS or conventional.
To add I will point out, this just implements clearing stale affiliations so that DVM doesn't report stale affiliations, it does not implement support for GRP_AFF_Q on P25 for example (other protocols may or may not have similar packets to ping a radio).
Activity
add support for group affiliation timeout similar to unit registratio…
gatekeep commentedon May 22, 2026
In r05a06_dev, commit 06df86e we handle this now similarly to unit registration to clear stale affiliations.
gatekeep commentedon May 22, 2026
To add I will point out, this just implements clearing stale affiliations so that DVM doesn't report stale affiliations, it does not implement support for GRP_AFF_Q on P25 for example (other protocols may or may not have similar packets to ping a radio).