-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix SHOW MEASUREMENTS across the cluster #4833
Conversation
@dgnorton -- can you review? |
+1 |
Thanks @li-ang |
Fix SHOW MEASUREMENTS across the cluster
Hi, I'm testing the last nightly build with this commit apply, I have previously the same error " cannot unmarshal array", now I'm getting a new error message "use of closed network connection" |
@aderumier Can you show your test log? |
I don't see any special log in influxd.log. (is it possible to increase verbosity ?) client test: Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
(Note that it's still working fine with my others database, where I didn't have the unmarshal array error previously) |
Do you use whether InfluxDB cluster or InfluxDB single node? @aderumier |
With 0.9.6-nightly-3b035cc I also see the same error when running "show measurements". It seems to only happen when the number of replicas is less than the number of nodes in the cluster. Previously I had the "cannot unmarshal array" error in this situation. |
Thanks @alahiff ! I will confirm the commit ASAP! In InfluxDB official website , there is such a description as following |
I have a 3 nodes cluster, name duration replicaN default I could be great to be able to have an option "replica" in [retention] configuration, |
Go it! Thanks @aderumier |
@aderumier @alahiff |
fix
SHOW MEASUREMENTS
described by issue #4550SHOW MEASUREMENTS
maybe returnERR: json: cannot unmarshal array into Go value of type tsdb.MapperOutputJSON
accross the cluster.