Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

index initialisation errors are ignored #324

Closed
Dieterbe opened this issue Sep 20, 2016 · 0 comments · Fixed by #325
Closed

index initialisation errors are ignored #324

Dieterbe opened this issue Sep 20, 2016 · 0 comments · Fixed by #325

Comments

@Dieterbe
Copy link
Contributor

Dieterbe commented Sep 20, 2016

it's possible to get errors like :

cat logs/metrictank0.log | grep IDX
2016/09/20 10:49:48 [I] IDX-C Initializing. Hosts=cassandra:9042
2016/09/20 10:49:49 [cassandra.go:106 Init()] [E] IDX-C failed to initialize cassandra table. gocql: no response received from cassandra within timeout period

metrictank will run happily but not actually save any data to the index, because we ignore Init errors :
https://github.com/raintank/metrictank/blob/master/metrictank.go#L323-L343

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

Successfully merging a pull request may close this issue.

1 participant