signal: exit code for an unavailable aux component (AuxSigner / tapd)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
Direzione di ricerca
Start with signal/exit_codes.go for the existing exit-code constants, then read the health-check and shutdown path that already uses RequestShutdownWithCode and the healthcheck.* config, as referenced in #11304. The open questions are design decisions: whether this becomes a new health check or is reported by the aux provider, what counts as unavailable, and how tapd takes part. Settle those with the maintainers before writing code. Done means a distinct exit code is returned when a required aux component goes down.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Background
#11304 makes lnd exit with a distinct code for each health check that gives up (chain backend, disk space, TLS cert, tor, remote signer, leader status). Review discussion there (thread) raised one more case worth covering as a follow-up.
Problem
When lnd runs with aux components supplied by an external daemon (for example tapd providing AuxSigner, AuxLeafStore, AuxFundingController), that daemon can shut down on its own error. lnd then keeps running but cannot function properly, and nothing in the exit status or shutdown path identifies the aux component as the cause. Operators have hit this with tapd and had to work it out from logs.
Proposal
Add a dedicated exit code (for example ExitCodeAuxComponent in signal/exit_codes.go) and a path that reports it when a required aux component becomes unavailable.
Open questions, raised in the PR thread:
- Should this be a new
lndhealth check (so it picks up the existinghealthcheck.*config knobs andRequestShutdownWithCodeplumbing), or should the aux provider detect and report the condition itself? - What does "unavailable" mean for an aux component: a failed liveness probe, or an error returned from an aux call?
- How should
tapdparticipate, since it owns the components and the integrated-mode lifecycle?
cc @ViktorT-11 @GeorgeTsagk
- Lingua principale
- Go
- Stelle
- 8.2k
- Fork
- 2.3k
- Merge medio
- 1g 11h
- PR unite (30g)
- 103
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDForse già presa @litbot-9000 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
lightningnetwork/lnd#11676 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
lightningnetwork/lnd#11674 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lightningnetwork/lnd#11672 ·
I maintainer di solito rispondono entro 1 giorno
-
test flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
lightningnetwork/lnd#11663 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsApertatest flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
lightningnetwork/lnd#11642 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lightningnetwork/lnd
Issue simili
-
ConcatAgenticMessages loses the approval request ID of a streamed MCP tool callForse già presa @ningsiyuan1024 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
containers/gvisor-tap-vsock#796 ·
I maintainer di solito rispondono entro 2 giorni
-
external needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
celestiaorg/celestia-node#5448 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsForse già presa @huanghaoyuanhhy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
zilliztech/milvus-backup#1418 ·
I maintainer di solito rispondono entro 1 giorno