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

failover: issue network partitioning alert

Aperta Adatta ai principianti
#5,735 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

Iniziare esaminando il campo alerts del coordinator nella chiave state /failover/info/by-uuid/ e il comportamento descritto in caso di partizionamento della rete. Documentare la tempistica degli avvisi e degli errori, i campi degli alert, la condizione di ritiro e il messaggio di esempio, in modo che la documentazione pubblicata corrisponda al comportamento dichiarato.

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

Descrizione

Since: 3.9.0

The coordinator reports its alerts in the alerts field of its state
key in the stateboard, <prefix>/failover/info/by-uuid/<uuid>.

The network partitioning alert is issued when alive instances of a
replicaset exchange no data with their master, directly or through
other members, while the coordinator reaches them. It carries
replicaset_name, master_name and disconnected (the names of the
instances). It is a warning (type: warn) once the situation is
confirmed by the next monitoring probe of the instances (about
failover.probe_interval later) and an error (type: error) once it
lasts for at least failover.lease_interval. The alert is withdrawn when
the data flows again.
Requested by @georgiy-belyanin in https://github.com/tarantool/tarantool-ee/commit/b669f7a99cf4d591eb1af68ff09445c481bca673.

Example (how it looks like in etcd):

active: true
term: 3
uuid: e5c1a4b2-7f3d-4c8e-9a1b-2d6f0e8c3b71
hostname: coordinator-1
pid: 41237
alerts:
- timestamp: 2026-09-28T12:32:47.871002+0300
  master_name: i-004
  type: error
  disconnected:
  - i-005
  - i-006
  message: 'The master "i-004" of the replicaset "r-002" exchanges no data with 2
    of its 2 alive peers (i-005, i-006), while the coordinator reaches all of them:
    the network may be partitioned between the peers or the replication may be broken.
    A client that reaches only a part of the replicaset may be unable to write.'
  replicaset_name: r-002
Lingua principale
CSS
Stelle
15
Fork
49
Merge medio
2g 2h
PR unite (30g)
1

Preparare l'ambiente

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 tarantool/doc

Tutte le issue di tarantool/doc

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.