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

[0.10.1] panic: runtime error: slice bounds out of range #6022

Closed
jackzampolin opened this issue Mar 15, 2016 · 4 comments
Closed

[0.10.1] panic: runtime error: slice bounds out of range #6022

jackzampolin opened this issue Mar 15, 2016 · 4 comments

Comments

@jackzampolin
Copy link
Contributor

Instances are clustered and restart of any of the nodes causes this panic:

panic: runtime error: slice bounds out of range

goroutine 71 [running]:
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*indirectIndex).UnmarshalBinary(0xc222850f00, 0x7f715
abea3c9, 0x7efa2a, 0x7efa32, 0x0, 0x0)
        /tmp/tmp.n7AHL1nb9U/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/reader.go:639 +0x45f

Nodes cannot be restarted currently. The logs from the nodes are attached

Gist with logs

Tagging @joelegasse per his request

@joelegasse
Copy link
Contributor

Would it be possible to get a copy of the database that is causing the issue?

Is this limited to 0.10.1? Or is this also seen in 0.10.3?

@joelegasse
Copy link
Contributor

This appears to be a corrupt/truncated index from where the code is panicking. We can (and should) add some checks to make sure everything doesn't crash, but that wouldn't fix the ability to load the data, or even prevent the corruption if we happen to be creating these corrupt indexes ourselves.

@jwilder
Copy link
Contributor

jwilder commented Mar 21, 2016

Should be fixed via #6082

@beckettsean
Copy link
Contributor

related to #5889

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

No branches or pull requests

4 participants