-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Crash after convert from bz1 -> tsm1 (0.9.6.1 -> 0.10.0-beta2/Nightly) #5468
Comments
It looks like the field being compared is storing two different value types (integer and floating point). We should probably be handling this gracefully, rather than assuming that all values in a given field have the same type. |
On further review, a field shouldn't be able to have more than one value type. @ljagiello Are you able to consistently reproduce this? Do you have more detailed instructions or a sample database that I could use to better track down how/why this is happening? If not, I can try to reproduce it locally, but it might take longer to figure out how you got multiple value types in the same field. |
@joelegasse I'll try to create a small test for that later today. |
@joelegasse its possible to have the same field be a different type for the same measurement, provided that they're in different shards. |
@mjdesa Thanks for the info. I'll start running that down in the morning. It sounds like we are going to have to gracefully handle comparisons of various types. |
@joelegasse I tried with multiple data sets and I was unable to reproduce this bug in my dev environment. It might be as @mjdesa suggest different type in a different shard. |
@ljagiello Are you running a cluster of nodes, or just a single node? |
Just a single node |
@ljagiello Can you send us the output to a |
I'm going to close this issue and focus on #5478, since it looks like clustering is causing the problem. The beta 2 release had an issue that caused some single-node instances to split into multiple data nodes, and I think that's why you saw the clustering panic on a single node. @ljagiello Please let me know if you run into this again on a single node. |
Metrics were collected with telegraf (rabbitmq plugin), saved in Influxdb 0.9.6.1 (default bz1 engine). Database converted with
influx_tsm
bz1 -> tsm1. After start and query instant crash (0.10-beta2 and nightly build is the same).After removing databases and starting from scratch with 0.10.0-beta2 everything with the same query is working perfectly fine.
The text was updated successfully, but these errors were encountered: