Reload the dmq-node topology on SIGHUP
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- haskell
- Área
- backend, networking
Línea de trabajo
Start with the startup topology read in dmq-node/app/Main.hs (lines 164–167) and the diffusion configuration in dmq-node/src/DMQ/Configuration.hs (lines 411–438); compare the linked cardano-node SIGHUP handler and topology update. Verify reload updates all three settings together and keeps the last valid values after a malformed file, as described in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current behavior
dmq-node reads --topology-file at startup and initializes the local roots, public roots, and ledger peer policy used by diffusion. There is no SIGHUP handler to update those values, so operators have to restart the node to apply a topology edit. Startup topology read · Diffusion configuration
Expected behavior
On Unix, SIGHUP should reread the configured topology file. After a successful parse, update localRoots, publicRoots, and useLedgerAfterSlot in one STM transaction. If reading or parsing fails, trace the error and keep the last valid topology active. cardano-node already follows this pattern. SIGHUP handler · Topology update
Verification
- On a test instance, edit the local and public roots and change
useLedgerAfterSlot. Send SIGHUP and verify that the same process supplies all three new values to diffusion. - Introduce malformed JSON and send SIGHUP again. Verify that the node reports the error and continues using the previous values.
- Correct the file, send SIGHUP, and verify that the next reload succeeds.
The mutable useLedgerAfterSlot setting also matters for #89.
- Lenguaje dominante
- Haskell
- Estrellas
- 2
- Forks
- 6
- Merge medio
- 9 d 10 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de IntersectMBO/dmq-node
-
Tracer & metrics improvementsAbiertotracing
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
IntersectMBO/dmq-node#91 ·
-
Ordinary ledger peer discovery misses smaller pools by sampling the big ledger peer snapshotAbiertobig-ledger-peers bug peer-selection
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
IntersectMBO/dmq-node#89 · 1 comentario ·
-
validation error countersAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 46/100
IntersectMBO/dmq-node#87 ·
-
Add tracersQuizá libre de nuevo @coot la tomó hace 151 días y no hay ningún pull request abierto. Abierto
IntersectMBO/dmq-node#59 · 1 asignado ·
-
documentation
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
IntersectMBO/dmq-node#26 · 1 comentario ·
Todos los issues de IntersectMBO/dmq-node
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
haskell/bytestring#730 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
seal-harness/seal-harness#399 ·
Los mantenedores suelen responder en 1 día
-
add previously overlooked rulesAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
fmidue/codeworld-tasks#124 ·
-
allow haskell-src-exts-1.24Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
reflex-frp/reflex#563 ·