chore: log learner joins
This commit is contained in:
parent
4446cd83bd
commit
e50b7a5751
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ impl DcacheService for MyDcacheImpl {
|
|||
let node = BasicNode {
|
||||
addr: req.addr.clone(),
|
||||
};
|
||||
println!("Learner added: {:?}", &req.addr);
|
||||
let res = self.app.raft.add_learner(node_id, node, true).await;
|
||||
Ok(Response::new(res.into()))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue