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

added logic to handle corrupt whisper file without archive info #548

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

auguzun
Copy link
Contributor

@auguzun auguzun commented Mar 1, 2023

Fixes problem with Index out of range panic which happens during read request with corrupt file.

panic: runtime error: index out of range [0] with length 0 goroutine 131144 [running]: github.com/go-graphite/go-carbon/carbonserver.(*CarbonserverListener).fetchFromDisk(0xc0001bee00,{0xc14dbea280, 0x75}, 0x63fedf9f, 0x63ff4211) go-carbon[55052]: carbonserver/fetchfromdisk.go:52 +0xfa9

@auguzun auguzun merged commit 40e8251 into master Mar 2, 2023
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

Successfully merging this pull request may close these issues.

2 participants