[STORM-3874] Nimbus status/metrics don't expose criical blobstore sync status information

Aperta
#7,656 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java

Direzione di ricerca

Inizia dallo stato Nimbus esposto da /api/v1/nimbus/summary e segui come vengono rappresentate la sincronizzazione di blobstore e la leader eligibility. Determina come lo stato proposto "Syncing" o "Ineligible" dovrebbe rapportarsi ai valori esistenti "Not a Leader", "Leader" e "Dead", quindi verifica lo stato o le metriche esposti durante il rolling replacement. Il lavoro è completato quando gli operatori possono distinguere un nodo ancora in fase di sincronizzazione da uno pronto per la leadership.

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

Descrizione

bug imported-jira-issue

As an operator, I'd like to know when a nimbus node is eligible for Leader so that I may check that status during instance replacement/health status.

When performing a rolling deployment, it's not possible to distinguish when a new node is "fully ready" and able to take on leadership. New nodes will refuse to becoem leaders until they have synced their blobstore. This can brick the cluster if instances are replaced before any new node has fully synced from the current leader.

There is a gap from when a nimbus node joins to when it's eligible to become a leader. To the best of my ability this status gap is not exposed, there are only three status values "Not a Leader", "Leader", and "Dead". Nor is there anything in the REST API (or any other metrics) that I can find that could hint at the sync status (say bytes in blob-cache per nimbus, sync "index" or mtime).

Example
1. Given a stable 3 node nimbus cluster.
2. Deploy some topologies of non-trivial size.
3. Replace nimbuses in a rolling fashion. (wait for new node to show "Not a Leader" status in /api/v1/nimbus/summary)
4. Cluster dies. New nimbuses will refuse to become a leader.

I propose a new status, "Syncing" or "Ineligible". Nimbuses in this status are not yet ready to become leaders and a healthy instance will transition to "Not a Leader" shortly. A new instance should not be considered ready until it has transitioned to the "Not a Leader" status.


Originally reported by dekimsey, imported from: Nimbus status/metrics don't expose criical blobstore sync status information
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
Lingua principale
Java
Stelle
6.7k
Fork
4k
Merge medio
1g 5h
PR unite (30g)
86

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 apache/storm

Tutte le issue di apache/storm

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.