chore: log learner joins

This commit is contained in:
Aravinth Manivannan 2023-12-28 13:43:53 +05:30
parent 4446cd83bd
commit e50b7a5751
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -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()))
}