Skip to content
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.

Error in Multiple Instances #21

Open
niketkdoshi opened this issue Feb 8, 2016 · 3 comments
Open

Error in Multiple Instances #21

niketkdoshi opened this issue Feb 8, 2016 · 3 comments

Comments

@niketkdoshi
Copy link

Hi,
I am not able to start the multiple instances i.e nodes which will follow the leader.
Please help or you can post video of how you are instantiating multiple servers so that we can also do the same.

Error :

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0xb0 pc=0x4a7962]

goroutine 1 [running]:
github.com/goraft/raftd/server.(*Server).Join(0xc820082080, 0x86d2e0, 0x15, 0x0, 0x0)
    /~/newraft/src/github.com/goraft/raftd/server/server.go:132 +0x62
main.main()
    ~/newraft/src/github.com/goraft/node/raftd/main.go:66 +0x5e8

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
exit status 2
@philips
Copy link
Member

philips commented Feb 8, 2016

Sorry, this project is unmaintained: https://github.com/goraft/raftd#raftd

@niketkdoshi
Copy link
Author

Hi,
I can run multiple instances of the nodes and it works fine.
But the only issue is automatic leader selection fails if I have only 1 leader & 1 follower and leader fails then follower is not being the leader until an unless any other client joins the network

@philips
Copy link
Member

philips commented Feb 8, 2016

I get what you are saying. But, I am just trying to set expecations that no one is going to fix this bug nor help you.

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

No branches or pull requests

2 participants