influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Convert SHOW TAG KEYS to distributed query

Open dgnorton opened this issue 11 years ago • 9 comments

dgnorton avatar Jul 10 '15 19:07 dgnorton

Is the issue fixed? I test it ok at 0.9.4

li-ang avatar Nov 04 '15 03:11 li-ang

@li-ang this issue applies only to clusters. The query is known to work on single node systems, but there are some cluster-specific features yet to be completed.

beckettsean avatar Nov 04 '15 18:11 beckettsean

I mean I test show tag keys is ok on 0.9.4 influxdb cluster with three node and the replication of the retention policy is 3. Is there a pr fix the issue but not # ?

li-ang avatar Nov 05 '15 01:11 li-ang

@li-ang A fully replicated cluster is effectively the same as a single instance for queries. Every node has all the data and can answer any query independently. In a non-fully replicated cluster, nodes have to ask other nodes for data, which is what this issue covers.

beckettsean avatar Nov 05 '15 05:11 beckettsean

@beckettsean Got it! Thank you very much!

li-ang avatar Nov 05 '15 05:11 li-ang

Hello, is that issue supposed to be fixed ?

I am currently running with v0.9.5-rc1 with a 8 nodes cluster.

SHOW TAG KEYS FROM ... generates the following error: Server returned error: write message type: write tcp [::1]:45760->[::1]:8098: use of closed network connection

It is interesting that the SHOW TAG VALUES FROM "measurement_name" WITH KEY = "tag_key" works fine.

Could the issue with the SHOW TAG KEYS be similar to the SHOW MEASUREMENT issue from #4927 and #4833.

BTW SHOW MEASUREMENTS seems fixed and runs almost properly since I applied commit: f8040269d96c1faff47d73ca9a2cc872bf948165. (I still run into an issue where I get Server returned error: read message type: read tcp [::1]:57346->[::1]:8093: i/o timeout with a database of ~2700 series with ~40000 datapoint each)

Styx13 avatar Nov 30 '15 22:11 Styx13

@Styx13 the issue is not closed, so it is not fixed. This is a cluster-specific issue, which is why @li-ang did not hit it when testing on a single node.

beckettsean avatar Dec 01 '15 00:12 beckettsean

please refer to PR: https://github.com/influxdb/influxdb/pull/5101

CrazyJvm avatar Dec 12 '15 15:12 CrazyJvm

Closing this out because it's no longer applicable.

toddboom avatar Mar 23 '16 01:03 toddboom