Node removed from cluster fails to terminate disrupting cluster operations when `tick_interval` is 0.1

オープン
#154 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

3ノードの Rust 例から始め、tick_interval を 0.1 に設定して構成変更を再現し、その後、少し大きい間隔での動作と比較します。削除されたノードの終了経路と、change_config 周辺の tick 処理を追跡します。完了条件は、0.1 で削除されたノードが確実に終了し、クラスター操作を妨げなくなること、および報告されたケースに対するリグレッションテストのカバレッジがあることです。

索引モデルが issue の本文から書いたものです。

説明

bug need investigation ossca-24

This situation should not occur in the current raftify code. In a 3-node Rust example code, the following commands were executed from the client:

#[actix_rt::main]
async fn main() {
    let mut leader_client = create_client(&"127.0.0.1:60061").await.unwrap();
    leader_client
        .change_config(raft_service::ChangeConfigArgs {
            addrs: vec!["127.0.0.1:60062".to_owned()],
            changes: vec![ConfChangeSingle {
                node_id: 2,
                change_type: ConfChangeType::RemoveNode as i32,
            }],
        })
        .await
        .expect("Change config failed!");
}

The issue occurs when tick_interval is set to 0.1: a node removed from the cluster does not terminate and continues to disrupt the cluster's operations. Interestingly, this problem does not occur when the tick_interval is slightly larger.

主要言語
Rust
スター
44
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lablup/raftify のほかの issue

lablup/raftify の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。