Node removed from cluster fails to terminate disrupting cluster operations when `tick_interval` is 0.1
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- distributed-systems
Research direction
Start with the 3-node Rust example and reproduce the configuration change using tick_interval set to 0.1, then compare its behavior with a slightly larger interval. Trace the removed node's termination path and the tick handling around change_config. Done means the removed node terminates reliably and no longer disrupts cluster operations at 0.1, with regression coverage for the reported case.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 44
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lablup/raftify
-
integration-test
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
dx
Difficulty 5/5 Over a week Newbie friendliness 32/100
-
feature log-storage snapshot
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
good first issue log-storage test
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Similar issues
-
area:ui effort:medium enhancement P7 source:agent
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation priority: low tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
nledford/Ladderback#1823 ·
Maintainers usually reply within 1 day
-
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)Possibly taken @ealwanlee claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
psmux/psmux-plugins#47 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day