Commit graph

8 commits

Author SHA1 Message Date
guichuan zhang
e050ca09a9
fix(xnoded): fix error msg when creating xnode (#34503)
Closes [6735485359](https://project.feishu.cn/taosdata_td/defect/detail/6735485359)
2026-02-05 11:20:04 +08:00
guichuan zhang
5ce61e1f29
feat[manual-only]: support token auth when creating XNODE (#34419)
* feat(xnode): support token auth when creating XNODE

Closes [6725312703](https://project.feishu.cn/taosdata_td/feature/detail/6725312703)

* chore: clean code & fix xnode transactions issues

* chore: fix alter xnode job memory leak

* fix: update workflow reference to use specific commit for new framework test

---------

Co-authored-by: chenhaoran <haoran920c@163.com>
2026-01-30 15:40:11 +08:00
guichuan zhang
e27847bd3d
fix(xnode): fix memory leak when executing sql:drop xnode job where config=… (#34366)
* fix(xnode): fix memory leak when use sql:drop xnode job where config='test'

Closes [6722111724](https://project.feishu.cn/taosdata_td/defect/detail/6722111724)

* chore: fix debugFlag CI related issue
2026-01-22 15:32:20 +08:00
guichuan zhang
7c70a00abe
chore: fix xnoded path macro not exist for windows (#34349) 2026-01-20 22:48:24 +08:00
guichuan zhang
cbfa5e03d5
enh(xnode): support where condition for show xnode task/job/agent clause (#34315)
* enh(xnode): support where condition for show xnode task/job/agent clause

Closes [6672740298](https://project.feishu.cn/taosdata_td/feature/detail/6672740298)

* chore: support where clause for drop xnode job

* chore: optimize search xnoded exec file
2026-01-20 20:35:57 +08:00
guichuan zhang
ca355cafdf
enh(xnode): add column created_by and labels for xnode task (#34264)
Closes [6659009378](https://project.feishu.cn/taosdata_td/feature/detail/6659009378)
2026-01-14 11:35:03 +08:00
guichuan zhang
03b70995bb
feat(taosx): support xnode agent management sql (#34224)
* feat(taosx): support xnode agent management sql

Closes [6646814636](https://project.feishu.cn/taosdata_td/feature/detail/6646814636)

* fix some memory leak

* chore: fix windows can't find openssl header file

* chore: fix memory in xnode agent module

* chore: fix and job memory leak

* docs: add error code and agent management docs

* chore: change the order of QUERY_NODE_ALTER_XNODE_AGENT_STMT
2026-01-12 20:15:37 +08:00
guichuan zhang
2c62466aa0
feat(taosx): support distributed taosx (#34126)
* feat: add xnode syntax

* refactor(xnode): reduce function complexity

* chore: add lost xnode.h file

* feat(xnode): create xnode task

* chore: fix double free error

* add xnoded

* start xnoded as subprocess

* complete xnode task feature

* complete show xnode jobs feature

* complete with option feature

* complete alter xnode job feature

* complete alter xnode task feature

* complete user pass feature

* clean code

* modify status type as char

* fix leader ep null

* fix start task req null

* fix pass id for status

* support timeout msg

* drop xnode task relative jobs

* clean code

* wip

* chore: add test cases for xnode

* chore: fix 3.0 merge changes

* fix drain core dump and create task core dump

* add password check

* retrieve xnode status from xnoded

* pass integer as double to cjson

* add some debug log

* add some job log

* fix start task lock

* do not handle http response

* fix coredump drop xnode task by name

* support start/stop/drop task by name

* remove mock xnoded

* support unix socket

* kill pre-xnoded before start

* support dnode close xnoded

* test(xnode): add unit test cases for xnode

* rebalance support where clause

* fix some test issue

* unformat http post content json string

* add xnode zh doc

* modify drain description

* remove job create/stop/drop operation

* support rebalance all without where condition

* support alter task by name

* add NULL param for mndCheckOperPrivilege

* add xnode txnode module for libmnode.a

* code clean

* change parser len to 4096

* clean code

* chore: try to fix gtest/gtest.h not found

* chore: fix markdown files

* chore: fix markdown in zh

* chore: fix enum issue and add ci

* chore: fix test case problem

* chore: fix pKeyVal overflow

* chore: rename to 排空节点

* chore: external cmake remove parallel

* chore: add DEP_ext_gtest for xnode test

* chore: fix gtest errors

* chore: remove gtest pthread lib

* chore: fix data type not match

* chore: fix some lint errors

* chore: fix void unlink

* chore: fix return with null pointer check

* chore: fix pointer double free and xnodeMemoryTest strncpy null

* chore: fix xnode encode action invalid datelen

* chore: remove TD_LINUX condition

* chore: use PRIu64 denote long long

* chore: fix task parser NULL and allow no with clause

* fix(xnode): fix windows build error

* chore: fix windows curl error

* chore: fix test case ins_tables relative error

* chore: fix memory leak

* docs: update taosx docs

* chore: update taosx docs

* chore: add role priviledge table

* chore: fix error code doc

* chore: fix test_xnode.py

* chore: fix doc typo

* fix: ci error while run test_user_privilege_sysinfo.py

---------

Co-authored-by: Linhe Huo <linhehuo@gmail.com>
Co-authored-by: huohong <sallyhuo@taosdata.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
2026-01-01 14:51:03 +08:00