Commit graph

18335 commits

Author SHA1 Message Date
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
Kaili Xu
1697365722
enh: check user name of consumer object directly. (#34445) 2026-01-29 19:24:39 +08:00
Jinqing Kuang
6defccb35a
feat(stream): support true for row count limit (#34342) 2026-01-29 14:54:28 +08:00
Simon Guan
4ffef52df5 fix: conflicts 2026-01-29 11:42:38 +08:00
Simon Guan
81584bfa4d Merge branch '3.3.6' into merge/3.3.6to3.3.8 2026-01-29 11:30:47 +08:00
Jing Sima
bbab4f949c
fix: [6570595001] Add correct error handling logic. (#34088) 2026-01-29 09:48:09 +08:00
Kaili Xu
b3e56f99ae
enh(rbac): access control (#34259) 2026-01-28 19:06:16 +08:00
Zhixiao Bao
f57ae7b13b
enh: prohibit users from tampering with configuration files after data encryption takes effect (#34344) 2026-01-28 17:23:39 +08:00
Zhixiao Bao
c613cdbf10
feat: support alter key expiration time. (#34390) 2026-01-28 17:16:11 +08:00
Zhixiao Bao
60e3ba6a62
fix: can not restart taosd while use encrypt meta data. (#34409) 2026-01-27 18:22:54 +08:00
Simon Guan
22b1dac1c3 fix: conflicts 2026-01-23 09:28:39 +08:00
Bomin Zhang
368e63d4b7
test: add more cases for user, token and totp (#34368) 2026-01-23 09:15:40 +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
Zhixiao Bao
3de5894916
feat: taosk compatibility (#34343) 2026-01-22 14:24:32 +08:00
Jinqing Kuang
54b40b7526
fix(stream): fix mgmt add new calc reader task (#34357) 2026-01-22 09:41:35 +08:00
Jinqing Kuang
7901e3e2d5
fix(stream): fix mgmt add new calc reader task (#34358) 2026-01-22 09:41:29 +08:00
Jing Sima
8f7d35802c
enh: [6718786025] Optimize error code and error msg. (#34362) 2026-01-22 08:28:17 +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
Zhixiao Bao
5eafbe2b60
feat: support encrypt bse , mnode , stream checkpoint. (#34197) 2026-01-20 10:29:21 +08:00
Bomin Zhang
6a2a64895f
fix: fix three bugs (#34314) 2026-01-19 17:43:36 +08:00
Simon Guan
a3ba03cbd4
mereg: from 3.3.8 to main #34311 2026-01-15 22:52:41 +08:00
Bomin Zhang
516695669b
feat: implement token notification (#34273) 2026-01-15 17:22:22 +08:00
Simon Guan
7c0658c6a7 fix: conflicts 2026-01-15 15:00:28 +08:00
Simon Guan
d14b7a3d3f
merge: from 3.3.6 to 3.3.8 #34310 2026-01-15 14:58:01 +08:00
Kaili Xu
dbe0c8a56f
fix(timer): periodic latency in timer (#34285) 2026-01-15 14:55:30 +08:00
wangmm0220
0c0117243f Merge branch 'main' into merge/3.3.8tomain 2026-01-15 10:31:51 +08:00
WANG MINGMING
982e243d5b
fix(stream): align version between tablelist and submit to avoid Invalid parameters if deleting table (#34269) 2026-01-15 10:18:51 +08:00
Simon Guan
c692f2c6f9 Merge branch 'main' into merge/3.3.8tomain 2026-01-15 09:57:06 +08:00
Jing Sima
4f3d048670
Adjust virtual table's max ref table num. (#34284) 2026-01-15 09:27:24 +08:00
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
WANG MINGMING
1350abd5e7
fix(stream): align version between tablelist and submit to avoid Invalid parameters if deleting table (#34255) 2026-01-14 09:08:36 +08:00
Simon Guan
6e79c5fe0f merge: from 3.3.8 to main 2026-01-13 18:11:39 +08:00
Zhixiao Bao
ee5583e0e5
fix: taosd core while duplicate exec trim database wal. (#34268) 2026-01-13 17:33:59 +08:00
Zhixiao Bao
6212436901
fix: taosd core while duplicate exec trim database wal. (#34267) 2026-01-13 17:33:57 +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