Test scenario implementation roadmap
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- distributed-systems, testing
Direzione di ricerca
Scegli uno scenario non selezionato dalla checklist dei test di integrazione, come WAL bootstrap, leader election o log replication, invece di affrontare l’intera roadmap. Esamina gli entry point dei test esistenti e l’area pertinente di RaftNode o HeedStorage; per la copertura shell, verifica l’ambito proposto di test-cluster.sh. Il lavoro è completato quando il caso selezionato è implementato e il comportamento atteso in caso di successo o fallimento è documentato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
One of the goals of this crate is to provide a robust, high-level Raft implementation that is ready to use.
To achieve this goal, we need to write more tests for various scenarios.
Integration tests
Should pass
- Cluster bootstrap testing
- Boostrapping based on node's static rule
- WAL bootstrap
- WAL snapshot bootstrap
- Vote and Leader election
- Request rerouting
- Log replication
- Log compaction
- Simple membership change
- Membership change based on Joint consensus
Should fail
Writing a list of failing test cases would be useful because it helps identify which failures are expected behavior and which are bugs.
- Timeout on put requests when a quorum is broken.
- Timeout on new node join attempts when a quorum is broken.
- Handling put requests during leader failover.
- Timeout on join requests during leader failover.
- Failures occurring while creating a snapshot.
- Whether a new proposal is rejected when there is a pending configuration change, and if it is processed normally after the pending configuration change is resolved.
- If a node not in the peers sends a message to the cluster, it should raise a
PeerNotFounderror. - A configuration change request containing only an AddNode entry for itself times out.
Unit tests
Types that require unit tests
-
RaftNode -
HeedStorage(fromraft-rs)
Others
- Doc testing
- Client API testing
- Create a simple shell script (test-cluster.sh) that verifies if the cluster is functioning correctly for each example.
- Lingua principale
- Rust
- Stelle
- 44
- Fork
- 14
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun 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 lablup/raftify
-
integration-test
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
dx
Difficoltà 5/5 Più di una settimana Idoneità per principianti 32/100
-
feature log-storage snapshot
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
good first issue log-storage test
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Tutte le issue di lablup/raftify
Issue simili
-
area:ui effort:medium enhancement P7 source:agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Read a requested CodeRabbit PR review's findings with `coderabbit pullrequest --show-threads`Apertadocumentation priority: low tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
nledford/Ladderback#1823 ·
I maintainer di solito rispondono entro 1 giorno
-
psmux-resurrect: restoring a session with a numeric name puts its windows into the wrong session (`new-window -t 4` is read as window 4)Forse già presa @ealwanlee l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
psmux/psmux-plugins#47 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
I maintainer di solito rispondono entro 1 giorno