Commit graph

18302 commits

Author SHA1 Message Date
guichuan zhang
faba0146c4
fix(xnode): update the third parameter of xDecodeCowStr from NULL to true and add new params for start task api request (#34288)
Closes [6690089126](https://project.feishu.cn/taosdata_td/defect/detail/6690089126)
2026-01-14 19:32:28 +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
Simon Guan
e3677cc440 merge: from 3.3.8 to main 2026-01-12 13:44:59 +08:00
Simon Guan
3aef9cb29c Merge branch '3.3.6' into merge/3.3.6to3.3.8 2026-01-12 09:43:29 +08:00
Haojun Liao
fa7e8ec861
fix(query): init the stt block reader when returning the clean stt/datablock. (#34076) 2026-01-09 18:01:01 +08:00
Bomin Zhang
ef53f0410d
fix: allow_datetime cannot be set during create user (#34226) 2026-01-09 15:11:47 +08:00
Zhixiao Bao
8a9e51033e
feat: add generate encrypt key at test framework. (#34182) 2026-01-09 15:10:55 +08:00
Bomin Zhang
97d2bceed1
fix: 3 bugs related to token and user (#34219) 2026-01-09 09:10:00 +08:00
Bomin Zhang
c7087331c8
feat: add option to force change default password (#34165) 2026-01-08 19:39:46 +08:00
WANG MINGMING
2cebfb08f0
fix(client): heartbeat msg incompatible (#34208) 2026-01-08 19:24:39 +08:00
WANG MINGMING
75fef7196e
fix(client): heartbeat msg incompatible (#34207) 2026-01-08 19:24:18 +08:00
Bomin Zhang
56bea7d81a
feat: support create/drop totp_secret statement (#34162) 2026-01-06 09:28:58 +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
Yihao Deng
f8d1333fe3
enh: adjust vnode per call (#34145) 2025-12-31 21:03:49 +08:00
Mario Peng
11fb428f9a
enh: drop multi-stream (#33962) 2025-12-30 18:52:02 +08:00
Bomin Zhang
aa21a2047a
feat: three minor enhancement (#34110) 2025-12-30 14:18:44 +08:00
Simon Guan
dc9886309d Merge branch '3.0' into merge/mainto3.0 2025-12-30 14:07:22 +08:00
Yihao Deng
7e8ef40e0a
enh: addTransportSafetyTest (#34081) 2025-12-30 14:06:30 +08:00
Kaili Xu
562ddff48a
fix(rbac): show users full and grant grammar (#34108) 2025-12-30 14:06:03 +08:00
Simon Guan
5f01f9002a Merge branch 'main' into merge/mainto3.0 2025-12-30 13:42:57 +08:00
Simon Guan
20b5bd8945
merge: from 3.3.6 to main #34106 2025-12-30 13:39:46 +08:00
Simon Guan
33d6bc54ab fix: conflicts 2025-12-30 11:20:41 +08:00
Minglei Jin
907f3940bc
fix(ext window): shrink ext window mem when loop finished (#34038) 2025-12-30 11:02:08 +08:00
Mario Peng
064a380942
fix:stream out table schema change problem (#34024) 2025-12-30 10:55:17 +08:00
Bomin Zhang
40f6345f4e
enh: sign connect request (#34067) 2025-12-29 22:08:38 +08:00
Simon Guan
d019577a3b fix: conflicts 2025-12-29 20:27:54 +08:00
Simon Guan
a42a0e6d4e Merge branch 'main' into merge/mainto3.0 2025-12-29 20:25:34 +08:00
Simon Guan
8b2c878a77 Merge branch 'main' into merge/3.3.6tomain 2025-12-29 19:33:17 +08:00
Simon Guan
4f1078fecc fix: conflicts 2025-12-29 19:32:29 +08:00
Kaili Xu
31126ab2b6
feat(rbac): access control (#33822) 2025-12-29 19:27:11 +08:00
Zhixiao Bao
91ef62e476
fix: cacheload may bigger than int_32. (#34101) 2025-12-29 19:17:01 +08:00
Zhixiao Bao
a32c710506
fix: mem leak and heap use after free in mnd. (#34089) 2025-12-29 17:22:20 +08:00
Simon Guan
b3fb9a6ef8 merge: from main to 3.0 2025-12-27 19:03:07 +08:00
Simon Guan
bff20028f1 merge: from main to 3.0 2025-12-27 18:53:33 +08:00
Haojun Liao
1336420886
fix(query): add stt reader check. (#34073) 2025-12-27 18:46:05 +08:00
Yihao Deng
d124e18b3b
enh: add token transport (#34012) 2025-12-27 16:09:12 +08:00
Zhixiao Bao
1cbbc16db9
fix: init taosd failed in unit test. (#34068) 2025-12-27 13:48:32 +08:00
Simon Guan
b6d376b5cf
merge: from main to 3.0 branch #34062 2025-12-27 09:22:50 +08:00
Zhixiao Bao
216c8d4afd
feat: support encryption of configuration files, data files and metadata files (#33801) 2025-12-26 17:58:46 +08:00
Bomin Zhang
02f627bc71
fix several issues in token and totp (#34057) 2025-12-26 17:14:19 +08:00
wangmm0220
3cf43df116 fix(taosd): merge from main 2025-12-26 10:13:30 +08:00
WANG MINGMING
b318864df8
fix(stream): uid cannot find in uidIndex because of numOfRows==0 & send msg to trigger if error happens in reader (#34031) 2025-12-26 09:12:35 +08:00
Simon Guan
67553faa77 merge: from 3.3.6 to main 2025-12-25 18:13:54 +08:00
WANG MINGMING
c08c6a2d59
feat(tmq): support show connections for tmq (#33930) 2025-12-25 17:09:04 +08:00
Bomin Zhang
9f0271d715
feat: support token authentication (#34026) 2025-12-25 16:30:10 +08:00
dongming chen
d3d5798cd2
feat/TS-6863-add-use-token-para (#34029) 2025-12-25 15:52:01 +08:00
WANG MINGMING
acfe352b5b
feat(stream): [TD-37208] process schema changed in vtable (#33871) 2025-12-25 14:41:08 +08:00
dongming chen
e0ff824498
fix/6604279540: add more log for save raft config (#34010) 2025-12-24 09:07:42 +08:00
Simon Guan
60d797cdcf fix: conflicts 2025-12-23 15:31:08 +08:00