Giter VIP home page Giter VIP logo

tdengine-operator's Introduction

TDengine on Kubernetes

This document is for TDengine deployment on Kubernetes(k8s). All the things we do is for who love TDengine and want to take it to k8s. We are hosting the ducumentation on taosdata/TDengine-Operator. Anyone want to help improve the ducumentations could edit the markdown files.

If you encounter problems following the operations, you can always add our official WeChat "tdengine" to join our chat group to get help from us and other TDengine users.

Note: Please switch 2.0 branch if you want to run Kubernetes with TDengine 2.x.

tdengine-operator's People

Contributors

0xff-dev avatar eliacy avatar ggggarlic avatar huskar-t avatar liuyuan199303 avatar muicoder avatar sangshuduo avatar wingwing2005 avatar zitsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tdengine-operator's Issues

pod CrashLoopBackOff, localEp is different from tdengine-operator-0.tdengine-operator.default.svc.cluster.local:6030 in dnodeEps.json and need reconfigured

helm install tdengine-cluster tdengine-0.3.0.tgz -f values.yaml -n tdengine-operator --create-namespace

create with a namespace, but:
NAME READY STATUS RESTARTS AGE
tdengine-cluster-0 0/1 CrashLoopBackOff 5 4m40s
tdengine-cluster-arbitrator-64779f495b-tnvtd 1/1 Running 0 4m40s

05/19 14:39:57.067581 00000082 UTL ==================================
05/19 14:39:57.067584 00000082 DND dnode storage is initialized at /var/lib/taos/dnode
05/19 14:39:57.067588 00000082 DND step:dnode-storage is initialized
05/19 14:39:57.067612 00000082 DND read file /var/lib/taos/dnode/dnodeCfg.json successed
05/19 14:39:57.067620 00000082 DND dnodeId is set to 1, clusterId is set to a098bf45-0668-4596-94cb-8b1ff72a7936
05/19 14:39:57.069200 00000082 DND successed to write /var/lib/taos/dnode/dnodeCfg.json
05/19 14:39:57.069239 00000082 DND dnode cfg is initialized
05/19 14:39:57.069245 00000082 DND step:dnode-cfg is initialized
05/19 14:39:57.069307 00000082 DND read file /var/lib/taos/dnode/dnodeEps.json successed
05/19 14:39:57.069349 00000082 DND ERROR dnode:1, localEp is different from tdengine-operator-0.tdengine-operator.default.svc.cluster.local:6030 in dnodeEps.json and need reconfigured
05/19 14:39:57.069399 00000082 DND Failed to start TDengine, please check the log at:/var/log/taos

namespace is default for default, is not tdengine-operator.

helm布署的,模拟故障,删除所有pod后,无法自动恢复。

版本
helm install tdengine3 -n xx-ns xx/tdengine --version 3.0.2
--create-namespace
--set replicaCount=3
--set storage.dataSize=100Gi
--set storage.logSize=2Gi
--values <(echo '
{"taoscfg":{"TAOS_REPLICA":"3","TAOS_NUM_OF_MNODES":"3"}}
')

04/23 12:11:21.138460 00000091 SYN ERROR failed to resolve ipv4 addr, fqdn: tdengine3-1.tdengine3.iot-ns.svc.cluster.local
04/23 12:11:21.138480 00000091 SYN ERROR vgId:3, failed to determine raft member id, peer:0
04/23 12:11:21.138493 00000091 SYN ERROR vgId:3, failed to open sync node
04/23 12:11:21.138558 00000091 VND ERROR vgId:3, failed to open sync since Invalid host name
04/23 12:11:21.138563 00000091 VND ERROR vgId:3, failed to open sync since Invalid host name
04/23 12:11:21.138671 00000090 SYN ERROR failed to resolve ipv4 addr, fqdn: tdengine3-1.tdengine3.iot-ns.svc.cluster.local
04/23 12:11:21.138682 00000090 SYN ERROR vgId:2, failed to determine raft member id, peer:0
04/23 12:11:21.138693 00000090 SYN ERROR vgId:2, failed to open sync node
04/23 12:11:21.138697 00000090 VND ERROR vgId:2, failed to open sync since Invalid host name
04/23 12:11:21.138701 00000090 VND ERROR vgId:2, failed to open sync since Invalid host name
04/23 12:11:21.139889 00000091 DND ERROR vgId:3, failed to open vnode by thread:1
04/23 12:11:21.139954 00000090 DND ERROR vgId:2, failed to open vnode by thread:0
04/23 12:11:21.140001 00000054 DND ERROR there are total vnodes:2, opened:0
04/23 12:11:21.140011 00000054 DND ERROR failed to open vnode since success
04/23 12:11:21.140014 00000054 DND ERROR failed to init vnodes-mgmt since success
04/23 12:11:21.140018 00000054 DND start to close all vnodes
04/23 12:11:21.140047 00000089 UTL worker:vnode-mgmt:0 qset:0x49fc5d0, got no message and exiting, thread:00000089
04/23 12:11:21.140089 00000054 DND vnodes mgmt worker is stopped
04/23 12:11:21.140102 00000054 DND close 0 vnodes with 8 threads

Kubernetes Ingress

Hi,

i installed the Helm Chart on our Kubernetes and the Pods are running, created an NGINX Controller with TCP UDP Proxy but it can only map TCP or UDP on the same Port - when I publish the TCP-6030 Port i get "taos connect failed, reason: Unable to establish connection." if i make a curl command on port 6041 the response is success

is there a chance to access the ClusterIP only over the TCP Port

BR

目前发现的一些问题

  1. 因为探针使用的是 taos -s show mnodes 这个命令隐含了使用默认密码。因此修改默认密码后,探针永远无法就绪。感觉这个问题需要改tdengine的代码,探针不应该登陆才能查看。

k8s集群外taos访问tdengine服务器问题

问题

大家好,我在试用helm方式部署tdengine的时候,在集群外服务器上taos无法成功连接。tdengine版本为2.1.1.0。望各位大佬指出问题。

配置文件与日志

如下是values.yml内容:

# Default values for tdengine.
# This is a YAML-formatted file.
# Declare variables to be passed into helm templates.

replicaCount: 1

image:
  repository: docker.nju.edu.cn/zitsen/tdengine-server
  pullPolicy:
    IfNotPresent
    # Overrides the image tag whose default is the chart appVersion.
    #tag: ""

service:
  # ClusterIP is the default service type, use NodeIP only if you know what you are doing.
  type: ClusterIP
  ports:
    # TCP range required
    tcp: [6030, 6035, 6040, 6041]
    # UDP range 6030-6039
    udp: [6030, 6031, 6032, 6033, 6034, 6035, 6036, 6037, 6038, 6039]

# Set timezone here, not in taoscfg
timezone: "Asia/Shanghai"

resources:
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  limits:
    cpu: 1000m
    memory: 2048Mi
  requests:
    cpu: 250m
    memory: 2048Mi

storage:
  # Set storageClassName for pvc. K8s use default storage class if not set.
  #
  className: "dce-uds-local-storage-hdd-lvm-ha"
  dataSize: "100Gi"
  logSize: "10Gi"

# Config settings in taos.cfg file.
#
# The helm/k8s support will use environment variables for taos.cfg,
# converting an upper-snake-cased variable like `TAOS_DEBUG_FLAG`,
# to a camelCase taos config variable `debugFlag`.
#
# See the variable list at https://www.taosdata.com/cn/documentation/administrator .
#
# Note:
# 1. firstEp/secondEp: should not be setted here, it's auto generated at scale-up.
# 2. serverPort: should not be setted, we'll use the default 6030 in many places.
# 3. fqdn: will be auto generated in kubenetes, user should not care about it.
# 4. role: currently role is not supported - every node is able to be mnode and vnode.
#
# Btw, keep quotes "" around the value like below, even the value will be number or not.
taoscfg:
  # Starts as cluster or not, must be 0 or 1.
  #   0: all pods will start as a seperate TDengine server
  #   1: pods will start as TDengine server cluster. [default]
  CLUSTER: "0"

  # number of days per DB file
  #TAOS_DAYS: "10"

  # number of days to keep DB file, default is 10 years.
  TAOS_KEEP: "3650"
  # cache block size (Mbyte)
  #TAOS_CACHE: "16"
  # number of cache blocks per vnode
  #TAOS_BLOCKS: "6"
  # minimum rows of records in file block
  #TAOS_MIN_ROWS: "100"
  # maximum rows of records in file block
  #TAOS_MAX_ROWS: "4096"
  #
  # TAOS_NUM_OF_THREADS_PER_CORE: number of threads per CPU core
  #TAOS_NUM_OF_THREADS_PER_CORE: "1.0"
  #
  # TAOS_NUM_OF_COMMIT_THREADS: number of threads to commit cache data
  #TAOS_NUM_OF_COMMIT_THREADS: "4"
  #
  # TAOS_RATIO_OF_QUERY_CORES:
  # the proportion of total CPU cores available for query processing
  # 2.0: the query threads will be set to double of the CPU cores.
  # 1.0: all CPU cores are available for query processing [default].
  # 0.5: only half of the CPU cores are available for query.
  # 0.0: only one core available.
  #TAOS_RATIO_OF_QUERY_CORES: "1.0"
  #
  # TAOS_KEEP_COLUMN_NAME:
  # the last_row/first/last aggregator will not change the original column name in the result fields
  #TAOS_KEEP_COLUMN_NAME: "0"
  # number of management nodes in the system
  #TAOS_NUM_OF_MNODES: "3"
  # enable/disable backuping vnode directory when removing vnode
  #TAOS_VNODE_BAK: "1"
  # enable/disable installation / usage report
  #TAOS_TELEMETRY_REPORTING: "1"
  # enable/disable load balancing
  #TAOS_BALANCE: "1"
  # max timer control blocks
  #TAOS_MAX_TMR_CTRL: "512"
  # time interval of system monitor, seconds
  #TAOS_MONITOR_INTERVAL: "30"
  # number of seconds allowed for a dnode to be offline, for cluster only
  #TAOS_OFFLINE_THRESHOLD: "8640000"
  # RPC re-try timer, millisecond
  #TAOS_RPC_TIMER: "1000"
  # RPC maximum time for ack, seconds.
  #TAOS_RPC_MAX_TIME: "600"
  # time interval of dnode status reporting to mnode, seconds, for cluster only
  #TAOS_STATUS_INTERVAL: "1"
  # time interval of heart beat from shell to dnode, seconds
  #TAOS_SHELL_ACTIVITY_TIMER: "3"
  # minimum sliding window time, milli-second
  #TAOS_MIN_SLIDING_TIME: "10"
  # minimum time window, milli-second
  #TAOS_MIN_INTERVAL_TIME: "10"
  # maximum delay before launching a stream computation, milli-second
  #TAOS_MAX_STREAM_COMP_DELAY: "20000"
  # maximum delay before launching a stream computation for the first time, milli-second
  #TAOS_MAX_FIRST_STREAM_COMP_DELAY: "10000"
  # retry delay when a stream computation fails, milli-second
  #TAOS_RETRY_STREAM_COMP_DELAY: "10"
  # the delayed time for launching a stream computation, from 0.1(default, 10% of whole computing time window) to 0.9
  #TAOS_STREAM_COMP_DELAY_RATIO: "0.1"
  # max number of vgroups per db, 0 means configured automatically
  #TAOS_MAX_VGROUPS_PER_DB: "0"
  # max number of tables per vnode
  #TAOS_MAX_TABLES_PER_VNODE: "1000000"
  # the number of acknowledgments required for successful data writing
  #TAOS_QUORUM: "1"
  # enable/disable compression
  #TAOS_COMP: "2"
  # write ahead log (WAL) level, 0: no wal; 1: write wal, but no fysnc; 2: write wal, and call fsync
  #TAOS_WAL_LEVEL: "1"
  # if walLevel is set to 2, the cycle of fsync being executed, if set to 0, fsync is called right away
  #TAOS_FSYNC: "3000"
  # number of replications, for cluster only
  #TAOS_REPLICA: "1"
  # the compressed rpc message, option:
  #  -1 (no compression)
  #   0 (all message compressed),
  # > 0 (rpc message body which larger than this value will be compressed)
  #TAOS_COMPRESS_MSG_SIZE: "-1"
  # max length of an SQL
  #TAOS_MAX_SQL_LENGTH: "1048576"
  # the maximum number of records allowed for super table time sorting
  #TAOS_MAX_NUM_OF_ORDERED_RES: "100000"
  # max number of connections allowed in dnode
  #TAOS_MAX_SHELL_CONNS: "5000"
  # max number of connections allowed in client
  #TAOS_MAX_CONNECTIONS: "5000"
  # stop writing logs when the disk size of the log folder is less than this value
  #TAOS_MINIMAL_LOG_DIR_G_B: "0.1"
  # stop writing temporary files when the disk size of the tmp folder is less than this value
  #TAOS_MINIMAL_TMP_DIR_G_B: "0.1"
  # if disk free space is less than this value, taosd service exit directly within startup process
  #TAOS_MINIMAL_DATA_DIR_G_B: "0.1"
  # One mnode is equal to the number of vnode consumed
  #TAOS_MNODE_EQUAL_VNODE_NUM: "4"
  # enbale/disable http service
  #TAOS_HTTP: "1"
  # enable/disable system monitor
  #TAOS_MONITOR: "1"
  # enable/disable recording the SQL statements via restful interface
  #TAOS_HTTP_ENABLE_RECORD_SQL: "0"
  # number of threads used to process http requests
  #TAOS_HTTP_MAX_THREADS: "2"
  # maximum number of rows returned by the restful interface
  #TAOS_RESTFUL_ROW_LIMIT: "10240"
  # The following parameter is used to limit the maximum number of lines in log files.
  # max number of lines per log filters
  # numOfLogLines         10000000
  # enable/disable async log
  #TAOS_ASYNC_LOG: "0"
  #
  # time of keeping log files, days
  #TAOS_LOG_KEEP_DAYS: "0"
  # The following parameters are used for debug purpose only.
  # debugFlag 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
  # 131: output warning and error
  # 135: output debug, warning and error
  # 143: output trace, debug, warning and error to log
  # 199: output debug, warning and error to both screen and file
  # 207: output trace, debug, warning and error to both screen and file
  #
  # debug flag for all log type, take effect when non-zero value\
  #TAOS_DEBUG_FLAG: "143"
  # enable/disable recording the SQL in taos client
  #TAOS_ENABLE_RECORD_SQL: "0"
  # generate core file when service crash
  #TAOS_ENABLE_CORE_FILE: "1"
  # maximum display width of binary and nchar fields in the shell. The parts exceeding this limit will be hidden
  #TAOS_MAX_BINARY_DISPLAY_WIDTH: "30"
  # enable/disable stream (continuous query)
  #TAOS_STREAM: "1"
  # in retrieve blocking model, only in 50% query threads will be used in query processing in dnode
  #TAOS_RETRIEVE_BLOCKING_MODEL: "0"
  # the maximum allowed query buffer size in MB during query processing for each data node
  # -1 no limit (default)
  # 0  no query allowed, queries are disabled
  #TAOS_QUERY_BUFFER_SIZE: "-1"

部署后日志如下:

2021-08-16T07:52:39.176735214Z + '[' Asia/Shanghai '!=' '' ']'
2021-08-16T07:52:39.176779216Z + ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2021-08-16T07:52:39.179396390Z + echo Asia/Shanghai
2021-08-16T07:52:39.179571145Z + [[ ! taosd = *\t\a\o\s\d ]]
2021-08-16T07:52:39.179594485Z + DATA_DIR=/var/lib/taos
2021-08-16T07:52:39.179632628Z + '[' tdengine-0.tdengine.shared-services.svc.cluster.local = '' ']'
2021-08-16T07:52:39.180238757Z ++ cat /etc/taos/taos.cfg
2021-08-16T07:52:39.180453034Z ++ grep -v '^#'
2021-08-16T07:52:39.180554911Z ++ grep fqdn
2021-08-16T07:52:39.180673937Z ++ sed -E 's/.*fqdn\s+//'
2021-08-16T07:52:39.184305845Z + ORIG_FQDN=
2021-08-16T07:52:39.184346099Z + '[' '' '!=' '' ']'
2021-08-16T07:52:39.184386862Z + grep tdengine-0.tdengine.shared-services.svc.cluster.local /etc/hosts
2021-08-16T07:52:39.186040161Z 172.29.0.98	tdengine-0.tdengine.shared-services.svc.cluster.local	tdengine-0
2021-08-16T07:52:39.186162355Z + env-to-cfg
2021-08-16T07:52:39.245267581Z + CLUSTER=0
2021-08-16T07:52:39.245286969Z + FIRST_EP_HOST=tdengine-0.tdengine.shared-services.svc.cluster.local
2021-08-16T07:52:39.245291819Z + SERVER_PORT=6030
2021-08-16T07:52:39.245297218Z + '[' -f /var/lib/taos/dnode/mnodeEpSet.json ']'
2021-08-16T07:52:39.245324523Z + '[' tdengine-0.tdengine.shared-services.svc.cluster.local = tdengine-0.tdengine.shared-services.svc.cluster.local ']'
2021-08-16T07:52:39.245339969Z + taosd
2021-08-16T07:52:39.249415649Z 08/16 15:52:39.249306 00000037 DND start to initialize TDengine
2021-08-16T07:52:39.249429287Z 08/16 15:52:39.249343 00000037 DND step:dnode-tfile is initialized
2021-08-16T07:52:39.249433884Z 08/16 15:52:39.249353 00000037 DND step:dnode-rpc is initialized
2021-08-16T07:52:39.249437635Z 08/16 15:52:39.249360 00000037 UTL localEp is: tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.249908806Z 08/16 15:52:39.249855 00000037 UTL WARN timezone not configured, set to system default:Asia/Shanghai (CST, +0800)
2021-08-16T07:52:39.249942416Z 08/16 15:52:39.249908 00000037 UTL WARN locale not configured, set to system default:en_US.UTF-8
2021-08-16T07:52:39.249955272Z 08/16 15:52:39.249919 00000037 UTL WARN charset not configured, set to system default:UTF-8
2021-08-16T07:52:39.249996581Z 08/16 15:52:39.249954 00000037 UTL    check global cfg completed
2021-08-16T07:52:39.250002937Z 08/16 15:52:39.249960 00000037 UTL ==================================
2021-08-16T07:52:39.250006320Z 08/16 15:52:39.249965 00000037 UTL    taos config & system info:
2021-08-16T07:52:39.250010297Z 08/16 15:52:39.249969 00000037 UTL ==================================
2021-08-16T07:52:39.250013504Z 08/16 15:52:39.249974 00000037 UTL  firstEp:                tdengine-0.tdengine.shared-services.svc.cluster.local:6030 
2021-08-16T07:52:39.250026169Z 08/16 15:52:39.249980 00000037 UTL  secondEp:               tdengine-0.tdengine.shared-services.svc.cluster.local:6030 
2021-08-16T07:52:39.250029774Z 08/16 15:52:39.249985 00000037 UTL  fqdn:                   tdengine-0.tdengine.shared-services.svc.cluster.local 
2021-08-16T07:52:39.250038475Z 08/16 15:52:39.249989 00000037 UTL  serverPort:             6030 
2021-08-16T07:52:39.250041924Z 08/16 15:52:39.249995 00000037 UTL  configDir:              /etc/taos 
2021-08-16T07:52:39.250044867Z 08/16 15:52:39.250000 00000037 UTL  logDir:                 /var/log/taos 
2021-08-16T07:52:39.250047778Z 08/16 15:52:39.250011 00000037 UTL  scriptDir:              /etc/taos 
2021-08-16T07:52:39.250050676Z 08/16 15:52:39.250016 00000037 UTL  arbitrator:              
2021-08-16T07:52:39.250055327Z 08/16 15:52:39.250021 00000037 UTL  numOfThreadsPerCore:    1.000000 
2021-08-16T07:52:39.250058361Z 08/16 15:52:39.250037 00000037 UTL  numOfCommitThreads:     4 
2021-08-16T07:52:39.250061813Z 08/16 15:52:39.250041 00000037 UTL  ratioOfQueryCores:      1.000000 
2021-08-16T07:52:39.250066116Z 08/16 15:52:39.250045 00000037 UTL  numOfMnodes:            3 
2021-08-16T07:52:39.250069099Z 08/16 15:52:39.250049 00000037 UTL  vnodeBak:               1 
2021-08-16T07:52:39.250073573Z 08/16 15:52:39.250054 00000037 UTL  telemetryReporting:     1 
2021-08-16T07:52:39.250076645Z 08/16 15:52:39.250060 00000037 UTL  balance:                1 
2021-08-16T07:52:39.250082796Z 08/16 15:52:39.250064 00000037 UTL  balanceInterval:        300 
2021-08-16T07:52:39.250085831Z 08/16 15:52:39.250068 00000037 UTL  role:                   0 
2021-08-16T07:52:39.250088761Z 08/16 15:52:39.250072 00000037 UTL  maxTmrCtrl:             512 
2021-08-16T07:52:39.250092591Z 08/16 15:52:39.250076 00000037 UTL  monitorInterval:        30(s)
2021-08-16T07:52:39.250110071Z 08/16 15:52:39.250084 00000037 UTL  offlineThreshold:       864000(s)
2021-08-16T07:52:39.250116334Z 08/16 15:52:39.250090 00000037 UTL  rpcTimer:               1000(ms)
2021-08-16T07:52:39.250119513Z 08/16 15:52:39.250094 00000037 UTL  rpcForceTcp:            0 
2021-08-16T07:52:39.250122790Z 08/16 15:52:39.250098 00000037 UTL  rpcMaxTime:             600(s)
2021-08-16T07:52:39.250125841Z 08/16 15:52:39.250102 00000037 UTL  statusInterval:         1(s)
2021-08-16T07:52:39.250130616Z 08/16 15:52:39.250106 00000037 UTL  shellActivityTimer:     3(s)
2021-08-16T07:52:39.250133908Z 08/16 15:52:39.250110 00000037 UTL  minSlidingTime:         10(ms)
2021-08-16T07:52:39.250137208Z 08/16 15:52:39.250116 00000037 UTL  minIntervalTime:        10(ms)
2021-08-16T07:52:39.250140159Z 08/16 15:52:39.250121 00000037 UTL  maxStreamCompDelay:     20000(ms)
2021-08-16T07:52:39.250143916Z 08/16 15:52:39.250125 00000037 UTL  maxFirstStreamCompDelay:10000(ms)
2021-08-16T07:52:39.250147598Z 08/16 15:52:39.250129 00000037 UTL  retryStreamCompDelay:   10(ms)
2021-08-16T07:52:39.250150772Z 08/16 15:52:39.250135 00000037 UTL  streamCompDelayRatio:   0.100000 
2021-08-16T07:52:39.250162685Z 08/16 15:52:39.250140 00000037 UTL  maxVgroupsPerDb:        0 
2021-08-16T07:52:39.250166240Z 08/16 15:52:39.250144 00000037 UTL  maxTablesPerVnode:      1000000 
2021-08-16T07:52:39.250169234Z 08/16 15:52:39.250149 00000037 UTL  minTablesPerVnode:      1000 
2021-08-16T07:52:39.250173229Z 08/16 15:52:39.250153 00000037 UTL  tableIncStepPerVnode:   1000 
2021-08-16T07:52:39.250176138Z 08/16 15:52:39.250157 00000037 UTL  cache:                  16(Mb)
2021-08-16T07:52:39.250179136Z 08/16 15:52:39.250161 00000037 UTL  blocks:                 6 
2021-08-16T07:52:39.250182829Z 08/16 15:52:39.250165 00000037 UTL  days:                   10 
2021-08-16T07:52:39.250186706Z 08/16 15:52:39.250169 00000037 UTL  keep:                   3650 
2021-08-16T07:52:39.250189681Z 08/16 15:52:39.250173 00000037 UTL  minRows:                100 
2021-08-16T07:52:39.250192557Z 08/16 15:52:39.250177 00000037 UTL  maxRows:                4096 
2021-08-16T07:52:39.250196215Z 08/16 15:52:39.250181 00000037 UTL  comp:                   2 
2021-08-16T07:52:39.250199258Z 08/16 15:52:39.250185 00000037 UTL  walLevel:               1 
2021-08-16T07:52:39.250227013Z 08/16 15:52:39.250194 00000037 UTL  fsync:                  3000 
2021-08-16T07:52:39.250232792Z 08/16 15:52:39.250199 00000037 UTL  replica:                1 
2021-08-16T07:52:39.250235858Z 08/16 15:52:39.250203 00000037 UTL  partitions:             4 
2021-08-16T07:52:39.250238952Z 08/16 15:52:39.250208 00000037 UTL  quorum:                 1 
2021-08-16T07:52:39.250242090Z 08/16 15:52:39.250215 00000037 UTL  update:                 0 
2021-08-16T07:52:39.250245016Z 08/16 15:52:39.250219 00000037 UTL  compressMsgSize:        -1 
2021-08-16T07:52:39.250249240Z 08/16 15:52:39.250223 00000037 UTL  maxSQLLength:           1048576(byte)
2021-08-16T07:52:39.250252534Z 08/16 15:52:39.250228 00000037 UTL  maxNumOfOrderedRes:     100000 
2021-08-16T07:52:39.250255514Z 08/16 15:52:39.250232 00000037 UTL  queryBufferSize:        -1(byte)
2021-08-16T07:52:39.250258445Z 08/16 15:52:39.250236 00000037 UTL  retrieveBlockingModel:  0 
2021-08-16T07:52:39.250261327Z 08/16 15:52:39.250240 00000037 UTL  keepColumnName:         0 
2021-08-16T07:52:39.250265362Z 08/16 15:52:39.250244 00000037 UTL  timezone:               Asia/Shanghai (CST, +0800) 
2021-08-16T07:52:39.250268367Z 08/16 15:52:39.250248 00000037 UTL  locale:                 en_US.UTF-8 
2021-08-16T07:52:39.250271345Z 08/16 15:52:39.250252 00000037 UTL  charset:                UTF-8 
2021-08-16T07:52:39.250275833Z 08/16 15:52:39.250256 00000037 UTL  maxShellConns:          50000 
2021-08-16T07:52:39.250278941Z 08/16 15:52:39.250260 00000037 UTL  maxConnections:         5000 
2021-08-16T07:52:39.250281879Z 08/16 15:52:39.250265 00000037 UTL  minimalLogDirGB:        1.000000(GB)
2021-08-16T07:52:39.250286344Z 08/16 15:52:39.250269 00000037 UTL  minimalTmpDirGB:        1.000000(GB)
2021-08-16T07:52:39.250293612Z 08/16 15:52:39.250273 00000037 UTL  minimalDataDirGB:       2.000000(GB)
2021-08-16T07:52:39.250297047Z 08/16 15:52:39.250278 00000037 UTL  mnodeEqualVnodeNum:     4 
2021-08-16T07:52:39.250300725Z 08/16 15:52:39.250282 00000037 UTL  flowctrl:               1 
2021-08-16T07:52:39.250304271Z 08/16 15:52:39.250286 00000037 UTL  slaveQuery:             1 
2021-08-16T07:52:39.250307149Z 08/16 15:52:39.250290 00000037 UTL  adjustMaster:           1 
2021-08-16T07:52:39.250311449Z 08/16 15:52:39.250294 00000037 UTL  http:                   1 
2021-08-16T07:52:39.250314427Z 08/16 15:52:39.250298 00000037 UTL  mqtt:                   0 
2021-08-16T07:52:39.250324801Z 08/16 15:52:39.250302 00000037 UTL  monitor:                1 
2021-08-16T07:52:39.250328038Z 08/16 15:52:39.250309 00000037 UTL  stream:                 1 
2021-08-16T07:52:39.250331099Z 08/16 15:52:39.250313 00000037 UTL  httpEnableRecordSql:    0 
2021-08-16T07:52:39.250334968Z 08/16 15:52:39.250317 00000037 UTL  telegrafUseFieldNum:    0 
2021-08-16T07:52:39.250337950Z 08/16 15:52:39.250321 00000037 UTL  httpMaxThreads:         20 
2021-08-16T07:52:39.250340893Z 08/16 15:52:39.250325 00000037 UTL  restfulRowLimit:        10240 
2021-08-16T07:52:39.250344681Z 08/16 15:52:39.250329 00000037 UTL  numOfLogLines:          10000000 
2021-08-16T07:52:39.250347676Z 08/16 15:52:39.250333 00000037 UTL  logKeepDays:            0 
2021-08-16T07:52:39.250351269Z 08/16 15:52:39.250337 00000037 UTL  asyncLog:               1 
2021-08-16T07:52:39.250354220Z 08/16 15:52:39.250341 00000037 UTL  debugFlag:              0 
2021-08-16T07:52:39.250358455Z 08/16 15:52:39.250345 00000037 UTL  mDebugFlag:             131 
2021-08-16T07:52:39.250361421Z 08/16 15:52:39.250349 00000037 UTL  dDebugFlag:             135 
2021-08-16T07:52:39.250365105Z 08/16 15:52:39.250353 00000037 UTL  sDebugFlag:             135 
2021-08-16T07:52:39.250368028Z 08/16 15:52:39.250357 00000037 UTL  wDebugFlag:             135 
2021-08-16T07:52:39.250393730Z 08/16 15:52:39.250361 00000037 UTL  sdbDebugFlag:           131 
2021-08-16T07:52:39.250400421Z 08/16 15:52:39.250367 00000037 UTL  rpcDebugFlag:           131 
2021-08-16T07:52:39.250403457Z 08/16 15:52:39.250371 00000037 UTL  tmrDebugFlag:           131 
2021-08-16T07:52:39.250406506Z 08/16 15:52:39.250375 00000037 UTL  cDebugFlag:             131 
2021-08-16T07:52:39.250409641Z 08/16 15:52:39.250379 00000037 UTL  jniDebugFlag:           131 
2021-08-16T07:52:39.250415388Z 08/16 15:52:39.250383 00000037 UTL  odbcDebugFlag:          131 
2021-08-16T07:52:39.250419495Z 08/16 15:52:39.250387 00000037 UTL  uDebugFlag:             131 
2021-08-16T07:52:39.250422582Z 08/16 15:52:39.250391 00000037 UTL  httpDebugFlag:          131 
2021-08-16T07:52:39.250425643Z 08/16 15:52:39.250396 00000037 UTL  mqttDebugFlag:          131 
2021-08-16T07:52:39.250432396Z 08/16 15:52:39.250402 00000037 UTL  monDebugFlag:           131 
2021-08-16T07:52:39.250435686Z 08/16 15:52:39.250406 00000037 UTL  qDebugFlag:             131 
2021-08-16T07:52:39.250439639Z 08/16 15:52:39.250410 00000037 UTL  vDebugFlag:             135 
2021-08-16T07:52:39.250442634Z 08/16 15:52:39.250414 00000037 UTL  tsdbDebugFlag:          131 
2021-08-16T07:52:39.250445522Z 08/16 15:52:39.250418 00000037 UTL  cqDebugFlag:            131 
2021-08-16T07:52:39.250448404Z 08/16 15:52:39.250422 00000037 UTL  enableRecordSql:        0 
2021-08-16T07:52:39.250452069Z 08/16 15:52:39.250426 00000037 UTL  enableCoreFile:         0 
2021-08-16T07:52:39.250455058Z 08/16 15:52:39.250430 00000037 UTL  gitinfo:                 
2021-08-16T07:52:39.250458206Z 08/16 15:52:39.250434 00000037 UTL  gitinfoOfInternal:      NULL 
2021-08-16T07:52:39.250461320Z 08/16 15:52:39.250438 00000037 UTL  buildinfo:              Built at 2021-06-04 03:58 
2021-08-16T07:52:39.250465327Z 08/16 15:52:39.250442 00000037 UTL  version:                2.1.1.0 
2021-08-16T07:52:39.250468355Z 08/16 15:52:39.250449 00000037 UTL  maxBinaryDisplayWidth:  30 
2021-08-16T07:52:39.250471251Z 08/16 15:52:39.250453 00000037 UTL  tempDir:                /tmp/ 
2021-08-16T07:52:39.250474721Z 08/16 15:52:39.250457 00000037 UTL  os pageSize:            4096(KB)
2021-08-16T07:52:39.250498261Z 08/16 15:52:39.250464 00000037 UTL  os openMax:             1048576
2021-08-16T07:52:39.250503527Z 08/16 15:52:39.250470 00000037 UTL  os streamMax:           16
2021-08-16T07:52:39.250506575Z 08/16 15:52:39.250474 00000037 UTL  os numOfCores:          40
2021-08-16T07:52:39.250509719Z 08/16 15:52:39.250478 00000037 UTL  os totalDisk:           0.000000(GB)
2021-08-16T07:52:39.250512740Z 08/16 15:52:39.250485 00000037 UTL  os usedDisk:            0.000000(GB)
2021-08-16T07:52:39.250517096Z 08/16 15:52:39.250489 00000037 UTL  os availDisk:           0.000000(GB)
2021-08-16T07:52:39.250520074Z 08/16 15:52:39.250493 00000037 UTL  os totalMemory:         257444(MB)
2021-08-16T07:52:39.250523132Z 08/16 15:52:39.250498 00000037 UTL  os sysname:             Linux
2021-08-16T07:52:39.250526022Z 08/16 15:52:39.250502 00000037 UTL  os nodename:            tdengine-0
2021-08-16T07:52:39.250528936Z 08/16 15:52:39.250506 00000037 UTL  os release:             3.10.0-1160.el7.x86_64
2021-08-16T07:52:39.250532698Z 08/16 15:52:39.250510 00000037 UTL  os version:             #1 SMP Mon Oct 19 16:18:59 UTC 2020
2021-08-16T07:52:39.250536082Z 08/16 15:52:39.250513 00000037 UTL  os machine:             x86_64
2021-08-16T07:52:39.250539194Z 08/16 15:52:39.250518 00000037 UTL  dataDir: /var/lib/taos
2021-08-16T07:52:39.250542085Z 08/16 15:52:39.250522 00000037 UTL ==================================
2021-08-16T07:52:39.250545656Z 08/16 15:52:39.250526 00000037 DND step:dnode-globalcfg is initialized
2021-08-16T07:52:39.250593191Z 08/16 15:52:39.250569 00000037 TFS disk /var/lib/taos is mounted to tier level 0 id 0
2021-08-16T07:52:39.252364005Z 08/16 15:52:39.252302 00000037 DND dnode storage is initialized at /var/lib/taos/dnode
2021-08-16T07:52:39.252378596Z 08/16 15:52:39.252320 00000037 DND step:dnode-storage is initialized
2021-08-16T07:52:39.252384543Z 08/16 15:52:39.252340 00000037 DND dnode cfg is initialized
2021-08-16T07:52:39.252389460Z 08/16 15:52:39.252347 00000037 DND step:dnode-cfg is initialized
2021-08-16T07:52:39.252414345Z 08/16 15:52:39.252377 00000037 DND dnode eps is initialized
2021-08-16T07:52:39.252426220Z 08/16 15:52:39.252383 00000037 DND step:dnode-eps is initialized
2021-08-16T07:52:39.252430413Z 08/16 15:52:39.252397 00000037 DND dnode minfos is initialized
2021-08-16T07:52:39.252438247Z 08/16 15:52:39.252403 00000037 DND step:dnode-minfos is initialized
2021-08-16T07:52:39.252475948Z 08/16 15:52:39.252446 00000037 WAL wal module is initialized, rsetId:3
2021-08-16T07:52:39.252483559Z 08/16 15:52:39.252452 00000037 DND step:dnode-wal is initialized
2021-08-16T07:52:39.252558040Z 08/16 15:52:39.252524 00000037 DND step:dnode-sync is initialized
2021-08-16T07:52:39.252586365Z 08/16 15:52:39.252551 00000037 DND dnode check is initialized
2021-08-16T07:52:39.252600510Z 08/16 15:52:39.252556 00000037 DND step:dnode-check is initialized
2021-08-16T07:52:39.252604179Z 08/16 15:52:39.252565 00000037 UTL worker:vquery is initialized, min:40 max:40
2021-08-16T07:52:39.252607307Z 08/16 15:52:39.252573 00000037 UTL worker:vfetch is initialized, min:4 max:4
2021-08-16T07:52:39.252611813Z 08/16 15:52:39.252578 00000037 DND step:dnode-vread is initialized
2021-08-16T07:52:39.252614996Z 08/16 15:52:39.252582 00000037 DND dnode vwrite is initialized, max worker 40
2021-08-16T07:52:39.252618060Z 08/16 15:52:39.252588 00000037 DND step:dnode-vwrite is initialized
2021-08-16T07:52:39.252658814Z 08/16 15:52:39.252627 00000037 DND step:vnode-backup is initialized
2021-08-16T07:52:39.252686476Z 08/16 15:52:39.252659 00000037 DND step:vnode-worker is initialized
2021-08-16T07:52:39.252691903Z 08/16 15:52:39.252665 00000037 DND step:vnode-write is initialized
2021-08-16T07:52:39.252695576Z 08/16 15:52:39.252671 00000037 DND step:vnode-read is initialized
2021-08-16T07:52:39.252710164Z 08/16 15:52:39.252676 00000037 DND step:vnode-hash is initialized
2021-08-16T07:52:39.252799127Z 08/16 15:52:39.252767 00000037 DND step:tsdb-queue is initialized
2021-08-16T07:52:39.252804440Z 08/16 15:52:39.252775 00000037 UTL worker:vmgmt is initialized, min:1 max:1
2021-08-16T07:52:39.252822211Z 08/16 15:52:39.252799 00000037 DND dnode vmgmt is initialized
2021-08-16T07:52:39.252827501Z 08/16 15:52:39.252805 00000037 DND step:dnode-vmgmt is initialized
2021-08-16T07:52:39.252841399Z 08/16 15:52:39.252820 00000037 DND step:dnode-mread is initialized
2021-08-16T07:52:39.252846270Z 08/16 15:52:39.252828 00000037 DND step:dnode-mwrite is initialized
2021-08-16T07:52:39.252859053Z 08/16 15:52:39.252835 00000037 DND step:dnode-mpeer is initialized
2021-08-16T07:52:39.256354966Z 08/16 15:52:39.256317 00000037 DND dnode inter-dnodes rpc client is initialized
2021-08-16T07:52:39.256364886Z 08/16 15:52:39.256330 00000037 DND step:dnode-client is initialized
2021-08-16T07:52:39.256940994Z 08/16 15:52:39.256908 00000037 DND dnode inter-dnodes RPC server is initialized
2021-08-16T07:52:39.256946847Z 08/16 15:52:39.256916 00000037 DND step:dnode-server is initialized
2021-08-16T07:52:39.256981561Z 08/16 15:52:39.256948 00000037 DND start 40 threads to open 0 vnodes
2021-08-16T07:52:39.256993695Z 08/16 15:52:39.256955 00000037 DND there are total vnodes:0, opened:0
2021-08-16T07:52:39.256997303Z 08/16 15:52:39.256960 00000037 DND step:dnode-vnodes is initialized
2021-08-16T07:52:39.257001606Z 08/16 15:52:39.256975 00000037 MND starting to initialize mnode ...
2021-08-16T07:52:39.257143872Z 08/16 15:52:39.257120 00000037 DND step:sdbref is initialized
2021-08-16T07:52:39.257213145Z 08/16 15:52:39.257191 00000037 DND step:profile is initialized
2021-08-16T07:52:39.257223278Z 08/16 15:52:39.257204 00000037 DND step:cluster is initialized
2021-08-16T07:52:39.257228354Z 08/16 15:52:39.257211 00000037 DND step:accts is initialized
2021-08-16T07:52:39.257246359Z 08/16 15:52:39.257221 00000037 DND step:users is initialized
2021-08-16T07:52:39.257253298Z 08/16 15:52:39.257235 00000037 DND step:dnodes is initialized
2021-08-16T07:52:39.257271647Z 08/16 15:52:39.257243 00000037 DND step:dbs is initialized
2021-08-16T07:52:39.257276798Z 08/16 15:52:39.257256 00000037 DND step:vgroups is initialized
2021-08-16T07:52:39.257532274Z 08/16 15:52:39.257505 00000037 DND step:tables is initialized
2021-08-16T07:52:39.257540407Z 08/16 15:52:39.257512 00000037 DND step:mnodes is initialized
2021-08-16T07:52:39.257564409Z 08/16 15:52:39.257541 00000037 MND vgId:1, sdb write is opened
2021-08-16T07:52:39.258094311Z 08/16 15:52:39.258058 00000037 SDB vgId:1, open sdb wal for restore
2021-08-16T07:52:39.258156326Z 08/16 15:52:39.258126 00000037 SDB vgId:1, sdb wal load success
2021-08-16T07:52:39.258163475Z 08/16 15:52:39.258133 00000037 SDB vgId:1, sdb start to check for integrity
2021-08-16T07:52:39.258166889Z 08/16 15:52:39.258139 00000037 MND dnode first deploy, create cluster
2021-08-16T07:52:39.258213926Z 08/16 15:52:39.258182 00000037 SDB vgId:1, sdb:cluster is checked, rows:1
2021-08-16T07:52:39.258223203Z 08/16 15:52:39.258189 00000037 MND dnode first deploy, create dnode:tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.258232296Z 08/16 15:52:39.258209 00000037 MND dnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local ep:tdengine-0.tdengine.shared-services.svc.cluster.local:6030 port:6030 is created
2021-08-16T07:52:39.258246244Z 08/16 15:52:39.258222 00000037 MND dnode:1 is created
2021-08-16T07:52:39.258268362Z 08/16 15:52:39.258237 00000037 MND mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local ep:tdengine-0.tdengine.shared-services.svc.cluster.local:6030 port:6030 is created
2021-08-16T07:52:39.258280708Z 08/16 15:52:39.258250 00000037 SDB vgId:1, sdb:dnodes is checked, rows:1
2021-08-16T07:52:39.258283996Z 08/16 15:52:39.258260 00000037 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.258303363Z 08/16 15:52:39.258268 00000037 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.258311620Z 08/16 15:52:39.258286 00000037 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:39.258316866Z 08/16 15:52:39.258291 00000037 SDB vgId:1, sdb:mnodes is checked, rows:1
2021-08-16T07:52:39.258338304Z 08/16 15:52:39.258298 00000037 MND dnode first deploy, create root acct
2021-08-16T07:52:39.258343998Z 08/16 15:52:39.258312 00000037 SDB vgId:1, sdb:accounts is checked, rows:1
2021-08-16T07:52:39.258349559Z 08/16 15:52:39.258321 00000037 MND dnode first deploy, create root user
2021-08-16T07:52:39.258360193Z 08/16 15:52:39.258338 00000037 MND user:root, is created by system
2021-08-16T07:52:39.258370797Z 08/16 15:52:39.258351 00000037 MND user:monitor, is created by system
2021-08-16T07:52:39.258380734Z 08/16 15:52:39.258361 00000037 MND user:_root, is created by system
2021-08-16T07:52:39.258384178Z 08/16 15:52:39.258368 00000037 SDB vgId:1, sdb:users is checked, rows:3
2021-08-16T07:52:39.258387253Z 08/16 15:52:39.258373 00000037 SDB vgId:1, sdb:dbs is checked, rows:0
2021-08-16T07:52:39.258394425Z 08/16 15:52:39.258377 00000037 SDB vgId:1, sdb:vgroups is checked, rows:0
2021-08-16T07:52:39.258397658Z 08/16 15:52:39.258381 00000037 SDB vgId:1, sdb:stables is checked, rows:0
2021-08-16T07:52:39.258400686Z 08/16 15:52:39.258385 00000037 SDB vgId:1, sdb:ctables is checked, rows:0
2021-08-16T07:52:39.258404419Z 08/16 15:52:39.258389 00000037 SDB vgId:1, sdb is restored, mver:1 rows:7 tables:9
2021-08-16T07:52:39.258407428Z 08/16 15:52:39.258394 00000037 DND step:sdb is initialized
2021-08-16T07:52:39.258469916Z 08/16 15:52:39.258439 00000037 MND dnode:1 set access:0 to 0
2021-08-16T07:52:39.258475269Z 08/16 15:52:39.258449 00000037 DND step:balance is initialized
2021-08-16T07:52:39.258478381Z 08/16 15:52:39.258454 00000037 DND step:grant is initialized
2021-08-16T07:52:39.258583981Z 08/16 15:52:39.258550 00000037 DND step:show is initialized
2021-08-16T07:52:39.258592410Z 08/16 15:52:39.258556 00000037 MND mnode is initialized successfully
2021-08-16T07:52:39.258664788Z 08/16 15:52:39.258637 00000037 DND dnode modules is initialized
2021-08-16T07:52:39.258669763Z 08/16 15:52:39.258645 00000037 HTP start http server ...
2021-08-16T07:52:39.259040395Z 08/16 15:52:39.259001 00000037 HTP http result queue is opened
2021-08-16T07:52:39.259736406Z 08/16 15:52:39.259682 00000108 HTP http server init success at 6041
2021-08-16T07:52:39.260019599Z 08/16 15:52:39.259985 00000037 MON monitor module start
2021-08-16T07:52:39.260032184Z 08/16 15:52:39.259996 00000037 DND step:dnode-modules is initialized
2021-08-16T07:52:39.260547311Z 08/16 15:52:39.260496 00000062 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.260559887Z 08/16 15:52:39.260521 00000062 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.260564395Z 08/16 15:52:39.260529 00000062 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:39.260847095Z 08/16 15:52:39.260810 00000037 DND dnode shell rpc server is initialized
2021-08-16T07:52:39.260854836Z 08/16 15:52:39.260821 00000037 DND step:dnode-shell is initialized
2021-08-16T07:52:39.260860505Z 08/16 15:52:39.260827 00000037 DND dnode status timer is initialized
2021-08-16T07:52:39.260866406Z 08/16 15:52:39.260836 00000037 DND step:dnode-statustmr is initialized
2021-08-16T07:52:39.260909516Z 08/16 15:52:39.260879 00000037 DND dnode telemetry is initialized
2021-08-16T07:52:39.260918353Z 08/16 15:52:39.260888 00000037 DND step:dnode-telemetry is initialized
2021-08-16T07:52:39.260923288Z 08/16 15:52:39.260893 00000037 DND TDengine is initialized successfully
2021-08-16T07:52:39.770669571Z 08/16 15:52:39.770571 00000060 MND dnode:1, from offline to online
2021-08-16T07:52:39.770848036Z 08/16 15:52:39.770748 00000050 DND print minfos, mnodeNum:1 inUse:0
2021-08-16T07:52:39.770872474Z 08/16 15:52:39.770782 00000050 DND mnode index:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.771832063Z 08/16 15:52:39.771734 00000050 DND successed to write /var/lib/taos/dnode/mnodeEpSet.json
2021-08-16T07:52:39.771862743Z 08/16 15:52:39.771759 00000050 DND dnodeId is set to 1, clusterId is set to f308b989-a7d1-4c90-a1b1-b103b94105b8
2021-08-16T07:52:39.772626276Z 08/16 15:52:39.772550 00000050 DND successed to write /var/lib/taos/dnode/dnodeCfg.json
2021-08-16T07:52:39.773361806Z 08/16 15:52:39.773277 00000050 DND successed to write /var/lib/taos/dnode/dnodeEps.json
2021-08-16T07:52:39.979694010Z 08/16 15:52:39.979506 00000038 SDB vgId:1, work as mnode, replica:1
2021-08-16T07:52:39.979731902Z 08/16 15:52:39.979544 00000038 SDB vgId:1, mnode:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6040
2021-08-16T07:52:39.979736899Z 08/16 15:52:39.979646 00000038 SDB vgId:1, mnode role changed from master to master
2021-08-16T07:52:39.979740263Z 08/16 15:52:39.979655 00000038 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:39.979743503Z 08/16 15:52:39.979667 00000038 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:39.979759436Z 08/16 15:52:39.979674 00000038 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.979762957Z 08/16 15:52:39.979693 00000038 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.979766011Z 08/16 15:52:39.979714 00000038 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:40.260951503Z 08/16 15:52:40.260844 00000056 MND user:monitor login from 172.29.0.98, result:success
2021-08-16T07:52:40.262261789Z 08/16 15:52:40.262205 00000062 MND db:0.log, is created by monitor
2021-08-16T07:52:40.262510081Z 08/16 15:52:40.262465 00000055 MND msg:0x7f50b80016c0, app:0x5 vgId:2, is created in mnode, db:0.log replica:1
2021-08-16T07:52:40.262515458Z 08/16 15:52:40.262489 00000055 MND msg:0x7f50b80016c0, app:0x5 vgId:2, index:0, dnode:1
2021-08-16T07:52:40.264249779Z 08/16 15:52:40.264128 00000049 VND vgId:2, successed to write /var/lib/taos/vnode/vnode2/config.json
2021-08-16T07:52:40.265045335Z 08/16 15:52:40.265004 00000049 VND vgId:2, vnode dir is created, walLevel:1 fsyncPeriod:3000
2021-08-16T07:52:40.265129890Z 08/16 15:52:40.265087 00000049 VND vgId:2, load vnode cfg successfully, replcia:1
2021-08-16T07:52:40.265143088Z 08/16 15:52:40.265099 00000049 VND vgId:2, dnode:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6040
2021-08-16T07:52:40.266526770Z 08/16 15:52:40.266496 00000049 TDB vgId:2 try to restore meta
2021-08-16T07:52:40.266554884Z 08/16 15:52:40.266534 00000049 TDB vgId:2 no meta file is restored
2021-08-16T07:52:40.268450975Z 08/16 15:52:40.268406 00000049 VND vgId:2, sync role changed from offline to master
2021-08-16T07:52:40.268464263Z 08/16 15:52:40.268417 00000049 DND force send status msg to mnode
2021-08-16T07:52:40.268468737Z 08/16 15:52:40.268424 00000049 QRY vgId:2, set querymgmt reopen
2021-08-16T07:52:40.269328115Z 08/16 15:52:40.269227 00000062 MND msg:0x7f50b80016c0, app:0x5 vgId:2, is created in sdb, db:0.log replica:1
2021-08-16T07:52:40.273138023Z 08/16 15:52:40.273025 00000062 MND stable:0.log.dn, is created in sdb, uid:12140656799783062404
2021-08-16T07:52:40.274380967Z 08/16 15:52:40.274254 00000062 MND stable:0.log.acct, is created in sdb, uid:12140656820184157435
2021-08-16T07:52:47.285944330Z 08/16 15:52:47.285874 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:52:47.286619393Z 08/16 15:52:47.286561 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:47.286637501Z 08/16 15:52:47.286593 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:47.286641621Z 08/16 15:52:47.286603 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:47.286647543Z 08/16 15:52:47.286614 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:47.286651413Z 08/16 15:52:47.286621 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:57.284729445Z 08/16 15:52:57.284645 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:52:57.285345509Z 08/16 15:52:57.285288 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:57.285352111Z 08/16 15:52:57.285318 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:57.285378596Z 08/16 15:52:57.285333 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:57.285394589Z 08/16 15:52:57.285353 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:57.285407912Z 08/16 15:52:57.285362 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:07.275562841Z 08/16 15:53:07.275480 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:07.276316838Z 08/16 15:53:07.276267 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:07.276329730Z 08/16 15:53:07.276286 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:07.276333668Z 08/16 15:53:07.276293 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:07.276338664Z 08/16 15:53:07.276304 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:07.276341976Z 08/16 15:53:07.276319 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:17.273056494Z 08/16 15:53:17.272967 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:17.273627111Z 08/16 15:53:17.273562 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:17.273638893Z 08/16 15:53:17.273583 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:17.273644262Z 08/16 15:53:17.273592 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:17.273648785Z 08/16 15:53:17.273602 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:17.273653796Z 08/16 15:53:17.273612 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:27.269115117Z 08/16 15:53:27.269052 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:27.269755230Z 08/16 15:53:27.269711 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:27.269763913Z 08/16 15:53:27.269736 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:27.269769971Z 08/16 15:53:27.269746 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:27.269777777Z 08/16 15:53:27.269756 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:27.269781105Z 08/16 15:53:27.269763 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:37.267238323Z 08/16 15:53:37.267105 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:37.268035618Z 08/16 15:53:37.267966 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:37.268047349Z 08/16 15:53:37.267992 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:37.268051221Z 08/16 15:53:37.268003 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:37.268054403Z 08/16 15:53:37.268012 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:37.268057654Z 08/16 15:53:37.268020 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:47.724911716Z 08/16 15:53:47.724784 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:47.725442348Z 08/16 15:53:47.725382 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:47.725458937Z 08/16 15:53:47.725405 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:47.725462744Z 08/16 15:53:47.725412 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:47.725465872Z 08/16 15:53:47.725423 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:47.725469830Z 08/16 15:53:47.725430 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:57.272407679Z 08/16 15:53:57.272345 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:57.273021251Z 08/16 15:53:57.272973 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:57.273036526Z 08/16 15:53:57.272987 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:57.273040654Z 08/16 15:53:57.272995 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:57.273043884Z 08/16 15:53:57.273004 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:57.273054808Z 08/16 15:53:57.273010 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:07.276219159Z 08/16 15:54:07.276156 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:07.277010368Z 08/16 15:54:07.276881 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:07.277033308Z 08/16 15:54:07.276921 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:07.277047569Z 08/16 15:54:07.276941 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:07.277061698Z 08/16 15:54:07.276963 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:07.277104352Z 08/16 15:54:07.276987 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:17.429722070Z 08/16 15:54:17.429635 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:17.430332561Z 08/16 15:54:17.430262 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:17.430348930Z 08/16 15:54:17.430278 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:17.430353377Z 08/16 15:54:17.430287 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:17.430356911Z 08/16 15:54:17.430295 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:17.430360266Z 08/16 15:54:17.430301 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:27.274906118Z 08/16 15:54:27.274830 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:27.275477510Z 08/16 15:54:27.275426 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:27.275493944Z 08/16 15:54:27.275438 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:27.275497901Z 08/16 15:54:27.275446 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:27.275509237Z 08/16 15:54:27.275455 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:27.275512843Z 08/16 15:54:27.275463 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:37.278870537Z 08/16 15:54:37.278815 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:37.279489368Z 08/16 15:54:37.279445 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:37.279505265Z 08/16 15:54:37.279467 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:37.279511224Z 08/16 15:54:37.279481 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:37.279514627Z 08/16 15:54:37.279490 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:37.279518283Z 08/16 15:54:37.279497 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:47.642970344Z 08/16 15:54:47.642889 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:47.643611046Z 08/16 15:54:47.643562 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:47.643625801Z 08/16 15:54:47.643592 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:47.643637343Z 08/16 15:54:47.643602 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:47.643641082Z 08/16 15:54:47.643612 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:47.643644369Z 08/16 15:54:47.643619 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:57.278319013Z 08/16 15:54:57.278263 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:57.278954196Z 08/16 15:54:57.278895 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:57.278980733Z 08/16 15:54:57.278909 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:57.278984913Z 08/16 15:54:57.278917 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:57.278988525Z 08/16 15:54:57.278926 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:57.278991889Z 08/16 15:54:57.278933 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:07.270735345Z 08/16 15:55:07.270595 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:07.271260310Z 08/16 15:55:07.271204 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:07.271274853Z 08/16 15:55:07.271228 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:07.271279029Z 08/16 15:55:07.271238 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:07.271282374Z 08/16 15:55:07.271248 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:07.271286712Z 08/16 15:55:07.271254 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:17.729986731Z 08/16 15:55:17.729925 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:17.730696878Z 08/16 15:55:17.730607 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:17.730710398Z 08/16 15:55:17.730628 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:17.730714593Z 08/16 15:55:17.730636 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:17.730718191Z 08/16 15:55:17.730645 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:17.730721566Z 08/16 15:55:17.730650 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:27.289347787Z 08/16 15:55:27.289281 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:27.289982458Z 08/16 15:55:27.289904 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:27.289992183Z 08/16 15:55:27.289924 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:27.289996154Z 08/16 15:55:27.289934 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:27.289999602Z 08/16 15:55:27.289943 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:27.290003049Z 08/16 15:55:27.289951 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:37.270899855Z 08/16 15:55:37.270711 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:37.271376423Z 08/16 15:55:37.271317 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:37.271399540Z 08/16 15:55:37.271339 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:37.271404212Z 08/16 15:55:37.271349 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:37.271408066Z 08/16 15:55:37.271359 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:37.271413887Z 08/16 15:55:37.271364 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:47.270427009Z 08/16 15:55:47.270353 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:47.271010919Z 08/16 15:55:47.270952 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:47.271020375Z 08/16 15:55:47.270973 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:47.271024436Z 08/16 15:55:47.270981 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:47.271027668Z 08/16 15:55:47.270991 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:47.271032151Z 08/16 15:55:47.270996 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:57.271070741Z 08/16 15:55:57.271002 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:57.271745983Z 08/16 15:55:57.271624 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:57.271761065Z 08/16 15:55:57.271659 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:57.271795595Z 08/16 15:55:57.271677 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:57.271809527Z 08/16 15:55:57.271719 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:57.271818640Z 08/16 15:55:57.271737 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:07.275816724Z 08/16 15:56:07.275720 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:07.276396721Z 08/16 15:56:07.276343 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:07.276411095Z 08/16 15:56:07.276366 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:07.276414907Z 08/16 15:56:07.276377 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:07.276431176Z 08/16 15:56:07.276390 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:07.276440786Z 08/16 15:56:07.276397 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:17.273483542Z 08/16 15:56:17.273418 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:17.274148403Z 08/16 15:56:17.274106 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:17.274154140Z 08/16 15:56:17.274125 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:17.274179776Z 08/16 15:56:17.274139 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:17.274196561Z 08/16 15:56:17.274149 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:17.274201046Z 08/16 15:56:17.274156 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:27.281012167Z 08/16 15:56:27.280949 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:27.281653961Z 08/16 15:56:27.281584 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:27.281677471Z 08/16 15:56:27.281601 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:27.281682689Z 08/16 15:56:27.281610 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:27.281686510Z 08/16 15:56:27.281618 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:27.281689898Z 08/16 15:56:27.281625 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:37.274616207Z 08/16 15:56:37.274561 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:37.275274489Z 08/16 15:56:37.275211 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:37.275290150Z 08/16 15:56:37.275233 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:37.275294343Z 08/16 15:56:37.275241 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:37.275297614Z 08/16 15:56:37.275250 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:37.275301022Z 08/16 15:56:37.275257 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:48.037494765Z 08/16 15:56:48.037430 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:48.038200484Z 08/16 15:56:48.038138 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:48.038215368Z 08/16 15:56:48.038163 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:48.038219534Z 08/16 15:56:48.038172 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:48.038223034Z 08/16 15:56:48.038183 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:48.038227056Z 08/16 15:56:48.038188 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:57.287036856Z 08/16 15:56:57.286926 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:57.287650781Z 08/16 15:56:57.287609 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:57.287665558Z 08/16 15:56:57.287623 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:57.287670004Z 08/16 15:56:57.287629 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:57.287673721Z 08/16 15:56:57.287640 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:57.287678803Z 08/16 15:56:57.287645 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:07.267613997Z 08/16 15:57:07.267486 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:07.268195564Z 08/16 15:57:07.268112 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:07.268217522Z 08/16 15:57:07.268140 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:07.268221978Z 08/16 15:57:07.268150 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:07.268225553Z 08/16 15:57:07.268159 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:07.268229114Z 08/16 15:57:07.268165 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:17.337058947Z 08/16 15:57:17.336993 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:17.337692645Z 08/16 15:57:17.337637 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:17.337719696Z 08/16 15:57:17.337661 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:17.337723815Z 08/16 15:57:17.337670 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:17.337735170Z 08/16 15:57:17.337682 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:17.337738898Z 08/16 15:57:17.337689 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:27.279768604Z 08/16 15:57:27.279683 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:27.280346159Z 08/16 15:57:27.280293 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:27.280362181Z 08/16 15:57:27.280313 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:27.280365901Z 08/16 15:57:27.280322 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:27.280370154Z 08/16 15:57:27.280333 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:27.280373265Z 08/16 15:57:27.280340 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:37.275147450Z 08/16 15:57:37.275063 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:37.275736541Z 08/16 15:57:37.275686 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:37.275752198Z 08/16 15:57:37.275715 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:37.275758088Z 08/16 15:57:37.275725 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:37.275762336Z 08/16 15:57:37.275735 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:37.275765850Z 08/16 15:57:37.275742 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:47.269990191Z 08/16 15:57:47.269915 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:47.270571050Z 08/16 15:57:47.270509 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:47.270578078Z 08/16 15:57:47.270530 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:47.270581595Z 08/16 15:57:47.270539 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:47.270584945Z 08/16 15:57:47.270547 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:47.270588220Z 08/16 15:57:47.270555 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:57.278957910Z 08/16 15:57:57.278891 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:57.279680366Z 08/16 15:57:57.279624 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:57.279696743Z 08/16 15:57:57.279662 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:57.279707010Z 08/16 15:57:57.279672 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:57.279712465Z 08/16 15:57:57.279681 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:57.279717474Z 08/16 15:57:57.279687 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:58:07.275372704Z 08/16 15:58:07.275316 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:58:07.276019375Z 08/16 15:58:07.275973 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:58:07.276033345Z 08/16 15:58:07.275992 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:58:07.276037404Z 08/16 15:58:07.276001 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:58:07.276042436Z 08/16 15:58:07.276010 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:58:07.276051403Z 08/16 15:58:07.276018 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035

本地taos.cfg内容如下(本地是wsl):

$ cat /etc/taos/taos.cfg  | grep -v ^# | grep -v ^$
firstEp                  tdengine-0.tdengine.shared-services.svc.cluster.local:6030
fqdn                     tdengine-0.tdengine.shared-services.svc.cluster.local
arbitrator                tdengine-0.tdengine.shared-services.svc.cluster.local:6042
locale                en_US.UTF-8

taos运行日志如下(tdengine-0.tdengine.shared-services.svc.cluster.local为本地写hosts指向k8s loadbalancer):

==================================================
                new log file
==================================================
08/16 15:54:23.898813 00000791 UTL localEp is: tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899276 00000791 UTL WARN timezone not configured, set to system default:Asia/Shanghai (CST, +0800)
08/16 15:54:23.899281 00000791 UTL WARN charset not configured, set to system default:UTF-8
08/16 15:54:23.899375 00000791 UTL    check global cfg completed
08/16 15:54:23.899377 00000791 UTL ==================================
08/16 15:54:23.899378 00000791 UTL    taos config & system info:
08/16 15:54:23.899379 00000791 UTL ==================================
08/16 15:54:23.899380 00000791 UTL  firstEp:                tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899381 00000791 UTL  secondEp:               tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899382 00000791 UTL  fqdn:                   tdengine-0.tdengine.shared-services.svc.cluster.local
08/16 15:54:23.899383 00000791 UTL  serverPort:             6030
08/16 15:54:23.899383 00000791 UTL  configDir:              /etc/taos
08/16 15:54:23.899384 00000791 UTL  logDir:                 /var/log/taos
08/16 15:54:23.899385 00000791 UTL  scriptDir:              /etc/taos
08/16 15:54:23.899385 00000791 UTL  arbitrator:             tdengine-0.tdengine.shared-services.svc.cluster.local:6042
08/16 15:54:23.899386 00000791 UTL  numOfThreadsPerCore:    1.000000
08/16 15:54:23.899390 00000791 UTL  rpcTimer:               1000(ms)
08/16 15:54:23.899390 00000791 UTL  rpcForceTcp:            0
08/16 15:54:23.899391 00000791 UTL  rpcMaxTime:             600(s)
08/16 15:54:23.899392 00000791 UTL  shellActivityTimer:     3(s)
08/16 15:54:23.899393 00000791 UTL  compressMsgSize:        -1
08/16 15:54:23.899393 00000791 UTL  maxSQLLength:           1048576(byte)
08/16 15:54:23.899394 00000791 UTL  maxNumOfOrderedRes:     100000
08/16 15:54:23.899395 00000791 UTL  keepColumnName:         0
08/16 15:54:23.899396 00000791 UTL  timezone:               Asia/Shanghai (CST, +0800)
08/16 15:54:23.899396 00000791 UTL  locale:                 en_US.UTF-8
08/16 15:54:23.899397 00000791 UTL  charset:                UTF-8
08/16 15:54:23.899398 00000791 UTL  numOfLogLines:          10000000
08/16 15:54:23.899398 00000791 UTL  logKeepDays:            0
08/16 15:54:23.899399 00000791 UTL  asyncLog:               1
08/16 15:54:23.899400 00000791 UTL  debugFlag:              0
08/16 15:54:23.899400 00000791 UTL  rpcDebugFlag:           131
08/16 15:54:23.899401 00000791 UTL  tmrDebugFlag:           131
08/16 15:54:23.899402 00000791 UTL  cDebugFlag:             131
08/16 15:54:23.899402 00000791 UTL  jniDebugFlag:           131
08/16 15:54:23.899403 00000791 UTL  odbcDebugFlag:          131
08/16 15:54:23.899404 00000791 UTL  uDebugFlag:             131
08/16 15:54:23.899404 00000791 UTL  qDebugFlag:             131
08/16 15:54:23.899405 00000791 UTL  tsdbDebugFlag:          131
08/16 15:54:23.899406 00000791 UTL  gitinfo:                6e0e4584754c6a6ae305b999cf73413336402a4a
08/16 15:54:23.899406 00000791 UTL  gitinfoOfInternal:      NULL
08/16 15:54:23.899407 00000791 UTL  buildinfo:              Built at 2021-05-23 13:38
08/16 15:54:23.899408 00000791 UTL  version:                2.1.1.0
08/16 15:54:23.899408 00000791 UTL  maxBinaryDisplayWidth:  30
08/16 15:54:23.899409 00000791 UTL  tempDir:                /tmp/
08/16 15:54:23.899410 00000791 UTL  os pageSize:            4096(KB)
08/16 15:54:23.899411 00000791 UTL  os openMax:             1024
08/16 15:54:23.899412 00000791 UTL  os streamMax:           16
08/16 15:54:23.899412 00000791 UTL  os numOfCores:          8
08/16 15:54:23.899413 00000791 UTL  os totalDisk:           0.000000(GB)
08/16 15:54:23.899414 00000791 UTL  os usedDisk:            0.000000(GB)
08/16 15:54:23.899414 00000791 UTL  os availDisk:           0.000000(GB)
08/16 15:54:23.899415 00000791 UTL  os totalMemory:         12610(MB)
08/16 15:54:23.899417 00000791 UTL  os sysname:             Linux
08/16 15:54:23.899418 00000791 UTL  os nodename:            zhoukaifeng
08/16 15:54:23.899419 00000791 UTL  os release:             5.4.72-microsoft-standard-WSL2
08/16 15:54:23.899420 00000791 UTL  os version:             #1 SMP Wed Oct 28 23:40:43 UTC 2020
08/16 15:54:23.899420 00000791 UTL  os machine:             x86_64
08/16 15:54:23.899421 00000791 UTL  dataDir: /var/lib/taos
08/16 15:54:23.899422 00000791 UTL ==================================

taos运行报错:

$ taos

Welcome to the TDengine shell from Linux, Client Version:2.1.1.0
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.

taos connect failed, reason: Unable to establish connection.

服务端taos可以正常连接,服务端taos.cfg内容:

# cat /etc/taos/taos.cfg
firstEp tdengine-0.tdengine.shared-services.svc.cluster.local:6030
fqdn tdengine-0.tdengine.shared-services.svc.cluster.local
keep 3650
serverPort 6030

Kubernetes Upgrade Path

Hi there,

i wanted to upgrade the Pods inside of Kubernetes with the Helm-Chart, is there a proper way to do that
Because in the chart there is no
updateStrategy: {}
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
is there any advice how to upgrad the systems :)

thanks in advance

taoskeeper如何在容器内自动启动呢?

我理解的taoskeeper就是类似于bitenami提供的redis部署实例里面的exporter一样的作用,只不过其他软件都是分开成两个容器的,所以可以设置启动依赖,那么在Tdengine里面,我要如何控制容器正常启动之后taoskeeper能够自动运行呢,目前我还是通过进入容器内部执行

taoskeeper

命令来启动的,但这样就要求我有多个副本的话,就需要多次进入容器内部手动操作,不知道你们有没有更好的解决方案。

通过helm安装TDengine之后,监控貌似无法使用,6043端口暴露出来请求无响应

微信图片_20230510171157
这是我的values.yaml文件,
数据库是正常启动的,我通过GUI能够连接,但是我发现6043端口请求无效,进入pod内执行命令
taoskeeper
结果为:

ERRO[0000] create database log error server response: 401 Unauthorized - {"code":855,"desc":"Authentication failure"} error="server response: 401 Unauthorized - {"code":855,"desc":"Authentication failure"}" model=report module=taosKeeper
panic: server response: 401 Unauthorized - {"code":855,"desc":"Authentication failure"}
goroutine 1 [running]:
github.com/taosdata/taoskeeper/api.(*Reporter).createDatabase(0xc0005d88a0)
/home/ubuntu/workroom/jenkins/3.0/TDinternal/community/release/build-taoskeeper/api/report.go:72 +0x35a
github.com/taosdata/taoskeeper/api.(*Reporter).Init(0xc000130000, {0x1ddf7a0, 0xc000582ea0})
/home/ubuntu/workroom/jenkins/3.0/TDinternal/community/release/build-taoskeeper/api/report.go:57 +0x8e
main.main()
/home/ubuntu/workroom/jenkins/3.0/TDinternal/community/release/build-taoskeeper/main.go:25 +0x6a

想知道如何解决这个问题

k8s外taos访问tdengine的问题

问题

大家好,我在试用helm方式部署tdengine的时候,在集群外服务器上taos无法成功连接。tdengine版本为2.1.1.0。望各位大佬指出问题。

配置文件与日志

如下是values.yml内容:

# Default values for tdengine.
# This is a YAML-formatted file.
# Declare variables to be passed into helm templates.

replicaCount: 1

image:
  repository: docker.nju.edu.cn/zitsen/tdengine-server
  pullPolicy:
    IfNotPresent
    # Overrides the image tag whose default is the chart appVersion.
    #tag: ""

service:
  # ClusterIP is the default service type, use NodeIP only if you know what you are doing.
  type: ClusterIP
  ports:
    # TCP range required
    tcp: [6030, 6035, 6040, 6041]
    # UDP range 6030-6039
    udp: [6030, 6031, 6032, 6033, 6034, 6035, 6036, 6037, 6038, 6039]

# Set timezone here, not in taoscfg
timezone: "Asia/Shanghai"

resources:
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  limits:
    cpu: 1000m
    memory: 2048Mi
  requests:
    cpu: 250m
    memory: 2048Mi

storage:
  # Set storageClassName for pvc. K8s use default storage class if not set.
  #
  className: "dce-uds-local-storage-hdd-lvm-ha"
  dataSize: "100Gi"
  logSize: "10Gi"

# Config settings in taos.cfg file.
#
# The helm/k8s support will use environment variables for taos.cfg,
# converting an upper-snake-cased variable like `TAOS_DEBUG_FLAG`,
# to a camelCase taos config variable `debugFlag`.
#
# See the variable list at https://www.taosdata.com/cn/documentation/administrator .
#
# Note:
# 1. firstEp/secondEp: should not be setted here, it's auto generated at scale-up.
# 2. serverPort: should not be setted, we'll use the default 6030 in many places.
# 3. fqdn: will be auto generated in kubenetes, user should not care about it.
# 4. role: currently role is not supported - every node is able to be mnode and vnode.
#
# Btw, keep quotes "" around the value like below, even the value will be number or not.
taoscfg:
  # Starts as cluster or not, must be 0 or 1.
  #   0: all pods will start as a seperate TDengine server
  #   1: pods will start as TDengine server cluster. [default]
  CLUSTER: "0"

  # number of days per DB file
  #TAOS_DAYS: "10"

  # number of days to keep DB file, default is 10 years.
  TAOS_KEEP: "3650"
  # cache block size (Mbyte)
  #TAOS_CACHE: "16"
  # number of cache blocks per vnode
  #TAOS_BLOCKS: "6"
  # minimum rows of records in file block
  #TAOS_MIN_ROWS: "100"
  # maximum rows of records in file block
  #TAOS_MAX_ROWS: "4096"
  #
  # TAOS_NUM_OF_THREADS_PER_CORE: number of threads per CPU core
  #TAOS_NUM_OF_THREADS_PER_CORE: "1.0"
  #
  # TAOS_NUM_OF_COMMIT_THREADS: number of threads to commit cache data
  #TAOS_NUM_OF_COMMIT_THREADS: "4"
  #
  # TAOS_RATIO_OF_QUERY_CORES:
  # the proportion of total CPU cores available for query processing
  # 2.0: the query threads will be set to double of the CPU cores.
  # 1.0: all CPU cores are available for query processing [default].
  # 0.5: only half of the CPU cores are available for query.
  # 0.0: only one core available.
  #TAOS_RATIO_OF_QUERY_CORES: "1.0"
  #
  # TAOS_KEEP_COLUMN_NAME:
  # the last_row/first/last aggregator will not change the original column name in the result fields
  #TAOS_KEEP_COLUMN_NAME: "0"
  # number of management nodes in the system
  #TAOS_NUM_OF_MNODES: "3"
  # enable/disable backuping vnode directory when removing vnode
  #TAOS_VNODE_BAK: "1"
  # enable/disable installation / usage report
  #TAOS_TELEMETRY_REPORTING: "1"
  # enable/disable load balancing
  #TAOS_BALANCE: "1"
  # max timer control blocks
  #TAOS_MAX_TMR_CTRL: "512"
  # time interval of system monitor, seconds
  #TAOS_MONITOR_INTERVAL: "30"
  # number of seconds allowed for a dnode to be offline, for cluster only
  #TAOS_OFFLINE_THRESHOLD: "8640000"
  # RPC re-try timer, millisecond
  #TAOS_RPC_TIMER: "1000"
  # RPC maximum time for ack, seconds.
  #TAOS_RPC_MAX_TIME: "600"
  # time interval of dnode status reporting to mnode, seconds, for cluster only
  #TAOS_STATUS_INTERVAL: "1"
  # time interval of heart beat from shell to dnode, seconds
  #TAOS_SHELL_ACTIVITY_TIMER: "3"
  # minimum sliding window time, milli-second
  #TAOS_MIN_SLIDING_TIME: "10"
  # minimum time window, milli-second
  #TAOS_MIN_INTERVAL_TIME: "10"
  # maximum delay before launching a stream computation, milli-second
  #TAOS_MAX_STREAM_COMP_DELAY: "20000"
  # maximum delay before launching a stream computation for the first time, milli-second
  #TAOS_MAX_FIRST_STREAM_COMP_DELAY: "10000"
  # retry delay when a stream computation fails, milli-second
  #TAOS_RETRY_STREAM_COMP_DELAY: "10"
  # the delayed time for launching a stream computation, from 0.1(default, 10% of whole computing time window) to 0.9
  #TAOS_STREAM_COMP_DELAY_RATIO: "0.1"
  # max number of vgroups per db, 0 means configured automatically
  #TAOS_MAX_VGROUPS_PER_DB: "0"
  # max number of tables per vnode
  #TAOS_MAX_TABLES_PER_VNODE: "1000000"
  # the number of acknowledgments required for successful data writing
  #TAOS_QUORUM: "1"
  # enable/disable compression
  #TAOS_COMP: "2"
  # write ahead log (WAL) level, 0: no wal; 1: write wal, but no fysnc; 2: write wal, and call fsync
  #TAOS_WAL_LEVEL: "1"
  # if walLevel is set to 2, the cycle of fsync being executed, if set to 0, fsync is called right away
  #TAOS_FSYNC: "3000"
  # number of replications, for cluster only
  #TAOS_REPLICA: "1"
  # the compressed rpc message, option:
  #  -1 (no compression)
  #   0 (all message compressed),
  # > 0 (rpc message body which larger than this value will be compressed)
  #TAOS_COMPRESS_MSG_SIZE: "-1"
  # max length of an SQL
  #TAOS_MAX_SQL_LENGTH: "1048576"
  # the maximum number of records allowed for super table time sorting
  #TAOS_MAX_NUM_OF_ORDERED_RES: "100000"
  # max number of connections allowed in dnode
  #TAOS_MAX_SHELL_CONNS: "5000"
  # max number of connections allowed in client
  #TAOS_MAX_CONNECTIONS: "5000"
  # stop writing logs when the disk size of the log folder is less than this value
  #TAOS_MINIMAL_LOG_DIR_G_B: "0.1"
  # stop writing temporary files when the disk size of the tmp folder is less than this value
  #TAOS_MINIMAL_TMP_DIR_G_B: "0.1"
  # if disk free space is less than this value, taosd service exit directly within startup process
  #TAOS_MINIMAL_DATA_DIR_G_B: "0.1"
  # One mnode is equal to the number of vnode consumed
  #TAOS_MNODE_EQUAL_VNODE_NUM: "4"
  # enbale/disable http service
  #TAOS_HTTP: "1"
  # enable/disable system monitor
  #TAOS_MONITOR: "1"
  # enable/disable recording the SQL statements via restful interface
  #TAOS_HTTP_ENABLE_RECORD_SQL: "0"
  # number of threads used to process http requests
  #TAOS_HTTP_MAX_THREADS: "2"
  # maximum number of rows returned by the restful interface
  #TAOS_RESTFUL_ROW_LIMIT: "10240"
  # The following parameter is used to limit the maximum number of lines in log files.
  # max number of lines per log filters
  # numOfLogLines         10000000
  # enable/disable async log
  #TAOS_ASYNC_LOG: "0"
  #
  # time of keeping log files, days
  #TAOS_LOG_KEEP_DAYS: "0"
  # The following parameters are used for debug purpose only.
  # debugFlag 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
  # 131: output warning and error
  # 135: output debug, warning and error
  # 143: output trace, debug, warning and error to log
  # 199: output debug, warning and error to both screen and file
  # 207: output trace, debug, warning and error to both screen and file
  #
  # debug flag for all log type, take effect when non-zero value\
  #TAOS_DEBUG_FLAG: "143"
  # enable/disable recording the SQL in taos client
  #TAOS_ENABLE_RECORD_SQL: "0"
  # generate core file when service crash
  #TAOS_ENABLE_CORE_FILE: "1"
  # maximum display width of binary and nchar fields in the shell. The parts exceeding this limit will be hidden
  #TAOS_MAX_BINARY_DISPLAY_WIDTH: "30"
  # enable/disable stream (continuous query)
  #TAOS_STREAM: "1"
  # in retrieve blocking model, only in 50% query threads will be used in query processing in dnode
  #TAOS_RETRIEVE_BLOCKING_MODEL: "0"
  # the maximum allowed query buffer size in MB during query processing for each data node
  # -1 no limit (default)
  # 0  no query allowed, queries are disabled
  #TAOS_QUERY_BUFFER_SIZE: "-1"

部署后日志如下:

2021-08-16T07:52:39.176735214Z + '[' Asia/Shanghai '!=' '' ']'
2021-08-16T07:52:39.176779216Z + ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
2021-08-16T07:52:39.179396390Z + echo Asia/Shanghai
2021-08-16T07:52:39.179571145Z + [[ ! taosd = *\t\a\o\s\d ]]
2021-08-16T07:52:39.179594485Z + DATA_DIR=/var/lib/taos
2021-08-16T07:52:39.179632628Z + '[' tdengine-0.tdengine.shared-services.svc.cluster.local = '' ']'
2021-08-16T07:52:39.180238757Z ++ cat /etc/taos/taos.cfg
2021-08-16T07:52:39.180453034Z ++ grep -v '^#'
2021-08-16T07:52:39.180554911Z ++ grep fqdn
2021-08-16T07:52:39.180673937Z ++ sed -E 's/.*fqdn\s+//'
2021-08-16T07:52:39.184305845Z + ORIG_FQDN=
2021-08-16T07:52:39.184346099Z + '[' '' '!=' '' ']'
2021-08-16T07:52:39.184386862Z + grep tdengine-0.tdengine.shared-services.svc.cluster.local /etc/hosts
2021-08-16T07:52:39.186040161Z 172.29.0.98	tdengine-0.tdengine.shared-services.svc.cluster.local	tdengine-0
2021-08-16T07:52:39.186162355Z + env-to-cfg
2021-08-16T07:52:39.245267581Z + CLUSTER=0
2021-08-16T07:52:39.245286969Z + FIRST_EP_HOST=tdengine-0.tdengine.shared-services.svc.cluster.local
2021-08-16T07:52:39.245291819Z + SERVER_PORT=6030
2021-08-16T07:52:39.245297218Z + '[' -f /var/lib/taos/dnode/mnodeEpSet.json ']'
2021-08-16T07:52:39.245324523Z + '[' tdengine-0.tdengine.shared-services.svc.cluster.local = tdengine-0.tdengine.shared-services.svc.cluster.local ']'
2021-08-16T07:52:39.245339969Z + taosd
2021-08-16T07:52:39.249415649Z 08/16 15:52:39.249306 00000037 DND start to initialize TDengine
2021-08-16T07:52:39.249429287Z 08/16 15:52:39.249343 00000037 DND step:dnode-tfile is initialized
2021-08-16T07:52:39.249433884Z 08/16 15:52:39.249353 00000037 DND step:dnode-rpc is initialized
2021-08-16T07:52:39.249437635Z 08/16 15:52:39.249360 00000037 UTL localEp is: tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.249908806Z 08/16 15:52:39.249855 00000037 UTL WARN timezone not configured, set to system default:Asia/Shanghai (CST, +0800)
2021-08-16T07:52:39.249942416Z 08/16 15:52:39.249908 00000037 UTL WARN locale not configured, set to system default:en_US.UTF-8
2021-08-16T07:52:39.249955272Z 08/16 15:52:39.249919 00000037 UTL WARN charset not configured, set to system default:UTF-8
2021-08-16T07:52:39.249996581Z 08/16 15:52:39.249954 00000037 UTL    check global cfg completed
2021-08-16T07:52:39.250002937Z 08/16 15:52:39.249960 00000037 UTL ==================================
2021-08-16T07:52:39.250006320Z 08/16 15:52:39.249965 00000037 UTL    taos config & system info:
2021-08-16T07:52:39.250010297Z 08/16 15:52:39.249969 00000037 UTL ==================================
2021-08-16T07:52:39.250013504Z 08/16 15:52:39.249974 00000037 UTL  firstEp:                tdengine-0.tdengine.shared-services.svc.cluster.local:6030 
2021-08-16T07:52:39.250026169Z 08/16 15:52:39.249980 00000037 UTL  secondEp:               tdengine-0.tdengine.shared-services.svc.cluster.local:6030 
2021-08-16T07:52:39.250029774Z 08/16 15:52:39.249985 00000037 UTL  fqdn:                   tdengine-0.tdengine.shared-services.svc.cluster.local 
2021-08-16T07:52:39.250038475Z 08/16 15:52:39.249989 00000037 UTL  serverPort:             6030 
2021-08-16T07:52:39.250041924Z 08/16 15:52:39.249995 00000037 UTL  configDir:              /etc/taos 
2021-08-16T07:52:39.250044867Z 08/16 15:52:39.250000 00000037 UTL  logDir:                 /var/log/taos 
2021-08-16T07:52:39.250047778Z 08/16 15:52:39.250011 00000037 UTL  scriptDir:              /etc/taos 
2021-08-16T07:52:39.250050676Z 08/16 15:52:39.250016 00000037 UTL  arbitrator:              
2021-08-16T07:52:39.250055327Z 08/16 15:52:39.250021 00000037 UTL  numOfThreadsPerCore:    1.000000 
2021-08-16T07:52:39.250058361Z 08/16 15:52:39.250037 00000037 UTL  numOfCommitThreads:     4 
2021-08-16T07:52:39.250061813Z 08/16 15:52:39.250041 00000037 UTL  ratioOfQueryCores:      1.000000 
2021-08-16T07:52:39.250066116Z 08/16 15:52:39.250045 00000037 UTL  numOfMnodes:            3 
2021-08-16T07:52:39.250069099Z 08/16 15:52:39.250049 00000037 UTL  vnodeBak:               1 
2021-08-16T07:52:39.250073573Z 08/16 15:52:39.250054 00000037 UTL  telemetryReporting:     1 
2021-08-16T07:52:39.250076645Z 08/16 15:52:39.250060 00000037 UTL  balance:                1 
2021-08-16T07:52:39.250082796Z 08/16 15:52:39.250064 00000037 UTL  balanceInterval:        300 
2021-08-16T07:52:39.250085831Z 08/16 15:52:39.250068 00000037 UTL  role:                   0 
2021-08-16T07:52:39.250088761Z 08/16 15:52:39.250072 00000037 UTL  maxTmrCtrl:             512 
2021-08-16T07:52:39.250092591Z 08/16 15:52:39.250076 00000037 UTL  monitorInterval:        30(s)
2021-08-16T07:52:39.250110071Z 08/16 15:52:39.250084 00000037 UTL  offlineThreshold:       864000(s)
2021-08-16T07:52:39.250116334Z 08/16 15:52:39.250090 00000037 UTL  rpcTimer:               1000(ms)
2021-08-16T07:52:39.250119513Z 08/16 15:52:39.250094 00000037 UTL  rpcForceTcp:            0 
2021-08-16T07:52:39.250122790Z 08/16 15:52:39.250098 00000037 UTL  rpcMaxTime:             600(s)
2021-08-16T07:52:39.250125841Z 08/16 15:52:39.250102 00000037 UTL  statusInterval:         1(s)
2021-08-16T07:52:39.250130616Z 08/16 15:52:39.250106 00000037 UTL  shellActivityTimer:     3(s)
2021-08-16T07:52:39.250133908Z 08/16 15:52:39.250110 00000037 UTL  minSlidingTime:         10(ms)
2021-08-16T07:52:39.250137208Z 08/16 15:52:39.250116 00000037 UTL  minIntervalTime:        10(ms)
2021-08-16T07:52:39.250140159Z 08/16 15:52:39.250121 00000037 UTL  maxStreamCompDelay:     20000(ms)
2021-08-16T07:52:39.250143916Z 08/16 15:52:39.250125 00000037 UTL  maxFirstStreamCompDelay:10000(ms)
2021-08-16T07:52:39.250147598Z 08/16 15:52:39.250129 00000037 UTL  retryStreamCompDelay:   10(ms)
2021-08-16T07:52:39.250150772Z 08/16 15:52:39.250135 00000037 UTL  streamCompDelayRatio:   0.100000 
2021-08-16T07:52:39.250162685Z 08/16 15:52:39.250140 00000037 UTL  maxVgroupsPerDb:        0 
2021-08-16T07:52:39.250166240Z 08/16 15:52:39.250144 00000037 UTL  maxTablesPerVnode:      1000000 
2021-08-16T07:52:39.250169234Z 08/16 15:52:39.250149 00000037 UTL  minTablesPerVnode:      1000 
2021-08-16T07:52:39.250173229Z 08/16 15:52:39.250153 00000037 UTL  tableIncStepPerVnode:   1000 
2021-08-16T07:52:39.250176138Z 08/16 15:52:39.250157 00000037 UTL  cache:                  16(Mb)
2021-08-16T07:52:39.250179136Z 08/16 15:52:39.250161 00000037 UTL  blocks:                 6 
2021-08-16T07:52:39.250182829Z 08/16 15:52:39.250165 00000037 UTL  days:                   10 
2021-08-16T07:52:39.250186706Z 08/16 15:52:39.250169 00000037 UTL  keep:                   3650 
2021-08-16T07:52:39.250189681Z 08/16 15:52:39.250173 00000037 UTL  minRows:                100 
2021-08-16T07:52:39.250192557Z 08/16 15:52:39.250177 00000037 UTL  maxRows:                4096 
2021-08-16T07:52:39.250196215Z 08/16 15:52:39.250181 00000037 UTL  comp:                   2 
2021-08-16T07:52:39.250199258Z 08/16 15:52:39.250185 00000037 UTL  walLevel:               1 
2021-08-16T07:52:39.250227013Z 08/16 15:52:39.250194 00000037 UTL  fsync:                  3000 
2021-08-16T07:52:39.250232792Z 08/16 15:52:39.250199 00000037 UTL  replica:                1 
2021-08-16T07:52:39.250235858Z 08/16 15:52:39.250203 00000037 UTL  partitions:             4 
2021-08-16T07:52:39.250238952Z 08/16 15:52:39.250208 00000037 UTL  quorum:                 1 
2021-08-16T07:52:39.250242090Z 08/16 15:52:39.250215 00000037 UTL  update:                 0 
2021-08-16T07:52:39.250245016Z 08/16 15:52:39.250219 00000037 UTL  compressMsgSize:        -1 
2021-08-16T07:52:39.250249240Z 08/16 15:52:39.250223 00000037 UTL  maxSQLLength:           1048576(byte)
2021-08-16T07:52:39.250252534Z 08/16 15:52:39.250228 00000037 UTL  maxNumOfOrderedRes:     100000 
2021-08-16T07:52:39.250255514Z 08/16 15:52:39.250232 00000037 UTL  queryBufferSize:        -1(byte)
2021-08-16T07:52:39.250258445Z 08/16 15:52:39.250236 00000037 UTL  retrieveBlockingModel:  0 
2021-08-16T07:52:39.250261327Z 08/16 15:52:39.250240 00000037 UTL  keepColumnName:         0 
2021-08-16T07:52:39.250265362Z 08/16 15:52:39.250244 00000037 UTL  timezone:               Asia/Shanghai (CST, +0800) 
2021-08-16T07:52:39.250268367Z 08/16 15:52:39.250248 00000037 UTL  locale:                 en_US.UTF-8 
2021-08-16T07:52:39.250271345Z 08/16 15:52:39.250252 00000037 UTL  charset:                UTF-8 
2021-08-16T07:52:39.250275833Z 08/16 15:52:39.250256 00000037 UTL  maxShellConns:          50000 
2021-08-16T07:52:39.250278941Z 08/16 15:52:39.250260 00000037 UTL  maxConnections:         5000 
2021-08-16T07:52:39.250281879Z 08/16 15:52:39.250265 00000037 UTL  minimalLogDirGB:        1.000000(GB)
2021-08-16T07:52:39.250286344Z 08/16 15:52:39.250269 00000037 UTL  minimalTmpDirGB:        1.000000(GB)
2021-08-16T07:52:39.250293612Z 08/16 15:52:39.250273 00000037 UTL  minimalDataDirGB:       2.000000(GB)
2021-08-16T07:52:39.250297047Z 08/16 15:52:39.250278 00000037 UTL  mnodeEqualVnodeNum:     4 
2021-08-16T07:52:39.250300725Z 08/16 15:52:39.250282 00000037 UTL  flowctrl:               1 
2021-08-16T07:52:39.250304271Z 08/16 15:52:39.250286 00000037 UTL  slaveQuery:             1 
2021-08-16T07:52:39.250307149Z 08/16 15:52:39.250290 00000037 UTL  adjustMaster:           1 
2021-08-16T07:52:39.250311449Z 08/16 15:52:39.250294 00000037 UTL  http:                   1 
2021-08-16T07:52:39.250314427Z 08/16 15:52:39.250298 00000037 UTL  mqtt:                   0 
2021-08-16T07:52:39.250324801Z 08/16 15:52:39.250302 00000037 UTL  monitor:                1 
2021-08-16T07:52:39.250328038Z 08/16 15:52:39.250309 00000037 UTL  stream:                 1 
2021-08-16T07:52:39.250331099Z 08/16 15:52:39.250313 00000037 UTL  httpEnableRecordSql:    0 
2021-08-16T07:52:39.250334968Z 08/16 15:52:39.250317 00000037 UTL  telegrafUseFieldNum:    0 
2021-08-16T07:52:39.250337950Z 08/16 15:52:39.250321 00000037 UTL  httpMaxThreads:         20 
2021-08-16T07:52:39.250340893Z 08/16 15:52:39.250325 00000037 UTL  restfulRowLimit:        10240 
2021-08-16T07:52:39.250344681Z 08/16 15:52:39.250329 00000037 UTL  numOfLogLines:          10000000 
2021-08-16T07:52:39.250347676Z 08/16 15:52:39.250333 00000037 UTL  logKeepDays:            0 
2021-08-16T07:52:39.250351269Z 08/16 15:52:39.250337 00000037 UTL  asyncLog:               1 
2021-08-16T07:52:39.250354220Z 08/16 15:52:39.250341 00000037 UTL  debugFlag:              0 
2021-08-16T07:52:39.250358455Z 08/16 15:52:39.250345 00000037 UTL  mDebugFlag:             131 
2021-08-16T07:52:39.250361421Z 08/16 15:52:39.250349 00000037 UTL  dDebugFlag:             135 
2021-08-16T07:52:39.250365105Z 08/16 15:52:39.250353 00000037 UTL  sDebugFlag:             135 
2021-08-16T07:52:39.250368028Z 08/16 15:52:39.250357 00000037 UTL  wDebugFlag:             135 
2021-08-16T07:52:39.250393730Z 08/16 15:52:39.250361 00000037 UTL  sdbDebugFlag:           131 
2021-08-16T07:52:39.250400421Z 08/16 15:52:39.250367 00000037 UTL  rpcDebugFlag:           131 
2021-08-16T07:52:39.250403457Z 08/16 15:52:39.250371 00000037 UTL  tmrDebugFlag:           131 
2021-08-16T07:52:39.250406506Z 08/16 15:52:39.250375 00000037 UTL  cDebugFlag:             131 
2021-08-16T07:52:39.250409641Z 08/16 15:52:39.250379 00000037 UTL  jniDebugFlag:           131 
2021-08-16T07:52:39.250415388Z 08/16 15:52:39.250383 00000037 UTL  odbcDebugFlag:          131 
2021-08-16T07:52:39.250419495Z 08/16 15:52:39.250387 00000037 UTL  uDebugFlag:             131 
2021-08-16T07:52:39.250422582Z 08/16 15:52:39.250391 00000037 UTL  httpDebugFlag:          131 
2021-08-16T07:52:39.250425643Z 08/16 15:52:39.250396 00000037 UTL  mqttDebugFlag:          131 
2021-08-16T07:52:39.250432396Z 08/16 15:52:39.250402 00000037 UTL  monDebugFlag:           131 
2021-08-16T07:52:39.250435686Z 08/16 15:52:39.250406 00000037 UTL  qDebugFlag:             131 
2021-08-16T07:52:39.250439639Z 08/16 15:52:39.250410 00000037 UTL  vDebugFlag:             135 
2021-08-16T07:52:39.250442634Z 08/16 15:52:39.250414 00000037 UTL  tsdbDebugFlag:          131 
2021-08-16T07:52:39.250445522Z 08/16 15:52:39.250418 00000037 UTL  cqDebugFlag:            131 
2021-08-16T07:52:39.250448404Z 08/16 15:52:39.250422 00000037 UTL  enableRecordSql:        0 
2021-08-16T07:52:39.250452069Z 08/16 15:52:39.250426 00000037 UTL  enableCoreFile:         0 
2021-08-16T07:52:39.250455058Z 08/16 15:52:39.250430 00000037 UTL  gitinfo:                 
2021-08-16T07:52:39.250458206Z 08/16 15:52:39.250434 00000037 UTL  gitinfoOfInternal:      NULL 
2021-08-16T07:52:39.250461320Z 08/16 15:52:39.250438 00000037 UTL  buildinfo:              Built at 2021-06-04 03:58 
2021-08-16T07:52:39.250465327Z 08/16 15:52:39.250442 00000037 UTL  version:                2.1.1.0 
2021-08-16T07:52:39.250468355Z 08/16 15:52:39.250449 00000037 UTL  maxBinaryDisplayWidth:  30 
2021-08-16T07:52:39.250471251Z 08/16 15:52:39.250453 00000037 UTL  tempDir:                /tmp/ 
2021-08-16T07:52:39.250474721Z 08/16 15:52:39.250457 00000037 UTL  os pageSize:            4096(KB)
2021-08-16T07:52:39.250498261Z 08/16 15:52:39.250464 00000037 UTL  os openMax:             1048576
2021-08-16T07:52:39.250503527Z 08/16 15:52:39.250470 00000037 UTL  os streamMax:           16
2021-08-16T07:52:39.250506575Z 08/16 15:52:39.250474 00000037 UTL  os numOfCores:          40
2021-08-16T07:52:39.250509719Z 08/16 15:52:39.250478 00000037 UTL  os totalDisk:           0.000000(GB)
2021-08-16T07:52:39.250512740Z 08/16 15:52:39.250485 00000037 UTL  os usedDisk:            0.000000(GB)
2021-08-16T07:52:39.250517096Z 08/16 15:52:39.250489 00000037 UTL  os availDisk:           0.000000(GB)
2021-08-16T07:52:39.250520074Z 08/16 15:52:39.250493 00000037 UTL  os totalMemory:         257444(MB)
2021-08-16T07:52:39.250523132Z 08/16 15:52:39.250498 00000037 UTL  os sysname:             Linux
2021-08-16T07:52:39.250526022Z 08/16 15:52:39.250502 00000037 UTL  os nodename:            tdengine-0
2021-08-16T07:52:39.250528936Z 08/16 15:52:39.250506 00000037 UTL  os release:             3.10.0-1160.el7.x86_64
2021-08-16T07:52:39.250532698Z 08/16 15:52:39.250510 00000037 UTL  os version:             #1 SMP Mon Oct 19 16:18:59 UTC 2020
2021-08-16T07:52:39.250536082Z 08/16 15:52:39.250513 00000037 UTL  os machine:             x86_64
2021-08-16T07:52:39.250539194Z 08/16 15:52:39.250518 00000037 UTL  dataDir: /var/lib/taos
2021-08-16T07:52:39.250542085Z 08/16 15:52:39.250522 00000037 UTL ==================================
2021-08-16T07:52:39.250545656Z 08/16 15:52:39.250526 00000037 DND step:dnode-globalcfg is initialized
2021-08-16T07:52:39.250593191Z 08/16 15:52:39.250569 00000037 TFS disk /var/lib/taos is mounted to tier level 0 id 0
2021-08-16T07:52:39.252364005Z 08/16 15:52:39.252302 00000037 DND dnode storage is initialized at /var/lib/taos/dnode
2021-08-16T07:52:39.252378596Z 08/16 15:52:39.252320 00000037 DND step:dnode-storage is initialized
2021-08-16T07:52:39.252384543Z 08/16 15:52:39.252340 00000037 DND dnode cfg is initialized
2021-08-16T07:52:39.252389460Z 08/16 15:52:39.252347 00000037 DND step:dnode-cfg is initialized
2021-08-16T07:52:39.252414345Z 08/16 15:52:39.252377 00000037 DND dnode eps is initialized
2021-08-16T07:52:39.252426220Z 08/16 15:52:39.252383 00000037 DND step:dnode-eps is initialized
2021-08-16T07:52:39.252430413Z 08/16 15:52:39.252397 00000037 DND dnode minfos is initialized
2021-08-16T07:52:39.252438247Z 08/16 15:52:39.252403 00000037 DND step:dnode-minfos is initialized
2021-08-16T07:52:39.252475948Z 08/16 15:52:39.252446 00000037 WAL wal module is initialized, rsetId:3
2021-08-16T07:52:39.252483559Z 08/16 15:52:39.252452 00000037 DND step:dnode-wal is initialized
2021-08-16T07:52:39.252558040Z 08/16 15:52:39.252524 00000037 DND step:dnode-sync is initialized
2021-08-16T07:52:39.252586365Z 08/16 15:52:39.252551 00000037 DND dnode check is initialized
2021-08-16T07:52:39.252600510Z 08/16 15:52:39.252556 00000037 DND step:dnode-check is initialized
2021-08-16T07:52:39.252604179Z 08/16 15:52:39.252565 00000037 UTL worker:vquery is initialized, min:40 max:40
2021-08-16T07:52:39.252607307Z 08/16 15:52:39.252573 00000037 UTL worker:vfetch is initialized, min:4 max:4
2021-08-16T07:52:39.252611813Z 08/16 15:52:39.252578 00000037 DND step:dnode-vread is initialized
2021-08-16T07:52:39.252614996Z 08/16 15:52:39.252582 00000037 DND dnode vwrite is initialized, max worker 40
2021-08-16T07:52:39.252618060Z 08/16 15:52:39.252588 00000037 DND step:dnode-vwrite is initialized
2021-08-16T07:52:39.252658814Z 08/16 15:52:39.252627 00000037 DND step:vnode-backup is initialized
2021-08-16T07:52:39.252686476Z 08/16 15:52:39.252659 00000037 DND step:vnode-worker is initialized
2021-08-16T07:52:39.252691903Z 08/16 15:52:39.252665 00000037 DND step:vnode-write is initialized
2021-08-16T07:52:39.252695576Z 08/16 15:52:39.252671 00000037 DND step:vnode-read is initialized
2021-08-16T07:52:39.252710164Z 08/16 15:52:39.252676 00000037 DND step:vnode-hash is initialized
2021-08-16T07:52:39.252799127Z 08/16 15:52:39.252767 00000037 DND step:tsdb-queue is initialized
2021-08-16T07:52:39.252804440Z 08/16 15:52:39.252775 00000037 UTL worker:vmgmt is initialized, min:1 max:1
2021-08-16T07:52:39.252822211Z 08/16 15:52:39.252799 00000037 DND dnode vmgmt is initialized
2021-08-16T07:52:39.252827501Z 08/16 15:52:39.252805 00000037 DND step:dnode-vmgmt is initialized
2021-08-16T07:52:39.252841399Z 08/16 15:52:39.252820 00000037 DND step:dnode-mread is initialized
2021-08-16T07:52:39.252846270Z 08/16 15:52:39.252828 00000037 DND step:dnode-mwrite is initialized
2021-08-16T07:52:39.252859053Z 08/16 15:52:39.252835 00000037 DND step:dnode-mpeer is initialized
2021-08-16T07:52:39.256354966Z 08/16 15:52:39.256317 00000037 DND dnode inter-dnodes rpc client is initialized
2021-08-16T07:52:39.256364886Z 08/16 15:52:39.256330 00000037 DND step:dnode-client is initialized
2021-08-16T07:52:39.256940994Z 08/16 15:52:39.256908 00000037 DND dnode inter-dnodes RPC server is initialized
2021-08-16T07:52:39.256946847Z 08/16 15:52:39.256916 00000037 DND step:dnode-server is initialized
2021-08-16T07:52:39.256981561Z 08/16 15:52:39.256948 00000037 DND start 40 threads to open 0 vnodes
2021-08-16T07:52:39.256993695Z 08/16 15:52:39.256955 00000037 DND there are total vnodes:0, opened:0
2021-08-16T07:52:39.256997303Z 08/16 15:52:39.256960 00000037 DND step:dnode-vnodes is initialized
2021-08-16T07:52:39.257001606Z 08/16 15:52:39.256975 00000037 MND starting to initialize mnode ...
2021-08-16T07:52:39.257143872Z 08/16 15:52:39.257120 00000037 DND step:sdbref is initialized
2021-08-16T07:52:39.257213145Z 08/16 15:52:39.257191 00000037 DND step:profile is initialized
2021-08-16T07:52:39.257223278Z 08/16 15:52:39.257204 00000037 DND step:cluster is initialized
2021-08-16T07:52:39.257228354Z 08/16 15:52:39.257211 00000037 DND step:accts is initialized
2021-08-16T07:52:39.257246359Z 08/16 15:52:39.257221 00000037 DND step:users is initialized
2021-08-16T07:52:39.257253298Z 08/16 15:52:39.257235 00000037 DND step:dnodes is initialized
2021-08-16T07:52:39.257271647Z 08/16 15:52:39.257243 00000037 DND step:dbs is initialized
2021-08-16T07:52:39.257276798Z 08/16 15:52:39.257256 00000037 DND step:vgroups is initialized
2021-08-16T07:52:39.257532274Z 08/16 15:52:39.257505 00000037 DND step:tables is initialized
2021-08-16T07:52:39.257540407Z 08/16 15:52:39.257512 00000037 DND step:mnodes is initialized
2021-08-16T07:52:39.257564409Z 08/16 15:52:39.257541 00000037 MND vgId:1, sdb write is opened
2021-08-16T07:52:39.258094311Z 08/16 15:52:39.258058 00000037 SDB vgId:1, open sdb wal for restore
2021-08-16T07:52:39.258156326Z 08/16 15:52:39.258126 00000037 SDB vgId:1, sdb wal load success
2021-08-16T07:52:39.258163475Z 08/16 15:52:39.258133 00000037 SDB vgId:1, sdb start to check for integrity
2021-08-16T07:52:39.258166889Z 08/16 15:52:39.258139 00000037 MND dnode first deploy, create cluster
2021-08-16T07:52:39.258213926Z 08/16 15:52:39.258182 00000037 SDB vgId:1, sdb:cluster is checked, rows:1
2021-08-16T07:52:39.258223203Z 08/16 15:52:39.258189 00000037 MND dnode first deploy, create dnode:tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.258232296Z 08/16 15:52:39.258209 00000037 MND dnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local ep:tdengine-0.tdengine.shared-services.svc.cluster.local:6030 port:6030 is created
2021-08-16T07:52:39.258246244Z 08/16 15:52:39.258222 00000037 MND dnode:1 is created
2021-08-16T07:52:39.258268362Z 08/16 15:52:39.258237 00000037 MND mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local ep:tdengine-0.tdengine.shared-services.svc.cluster.local:6030 port:6030 is created
2021-08-16T07:52:39.258280708Z 08/16 15:52:39.258250 00000037 SDB vgId:1, sdb:dnodes is checked, rows:1
2021-08-16T07:52:39.258283996Z 08/16 15:52:39.258260 00000037 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.258303363Z 08/16 15:52:39.258268 00000037 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.258311620Z 08/16 15:52:39.258286 00000037 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:39.258316866Z 08/16 15:52:39.258291 00000037 SDB vgId:1, sdb:mnodes is checked, rows:1
2021-08-16T07:52:39.258338304Z 08/16 15:52:39.258298 00000037 MND dnode first deploy, create root acct
2021-08-16T07:52:39.258343998Z 08/16 15:52:39.258312 00000037 SDB vgId:1, sdb:accounts is checked, rows:1
2021-08-16T07:52:39.258349559Z 08/16 15:52:39.258321 00000037 MND dnode first deploy, create root user
2021-08-16T07:52:39.258360193Z 08/16 15:52:39.258338 00000037 MND user:root, is created by system
2021-08-16T07:52:39.258370797Z 08/16 15:52:39.258351 00000037 MND user:monitor, is created by system
2021-08-16T07:52:39.258380734Z 08/16 15:52:39.258361 00000037 MND user:_root, is created by system
2021-08-16T07:52:39.258384178Z 08/16 15:52:39.258368 00000037 SDB vgId:1, sdb:users is checked, rows:3
2021-08-16T07:52:39.258387253Z 08/16 15:52:39.258373 00000037 SDB vgId:1, sdb:dbs is checked, rows:0
2021-08-16T07:52:39.258394425Z 08/16 15:52:39.258377 00000037 SDB vgId:1, sdb:vgroups is checked, rows:0
2021-08-16T07:52:39.258397658Z 08/16 15:52:39.258381 00000037 SDB vgId:1, sdb:stables is checked, rows:0
2021-08-16T07:52:39.258400686Z 08/16 15:52:39.258385 00000037 SDB vgId:1, sdb:ctables is checked, rows:0
2021-08-16T07:52:39.258404419Z 08/16 15:52:39.258389 00000037 SDB vgId:1, sdb is restored, mver:1 rows:7 tables:9
2021-08-16T07:52:39.258407428Z 08/16 15:52:39.258394 00000037 DND step:sdb is initialized
2021-08-16T07:52:39.258469916Z 08/16 15:52:39.258439 00000037 MND dnode:1 set access:0 to 0
2021-08-16T07:52:39.258475269Z 08/16 15:52:39.258449 00000037 DND step:balance is initialized
2021-08-16T07:52:39.258478381Z 08/16 15:52:39.258454 00000037 DND step:grant is initialized
2021-08-16T07:52:39.258583981Z 08/16 15:52:39.258550 00000037 DND step:show is initialized
2021-08-16T07:52:39.258592410Z 08/16 15:52:39.258556 00000037 MND mnode is initialized successfully
2021-08-16T07:52:39.258664788Z 08/16 15:52:39.258637 00000037 DND dnode modules is initialized
2021-08-16T07:52:39.258669763Z 08/16 15:52:39.258645 00000037 HTP start http server ...
2021-08-16T07:52:39.259040395Z 08/16 15:52:39.259001 00000037 HTP http result queue is opened
2021-08-16T07:52:39.259736406Z 08/16 15:52:39.259682 00000108 HTP http server init success at 6041
2021-08-16T07:52:39.260019599Z 08/16 15:52:39.259985 00000037 MON monitor module start
2021-08-16T07:52:39.260032184Z 08/16 15:52:39.259996 00000037 DND step:dnode-modules is initialized
2021-08-16T07:52:39.260547311Z 08/16 15:52:39.260496 00000062 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.260559887Z 08/16 15:52:39.260521 00000062 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.260564395Z 08/16 15:52:39.260529 00000062 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:39.260847095Z 08/16 15:52:39.260810 00000037 DND dnode shell rpc server is initialized
2021-08-16T07:52:39.260854836Z 08/16 15:52:39.260821 00000037 DND step:dnode-shell is initialized
2021-08-16T07:52:39.260860505Z 08/16 15:52:39.260827 00000037 DND dnode status timer is initialized
2021-08-16T07:52:39.260866406Z 08/16 15:52:39.260836 00000037 DND step:dnode-statustmr is initialized
2021-08-16T07:52:39.260909516Z 08/16 15:52:39.260879 00000037 DND dnode telemetry is initialized
2021-08-16T07:52:39.260918353Z 08/16 15:52:39.260888 00000037 DND step:dnode-telemetry is initialized
2021-08-16T07:52:39.260923288Z 08/16 15:52:39.260893 00000037 DND TDengine is initialized successfully
2021-08-16T07:52:39.770669571Z 08/16 15:52:39.770571 00000060 MND dnode:1, from offline to online
2021-08-16T07:52:39.770848036Z 08/16 15:52:39.770748 00000050 DND print minfos, mnodeNum:1 inUse:0
2021-08-16T07:52:39.770872474Z 08/16 15:52:39.770782 00000050 DND mnode index:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6030
2021-08-16T07:52:39.771832063Z 08/16 15:52:39.771734 00000050 DND successed to write /var/lib/taos/dnode/mnodeEpSet.json
2021-08-16T07:52:39.771862743Z 08/16 15:52:39.771759 00000050 DND dnodeId is set to 1, clusterId is set to f308b989-a7d1-4c90-a1b1-b103b94105b8
2021-08-16T07:52:39.772626276Z 08/16 15:52:39.772550 00000050 DND successed to write /var/lib/taos/dnode/dnodeCfg.json
2021-08-16T07:52:39.773361806Z 08/16 15:52:39.773277 00000050 DND successed to write /var/lib/taos/dnode/dnodeEps.json
2021-08-16T07:52:39.979694010Z 08/16 15:52:39.979506 00000038 SDB vgId:1, work as mnode, replica:1
2021-08-16T07:52:39.979731902Z 08/16 15:52:39.979544 00000038 SDB vgId:1, mnode:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6040
2021-08-16T07:52:39.979736899Z 08/16 15:52:39.979646 00000038 SDB vgId:1, mnode role changed from master to master
2021-08-16T07:52:39.979740263Z 08/16 15:52:39.979655 00000038 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:39.979743503Z 08/16 15:52:39.979667 00000038 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:39.979759436Z 08/16 15:52:39.979674 00000038 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:39.979762957Z 08/16 15:52:39.979693 00000038 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:39.979766011Z 08/16 15:52:39.979714 00000038 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:40.260951503Z 08/16 15:52:40.260844 00000056 MND user:monitor login from 172.29.0.98, result:success
2021-08-16T07:52:40.262261789Z 08/16 15:52:40.262205 00000062 MND db:0.log, is created by monitor
2021-08-16T07:52:40.262510081Z 08/16 15:52:40.262465 00000055 MND msg:0x7f50b80016c0, app:0x5 vgId:2, is created in mnode, db:0.log replica:1
2021-08-16T07:52:40.262515458Z 08/16 15:52:40.262489 00000055 MND msg:0x7f50b80016c0, app:0x5 vgId:2, index:0, dnode:1
2021-08-16T07:52:40.264249779Z 08/16 15:52:40.264128 00000049 VND vgId:2, successed to write /var/lib/taos/vnode/vnode2/config.json
2021-08-16T07:52:40.265045335Z 08/16 15:52:40.265004 00000049 VND vgId:2, vnode dir is created, walLevel:1 fsyncPeriod:3000
2021-08-16T07:52:40.265129890Z 08/16 15:52:40.265087 00000049 VND vgId:2, load vnode cfg successfully, replcia:1
2021-08-16T07:52:40.265143088Z 08/16 15:52:40.265099 00000049 VND vgId:2, dnode:1, tdengine-0.tdengine.shared-services.svc.cluster.local:6040
2021-08-16T07:52:40.266526770Z 08/16 15:52:40.266496 00000049 TDB vgId:2 try to restore meta
2021-08-16T07:52:40.266554884Z 08/16 15:52:40.266534 00000049 TDB vgId:2 no meta file is restored
2021-08-16T07:52:40.268450975Z 08/16 15:52:40.268406 00000049 VND vgId:2, sync role changed from offline to master
2021-08-16T07:52:40.268464263Z 08/16 15:52:40.268417 00000049 DND force send status msg to mnode
2021-08-16T07:52:40.268468737Z 08/16 15:52:40.268424 00000049 QRY vgId:2, set querymgmt reopen
2021-08-16T07:52:40.269328115Z 08/16 15:52:40.269227 00000062 MND msg:0x7f50b80016c0, app:0x5 vgId:2, is created in sdb, db:0.log replica:1
2021-08-16T07:52:40.273138023Z 08/16 15:52:40.273025 00000062 MND stable:0.log.dn, is created in sdb, uid:12140656799783062404
2021-08-16T07:52:40.274380967Z 08/16 15:52:40.274254 00000062 MND stable:0.log.acct, is created in sdb, uid:12140656820184157435
2021-08-16T07:52:47.285944330Z 08/16 15:52:47.285874 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:52:47.286619393Z 08/16 15:52:47.286561 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:47.286637501Z 08/16 15:52:47.286593 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:47.286641621Z 08/16 15:52:47.286603 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:47.286647543Z 08/16 15:52:47.286614 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:47.286651413Z 08/16 15:52:47.286621 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:52:57.284729445Z 08/16 15:52:57.284645 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:52:57.285345509Z 08/16 15:52:57.285288 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:52:57.285352111Z 08/16 15:52:57.285318 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:52:57.285378596Z 08/16 15:52:57.285333 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:52:57.285394589Z 08/16 15:52:57.285353 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:52:57.285407912Z 08/16 15:52:57.285362 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:07.275562841Z 08/16 15:53:07.275480 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:07.276316838Z 08/16 15:53:07.276267 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:07.276329730Z 08/16 15:53:07.276286 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:07.276333668Z 08/16 15:53:07.276293 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:07.276338664Z 08/16 15:53:07.276304 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:07.276341976Z 08/16 15:53:07.276319 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:17.273056494Z 08/16 15:53:17.272967 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:17.273627111Z 08/16 15:53:17.273562 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:17.273638893Z 08/16 15:53:17.273583 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:17.273644262Z 08/16 15:53:17.273592 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:17.273648785Z 08/16 15:53:17.273602 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:17.273653796Z 08/16 15:53:17.273612 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:27.269115117Z 08/16 15:53:27.269052 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:27.269755230Z 08/16 15:53:27.269711 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:27.269763913Z 08/16 15:53:27.269736 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:27.269769971Z 08/16 15:53:27.269746 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:27.269777777Z 08/16 15:53:27.269756 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:27.269781105Z 08/16 15:53:27.269763 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:37.267238323Z 08/16 15:53:37.267105 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:37.268035618Z 08/16 15:53:37.267966 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:37.268047349Z 08/16 15:53:37.267992 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:37.268051221Z 08/16 15:53:37.268003 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:37.268054403Z 08/16 15:53:37.268012 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:37.268057654Z 08/16 15:53:37.268020 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:47.724911716Z 08/16 15:53:47.724784 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:47.725442348Z 08/16 15:53:47.725382 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:47.725458937Z 08/16 15:53:47.725405 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:47.725462744Z 08/16 15:53:47.725412 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:47.725465872Z 08/16 15:53:47.725423 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:47.725469830Z 08/16 15:53:47.725430 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:53:57.272407679Z 08/16 15:53:57.272345 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:53:57.273021251Z 08/16 15:53:57.272973 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:53:57.273036526Z 08/16 15:53:57.272987 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:53:57.273040654Z 08/16 15:53:57.272995 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:53:57.273043884Z 08/16 15:53:57.273004 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:53:57.273054808Z 08/16 15:53:57.273010 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:07.276219159Z 08/16 15:54:07.276156 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:07.277010368Z 08/16 15:54:07.276881 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:07.277033308Z 08/16 15:54:07.276921 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:07.277047569Z 08/16 15:54:07.276941 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:07.277061698Z 08/16 15:54:07.276963 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:07.277104352Z 08/16 15:54:07.276987 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:17.429722070Z 08/16 15:54:17.429635 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:17.430332561Z 08/16 15:54:17.430262 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:17.430348930Z 08/16 15:54:17.430278 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:17.430353377Z 08/16 15:54:17.430287 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:17.430356911Z 08/16 15:54:17.430295 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:17.430360266Z 08/16 15:54:17.430301 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:27.274906118Z 08/16 15:54:27.274830 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:27.275477510Z 08/16 15:54:27.275426 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:27.275493944Z 08/16 15:54:27.275438 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:27.275497901Z 08/16 15:54:27.275446 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:27.275509237Z 08/16 15:54:27.275455 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:27.275512843Z 08/16 15:54:27.275463 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:37.278870537Z 08/16 15:54:37.278815 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:37.279489368Z 08/16 15:54:37.279445 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:37.279505265Z 08/16 15:54:37.279467 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:37.279511224Z 08/16 15:54:37.279481 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:37.279514627Z 08/16 15:54:37.279490 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:37.279518283Z 08/16 15:54:37.279497 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:47.642970344Z 08/16 15:54:47.642889 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:47.643611046Z 08/16 15:54:47.643562 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:47.643625801Z 08/16 15:54:47.643592 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:47.643637343Z 08/16 15:54:47.643602 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:47.643641082Z 08/16 15:54:47.643612 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:47.643644369Z 08/16 15:54:47.643619 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:54:57.278319013Z 08/16 15:54:57.278263 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:54:57.278954196Z 08/16 15:54:57.278895 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:54:57.278980733Z 08/16 15:54:57.278909 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:54:57.278984913Z 08/16 15:54:57.278917 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:54:57.278988525Z 08/16 15:54:57.278926 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:54:57.278991889Z 08/16 15:54:57.278933 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:07.270735345Z 08/16 15:55:07.270595 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:07.271260310Z 08/16 15:55:07.271204 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:07.271274853Z 08/16 15:55:07.271228 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:07.271279029Z 08/16 15:55:07.271238 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:07.271282374Z 08/16 15:55:07.271248 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:07.271286712Z 08/16 15:55:07.271254 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:17.729986731Z 08/16 15:55:17.729925 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:17.730696878Z 08/16 15:55:17.730607 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:17.730710398Z 08/16 15:55:17.730628 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:17.730714593Z 08/16 15:55:17.730636 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:17.730718191Z 08/16 15:55:17.730645 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:17.730721566Z 08/16 15:55:17.730650 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:27.289347787Z 08/16 15:55:27.289281 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:27.289982458Z 08/16 15:55:27.289904 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:27.289992183Z 08/16 15:55:27.289924 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:27.289996154Z 08/16 15:55:27.289934 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:27.289999602Z 08/16 15:55:27.289943 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:27.290003049Z 08/16 15:55:27.289951 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:37.270899855Z 08/16 15:55:37.270711 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:37.271376423Z 08/16 15:55:37.271317 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:37.271399540Z 08/16 15:55:37.271339 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:37.271404212Z 08/16 15:55:37.271349 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:37.271408066Z 08/16 15:55:37.271359 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:37.271413887Z 08/16 15:55:37.271364 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:47.270427009Z 08/16 15:55:47.270353 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:47.271010919Z 08/16 15:55:47.270952 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:47.271020375Z 08/16 15:55:47.270973 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:47.271024436Z 08/16 15:55:47.270981 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:47.271027668Z 08/16 15:55:47.270991 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:47.271032151Z 08/16 15:55:47.270996 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:55:57.271070741Z 08/16 15:55:57.271002 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:55:57.271745983Z 08/16 15:55:57.271624 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:55:57.271761065Z 08/16 15:55:57.271659 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:55:57.271795595Z 08/16 15:55:57.271677 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:55:57.271809527Z 08/16 15:55:57.271719 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:55:57.271818640Z 08/16 15:55:57.271737 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:07.275816724Z 08/16 15:56:07.275720 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:07.276396721Z 08/16 15:56:07.276343 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:07.276411095Z 08/16 15:56:07.276366 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:07.276414907Z 08/16 15:56:07.276377 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:07.276431176Z 08/16 15:56:07.276390 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:07.276440786Z 08/16 15:56:07.276397 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:17.273483542Z 08/16 15:56:17.273418 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:17.274148403Z 08/16 15:56:17.274106 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:17.274154140Z 08/16 15:56:17.274125 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:17.274179776Z 08/16 15:56:17.274139 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:17.274196561Z 08/16 15:56:17.274149 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:17.274201046Z 08/16 15:56:17.274156 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:27.281012167Z 08/16 15:56:27.280949 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:27.281653961Z 08/16 15:56:27.281584 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:27.281677471Z 08/16 15:56:27.281601 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:27.281682689Z 08/16 15:56:27.281610 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:27.281686510Z 08/16 15:56:27.281618 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:27.281689898Z 08/16 15:56:27.281625 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:37.274616207Z 08/16 15:56:37.274561 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:37.275274489Z 08/16 15:56:37.275211 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:37.275290150Z 08/16 15:56:37.275233 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:37.275294343Z 08/16 15:56:37.275241 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:37.275297614Z 08/16 15:56:37.275250 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:37.275301022Z 08/16 15:56:37.275257 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:48.037494765Z 08/16 15:56:48.037430 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:48.038200484Z 08/16 15:56:48.038138 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:48.038215368Z 08/16 15:56:48.038163 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:48.038219534Z 08/16 15:56:48.038172 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:48.038223034Z 08/16 15:56:48.038183 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:48.038227056Z 08/16 15:56:48.038188 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:56:57.287036856Z 08/16 15:56:57.286926 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:56:57.287650781Z 08/16 15:56:57.287609 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:56:57.287665558Z 08/16 15:56:57.287623 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:56:57.287670004Z 08/16 15:56:57.287629 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:56:57.287673721Z 08/16 15:56:57.287640 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:56:57.287678803Z 08/16 15:56:57.287645 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:07.267613997Z 08/16 15:57:07.267486 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:07.268195564Z 08/16 15:57:07.268112 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:07.268217522Z 08/16 15:57:07.268140 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:07.268221978Z 08/16 15:57:07.268150 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:07.268225553Z 08/16 15:57:07.268159 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:07.268229114Z 08/16 15:57:07.268165 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:17.337058947Z 08/16 15:57:17.336993 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:17.337692645Z 08/16 15:57:17.337637 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:17.337719696Z 08/16 15:57:17.337661 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:17.337723815Z 08/16 15:57:17.337670 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:17.337735170Z 08/16 15:57:17.337682 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:17.337738898Z 08/16 15:57:17.337689 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:27.279768604Z 08/16 15:57:27.279683 00000059 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:27.280346159Z 08/16 15:57:27.280293 00000056 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:27.280362181Z 08/16 15:57:27.280313 00000056 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:27.280365901Z 08/16 15:57:27.280322 00000056 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:27.280370154Z 08/16 15:57:27.280333 00000056 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:27.280373265Z 08/16 15:57:27.280340 00000056 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:37.275147450Z 08/16 15:57:37.275063 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:37.275736541Z 08/16 15:57:37.275686 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:37.275752198Z 08/16 15:57:37.275715 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:37.275758088Z 08/16 15:57:37.275725 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:37.275762336Z 08/16 15:57:37.275735 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:37.275765850Z 08/16 15:57:37.275742 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:47.269990191Z 08/16 15:57:47.269915 00000058 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:47.270571050Z 08/16 15:57:47.270509 00000059 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:47.270578078Z 08/16 15:57:47.270530 00000059 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:47.270581595Z 08/16 15:57:47.270539 00000059 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:47.270584945Z 08/16 15:57:47.270547 00000059 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:47.270588220Z 08/16 15:57:47.270555 00000059 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:57:57.278957910Z 08/16 15:57:57.278891 00000056 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:57:57.279680366Z 08/16 15:57:57.279624 00000057 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:57:57.279696743Z 08/16 15:57:57.279662 00000057 SDB vgId:1, mnode:1, role:master
2021-08-16T07:57:57.279707010Z 08/16 15:57:57.279672 00000057 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:57:57.279712465Z 08/16 15:57:57.279681 00000057 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:57:57.279717474Z 08/16 15:57:57.279687 00000057 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035
2021-08-16T07:58:07.275372704Z 08/16 15:58:07.275316 00000057 MND user:root login from 172.29.0.98, result:success
2021-08-16T07:58:07.276019375Z 08/16 15:58:07.275973 00000058 SDB vgId:1, update mnodes role, replica:1
2021-08-16T07:58:07.276033345Z 08/16 15:58:07.275992 00000058 SDB vgId:1, mnode:1, role:master
2021-08-16T07:58:07.276037404Z 08/16 15:58:07.276001 00000058 MND vgId:1, update mnodes epSet, numOfMnodes:1
2021-08-16T07:58:07.276042436Z 08/16 15:58:07.276010 00000058 MND vgId:1, mnodes epSet is set, num:1 inUse:0
2021-08-16T07:58:07.276051403Z 08/16 15:58:07.276018 00000058 MND vgId:1, mnode:1, fqdn:tdengine-0.tdengine.shared-services.svc.cluster.local shell:6030 peer:6035

本地taos.cfg内容如下(本地是wsl):

$ cat /etc/taos/taos.cfg  | grep -v ^# | grep -v ^$
firstEp                  tdengine-0.tdengine.shared-services.svc.cluster.local:6030
fqdn                     tdengine-0.tdengine.shared-services.svc.cluster.local
arbitrator                tdengine-0.tdengine.shared-services.svc.cluster.local:6042
locale                en_US.UTF-8

taos运行日志如下(tdengine-0.tdengine.shared-services.svc.cluster.local为本地写hosts指向k8s loadbalancer):

==================================================
                new log file
==================================================
08/16 15:54:23.898813 00000791 UTL localEp is: tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899276 00000791 UTL WARN timezone not configured, set to system default:Asia/Shanghai (CST, +0800)
08/16 15:54:23.899281 00000791 UTL WARN charset not configured, set to system default:UTF-8
08/16 15:54:23.899375 00000791 UTL    check global cfg completed
08/16 15:54:23.899377 00000791 UTL ==================================
08/16 15:54:23.899378 00000791 UTL    taos config & system info:
08/16 15:54:23.899379 00000791 UTL ==================================
08/16 15:54:23.899380 00000791 UTL  firstEp:                tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899381 00000791 UTL  secondEp:               tdengine-0.tdengine.shared-services.svc.cluster.local:6030
08/16 15:54:23.899382 00000791 UTL  fqdn:                   tdengine-0.tdengine.shared-services.svc.cluster.local
08/16 15:54:23.899383 00000791 UTL  serverPort:             6030
08/16 15:54:23.899383 00000791 UTL  configDir:              /etc/taos
08/16 15:54:23.899384 00000791 UTL  logDir:                 /var/log/taos
08/16 15:54:23.899385 00000791 UTL  scriptDir:              /etc/taos
08/16 15:54:23.899385 00000791 UTL  arbitrator:             tdengine-0.tdengine.shared-services.svc.cluster.local:6042
08/16 15:54:23.899386 00000791 UTL  numOfThreadsPerCore:    1.000000
08/16 15:54:23.899390 00000791 UTL  rpcTimer:               1000(ms)
08/16 15:54:23.899390 00000791 UTL  rpcForceTcp:            0
08/16 15:54:23.899391 00000791 UTL  rpcMaxTime:             600(s)
08/16 15:54:23.899392 00000791 UTL  shellActivityTimer:     3(s)
08/16 15:54:23.899393 00000791 UTL  compressMsgSize:        -1
08/16 15:54:23.899393 00000791 UTL  maxSQLLength:           1048576(byte)
08/16 15:54:23.899394 00000791 UTL  maxNumOfOrderedRes:     100000
08/16 15:54:23.899395 00000791 UTL  keepColumnName:         0
08/16 15:54:23.899396 00000791 UTL  timezone:               Asia/Shanghai (CST, +0800)
08/16 15:54:23.899396 00000791 UTL  locale:                 en_US.UTF-8
08/16 15:54:23.899397 00000791 UTL  charset:                UTF-8
08/16 15:54:23.899398 00000791 UTL  numOfLogLines:          10000000
08/16 15:54:23.899398 00000791 UTL  logKeepDays:            0
08/16 15:54:23.899399 00000791 UTL  asyncLog:               1
08/16 15:54:23.899400 00000791 UTL  debugFlag:              0
08/16 15:54:23.899400 00000791 UTL  rpcDebugFlag:           131
08/16 15:54:23.899401 00000791 UTL  tmrDebugFlag:           131
08/16 15:54:23.899402 00000791 UTL  cDebugFlag:             131
08/16 15:54:23.899402 00000791 UTL  jniDebugFlag:           131
08/16 15:54:23.899403 00000791 UTL  odbcDebugFlag:          131
08/16 15:54:23.899404 00000791 UTL  uDebugFlag:             131
08/16 15:54:23.899404 00000791 UTL  qDebugFlag:             131
08/16 15:54:23.899405 00000791 UTL  tsdbDebugFlag:          131
08/16 15:54:23.899406 00000791 UTL  gitinfo:                6e0e4584754c6a6ae305b999cf73413336402a4a
08/16 15:54:23.899406 00000791 UTL  gitinfoOfInternal:      NULL
08/16 15:54:23.899407 00000791 UTL  buildinfo:              Built at 2021-05-23 13:38
08/16 15:54:23.899408 00000791 UTL  version:                2.1.1.0
08/16 15:54:23.899408 00000791 UTL  maxBinaryDisplayWidth:  30
08/16 15:54:23.899409 00000791 UTL  tempDir:                /tmp/
08/16 15:54:23.899410 00000791 UTL  os pageSize:            4096(KB)
08/16 15:54:23.899411 00000791 UTL  os openMax:             1024
08/16 15:54:23.899412 00000791 UTL  os streamMax:           16
08/16 15:54:23.899412 00000791 UTL  os numOfCores:          8
08/16 15:54:23.899413 00000791 UTL  os totalDisk:           0.000000(GB)
08/16 15:54:23.899414 00000791 UTL  os usedDisk:            0.000000(GB)
08/16 15:54:23.899414 00000791 UTL  os availDisk:           0.000000(GB)
08/16 15:54:23.899415 00000791 UTL  os totalMemory:         12610(MB)
08/16 15:54:23.899417 00000791 UTL  os sysname:             Linux
08/16 15:54:23.899418 00000791 UTL  os nodename:            zhoukaifeng
08/16 15:54:23.899419 00000791 UTL  os release:             5.4.72-microsoft-standard-WSL2
08/16 15:54:23.899420 00000791 UTL  os version:             #1 SMP Wed Oct 28 23:40:43 UTC 2020
08/16 15:54:23.899420 00000791 UTL  os machine:             x86_64
08/16 15:54:23.899421 00000791 UTL  dataDir: /var/lib/taos
08/16 15:54:23.899422 00000791 UTL ==================================

服务端taos可以正常连接,服务端taos.cfg内容:

# cat /etc/taos/taos.cfg
firstEp tdengine-0.tdengine.shared-services.svc.cluster.local:6030
fqdn tdengine-0.tdengine.shared-services.svc.cluster.local
keep 3650
serverPort 6030

k8s额外添加的lb的配置1:

kind: Service
apiVersion: v1
metadata:
  name: tdengine-lb
  namespace: shared-services
  selfLink: /api/v1/namespaces/shared-services/services/tdengine-lb
  uid: 306b2565-063f-4f36-9e0f-21805791c169
  resourceVersion: '86999371'
  creationTimestamp: '2021-08-16T05:58:03Z'
  labels:
    dce.daocloud.io/app: tdengine
    dce.daocloud.io/loadbalancer: ''
  annotations:
    io.daocloud.dce.serviceSelectorType: labels
    lbAlgo: wlc
    loadBalancerIP: 10.0.24.3
    persistence_timeout: '0'
spec:
  ports:
    - name: tdengine-lb-6030
      protocol: TCP
      port: 6030
      targetPort: 6030
      nodePort: 35807
    - name: tdengine-lb-6035
      protocol: TCP
      port: 6035
      targetPort: 6035
      nodePort: 34207
    - name: tdengine-lb-6040
      protocol: TCP
      port: 6040
      targetPort: 6040
      nodePort: 35755
    - name: tdengine-lb-6041
      protocol: TCP
      port: 6041
      targetPort: 6041
      nodePort: 36796
  selector:
    app.kubernetes.io/instance: tdengine
    app.kubernetes.io/name: tdengine
    statefulset.kubernetes.io/pod-name: tdengine-0
  clusterIP: 172.31.235.166
  type: LoadBalancer
  sessionAffinity: None
  externalTrafficPolicy: Cluster
  ipFamily: IPv4
status:
  loadBalancer:
    ingress:
      - ip: 10.0.24.3

lb配置2:

kind: Service
apiVersion: v1
metadata:
  name: tdengine-lb-udp
  namespace: shared-services
  selfLink: /api/v1/namespaces/shared-services/services/tdengine-lb-udp
  uid: 193dfa16-46af-4897-a059-6dbb65bca049
  resourceVersion: '86999143'
  creationTimestamp: '2021-08-16T08:20:04Z'
  labels:
    dce.daocloud.io/app: tdengine
    dce.daocloud.io/loadbalancer: ''
  annotations:
    io.daocloud.dce.serviceSelectorType: labels
    lbAlgo: wlc
    loadBalancerIP: 10.0.24.3
    persistence_timeout: '0'
spec:
  ports:
    - name: tdengine-lb-udp-6030
      protocol: UDP
      port: 6030
      targetPort: 6030
      nodePort: 30356
    - name: tdengine-lb-udp-6035
      protocol: UDP
      port: 6035
      targetPort: 6035
      nodePort: 30357
    - name: tdengine-lb-udp-6031
      protocol: UDP
      port: 6031
      targetPort: 6031
      nodePort: 30355
    - name: tdengine-lb-udp-6032
      protocol: UDP
      port: 6032
      targetPort: 6032
      nodePort: 32749
    - name: tdengine-lb-udp-6033
      protocol: UDP
      port: 6033
      targetPort: 6033
      nodePort: 36386
    - name: tdengine-lb-udp-6034
      protocol: UDP
      port: 6034
      targetPort: 6034
      nodePort: 33994
    - name: tdengine-lb-udp-6036
      protocol: UDP
      port: 6036
      targetPort: 6036
      nodePort: 31934
    - name: tdengine-lb-udp-6039
      protocol: UDP
      port: 6039
      targetPort: 6039
      nodePort: 37131
    - name: tdengine-lb-udp-6037
      protocol: UDP
      port: 6037
      targetPort: 6037
      nodePort: 35262
    - name: tdengine-lb-udp-6038
      protocol: UDP
      port: 6038
      targetPort: 6038
      nodePort: 37560
  selector:
    app.kubernetes.io/instance: tdengine
    app.kubernetes.io/name: tdengine
    statefulset.kubernetes.io/pod-name: tdengine-0
  clusterIP: 172.31.100.229
  type: LoadBalancer
  sessionAffinity: None
  externalTrafficPolicy: Cluster
  ipFamily: IPv4
status:
  loadBalancer:
    ingress:
      - ip: 10.0.24.3

最终报错

taos运行如下:

PS C:\TDengine> .\taos.exe

Welcome to the TDengine shell from Linux, Client Version:2.1.2.0
Copyright (c) 2020 by TAOS Data, Inc. All rights reserved.

taos> show users;

DB error: Unable to establish connection (4.113000s)
taos>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.