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

After dropping a shard and restarting server panics #283

Closed
pauldix opened this issue Feb 27, 2014 · 0 comments
Closed

After dropping a shard and restarting server panics #283

pauldix opened this issue Feb 27, 2014 · 0 comments
Assignees
Milestone

Comments

@pauldix
Copy link
Member

pauldix commented Feb 27, 2014

Stacktrace:

[2014/02/27 11:17:50 UTC] [INFO] (coordinator.(*RaftServer).raftEventHandler:394) (raft:7f9daa9) Selected as leader. Starting leader loop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0xb0 pc=0x55ecea]

goroutine 15 [running]:
runtime.panic(0x87d020, 0xff21a8)
    /home/vagrant/bin/go/src/pkg/runtime/panic.c:266 +0xb6
cluster.(*ClusterConfiguration).updateOrRemoveShard(0xc2100d5000, 0x2, 0xc21016a390, 0x2, 0x4)
    /home/vagrant/influxdb/src/cluster/cluster_configuration.go:973 +0xaa
cluster.(*ClusterConfiguration).DropShard(0xc2100d5000, 0x2, 0xc21016a390, 0x2, 0x4, ...)
    /home/vagrant/influxdb/src/cluster/cluster_configuration.go:903 +0x52
coordinator.(*DropShardCommand).Apply(0xc210143da0, 0x7f1537edc290, 0xc210050000, 0x7f1537ee2390, 0xc210143da0, ...)
    /home/vagrant/influxdb/src/coordinator/command.go:268 +0x7b
github.com/goraft/raft.func·005(0xc210085600, 0x7f1537ed9678, 0xc210143da0, 0x20, 0x20, ...)
    /home/vagrant/influxdb/src/github.com/goraft/raft/server.go:195 +0x364
github.com/goraft/raft.(*Log).setCommitIndex(0xc210073a10, 0x21, 0x0, 0x0)
    /home/vagrant/influxdb/src/github.com/goraft/raft/log.go:371 +0x36e
github.com/goraft/raft.(*server).processAppendEntriesResponse(0xc210050000, 0xc2100bcb00)
    /home/vagrant/influxdb/src/github.com/goraft/raft/server.go:948 +0x4b2
github.com/goraft/raft.(*server).leaderLoop(0xc210050000)
    /home/vagrant/influxdb/src/github.com/goraft/raft/server.go:775 +0x4d0
github.com/goraft/raft.(*server).loop(0xc210050000)
    /home/vagrant/influxdb/src/github.com/goraft/raft/server.go:560 +0x33f
created by github.com/goraft/raft.(*server).Start
    /home/vagrant/influxdb/src/github.com/goraft/raft/server.go:465 +0x7af
@pauldix pauldix added this to the 0.5.0 milestone Feb 27, 2014
@pauldix pauldix self-assigned this Feb 27, 2014
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

1 participant