Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running a 3 node cluster triggers uninitialized memory #5

Open
adsharma opened this issue Mar 21, 2021 · 1 comment
Open

Running a 3 node cluster triggers uninitialized memory #5

adsharma opened this issue Mar 21, 2021 · 1 comment

Comments

@adsharma
Copy link

[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!
@oronsh
Copy link
Owner

oronsh commented Apr 8, 2021

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants