Test scenario implementation roadmap
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
統合テストのチェックリストから、WAL bootstrap、leader election、log replication など、未チェックのシナリオを1つ選び、ロードマップ全体に取り組むのではなく、そのシナリオに集中してください。既存のテストエントリポイントと、RaftNode または HeedStorage の関連領域を確認してください。shell のカバレッジについては、提案されている test-cluster.sh の対象範囲を調べてください。選択したケースが実装され、成功または失敗時に期待される動作が記録されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 44
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lablup/raftify のほかの issue
-
integration-test
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
dx
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
-
feature log-storage snapshot
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
good first issue log-storage test
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
feature
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
似ている issue
-
area:ui effort:medium enhancement P7 source:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation priority: low tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
nledford/Ladderback#1823 ·
メンテナーはふだん 1 日以内に返信
-
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)対応中かも @ealwanlee が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
psmux/psmux-plugins#47 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
メンテナーはふだん 1 日以内に返信