You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a note sent to the support team, recreating it here:
I am running on 3 nodes CENTOS 6.6 and i have created InfluxDB Cluster Configuration as very well exaplined in docs section. (i have installed InfluxDB 0.9.2 on all 3 nodes).
On the first node i created a database with: create database mydb which appeared on the other 3 nodes. I have inserted a measurement called cpu_load which also appeared on the other 3 nodes. All good and working as expected until now.
I have inserted another measurement called "cpu time" using the following line command: insert cpu\ time,hostname=server01 value=100. On this node i could succesfully query it and i had the following results:
> show series
name: cpu time
--------------
_key hostname
cpu\ time,hostname=server01 server01
Now when i tried to query it on the other nodes, i got a slightly different result:(pay attention to _key):
On 2nd and 3rd node:
> show series
name: cpu time
--------------
_key hostname
cpu\\ time,hostname=server01 server01
So my guess is that when we insert measurements containing spaces, the replication is not working very well - it seems to add one more backslash to measurement _key on the other nodes.
There are two bugs here: one is that the backslash gets duplicated when copied to the other nodes. The second is that the insert statement should never have created a measurement name with a backslash, it should have preserved the space. The second bug is fixed in 0.9.3 I believe, but the first is likely still valid.
The text was updated successfully, but these errors were encountered:
From a note sent to the support team, recreating it here:
I am running on 3 nodes CENTOS 6.6 and i have created InfluxDB Cluster Configuration as very well exaplined in docs section. (i have installed InfluxDB 0.9.2 on all 3 nodes).
On the first node i created a database with:
create database mydb
which appeared on the other 3 nodes. I have inserted a measurement called cpu_load which also appeared on the other 3 nodes. All good and working as expected until now.I have inserted another measurement called "cpu time" using the following line command:
insert cpu\ time,hostname=server01 value=100
. On this node i could succesfully query it and i had the following results:Now when i tried to query it on the other nodes, i got a slightly different result:(pay attention to _key):
On 2nd and 3rd node:
So my guess is that when we insert measurements containing spaces, the replication is not working very well - it seems to add one more backslash to measurement _key on the other nodes.
There are two bugs here: one is that the backslash gets duplicated when copied to the other nodes. The second is that the insert statement should never have created a measurement name with a backslash, it should have preserved the space. The second bug is fixed in 0.9.3 I believe, but the first is likely still valid.
The text was updated successfully, but these errors were encountered: