taosdata/TDengine

can't use client to query data from a follower node

Open

#26.465 aperta il 8 lug 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C (5002 fork)batch import
help wantedquestion

Metriche repository

Star
 (24.849 star)
Metriche merge PR
 (Merge medio 1g 1h) (4 PR mergiate in 30 g)

Descrizione

Ubuntu系统,三个服务器分别为tdengine01、tdengine02和tdengine03 /etc/hosts中配置如下: 192.168.1.190 tdengine00 192.168.1.191 tdengine01 192.168.1.192 tdengine02

/etc/taos/taos.cfg下配置如下: ############### 1. Cluster End point ############################

The end point of the first dnode in the cluster to be connected to when this dnode or the CLI utility is started

firstEp tdengine02:6030

The end point of the second dnode to be connected to if the firstEp is not available

secondEp tdengine01:6030

############### 2. Configuration Parameters of current dnode #####

The FQDN of the host on which this dnode will be started. It can be IP address

fqdn tdengine02

启动服务后三台服务器中均能查询到数据(直接再服务器终端中进行数据查询): taos> show databases; name |

information_schema | performance_schema | log | now_tech | Query OK, 4 row(s) in set (0.004447s) 其中now_tech为我新增的数据库 然而,当我通过Windows的TDengine-client登录服务器查询数据时,只有做为主服务器的tdengine02上能查询到数据,其它从服务器上均无法查询到数据,请问这是BUG还是配置错误? 主服务器上: image 从服务器上: image image

Guida contributor