Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEATURE] Add Re-Affiliation Timeout Handling for Stale Affiliations

Aperta
#122 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
networking

Direzione di ricerca

No files or tests are named. Start by locating the dvmhost logic for the existing 12-hour stale-affiliation timeout and review how affiliations are queried and removed, while preserving the stated DVRS and conventional scope. Done requires an agreed configurable or inactivity-based check, response handling, stale removal, and tests for reconnect and non-applicable modes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Component

dvmhost

If "Other", specify component

No response

Problem / use case

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.
Additional context

No response

Lingua principale
C++
Stelle
107
Fork
30
Merge medio
3m
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DVMProject/dvmhost

Tutte le issue di DVMProject/dvmhost

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.