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

Error in Multiple Instances #21

Open
@niketkdoshi

Description

@niketkdoshi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载