raftor icon indicating copy to clipboard operation
raftor copied to clipboard

Running a 3 node cluster triggers uninitialized memory

Open adsharma opened this issue 4 years ago • 1 comments

[2021-03-21T05:21:07Z ERROR actix_raft::raft] Fatal actix MailboxError while communicating with Raft dependency. Raft is shutting down. RaftNetwork MailboxError(Mailbox has closed) thread 'actix-rt:worker:0' panicked at 'attempted to leave type futures::task::Task uninitialized, which is invalid',

I see a long stack trace with the following code implicated:

   1: <raftor::raft::client::RaftClient as actix::handler::Handler<raftor::raft::client::InitRaft>>::handle::{{closure}}::{{closure}}
             at ./src/raft/client.rs:183:42
Inited with config!

adsharma avatar Mar 21 '21 05:03 adsharma

Hey! Thank you for posting this issue! From what I remember I could ran 4 nodes without a problem. It's been long time since I've worked on this project. I definitely have to upgrade the project to use async-raft instead of actix-raft and migrate the project to use tokio based libs instead of actix.

It's going to take some time to do so, If you want to help out and submit PR's I'd be happy to review and merge :)

oronsh avatar Apr 08 '21 09:04 oronsh