-
Notifications
You must be signed in to change notification settings - Fork 107
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
nil pointer dereference when setting partition leader #354
Comments
Are you able to reproduce the issue reliably? |
Yes. This node fails every restart. |
It seems like what's happening is that the node is becoming leader for a partition but the node is not part of the ISR, thus Do you have the logs leading up to the crash? It would seem this node was removed from the ISR and then somehow became leader for the partition. |
Crash occuring when I'm starting 3 liftbridge nodes in docker containers. There is full log from all 3 nodes.
For reason unexplained the second node crashes just after start. |
Found weird nil pointer dereference issue. Simple 3-node cluster in docker-compose. Pulled up to v1.6.0.
Suddenly, 2nd node starts to crash on startup during the raft election.
I've tried to clean 2nd node data directiory without visible result.
I can suppose the reason in following code in partition.go
p.isr contains nil pointer, set somewhere before.
The text was updated successfully, but these errors were encountered: