Commit graph

4040 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
8ac98b48ea
fix: auth may miss cache when check use db for insert (#34438) 2026-01-29 15:54:23 +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
Kaili Xu
b3e56f99ae
enh(rbac): access control (#34259) 2026-01-28 19:06:16 +08:00
Zhixiao Bao
c613cdbf10
feat: support alter key expiration time. (#34390) 2026-01-28 17:16:11 +08:00
Jing Sima
13fe09134f
enh: [6710694996] Eliminate virtual table scan operator. (#34415) 2026-01-28 14:39:23 +08:00
xinsheng Ren
701dbca74d
enh: clarify and improve accuracy of error description for main (#34383) 2026-01-23 15:05:01 +08:00
Simon Guan
22b1dac1c3 fix: conflicts 2026-01-23 09:28:39 +08:00
Jing Sima
8f7d35802c
enh: [6718786025] Optimize error code and error msg. (#34362) 2026-01-22 08:28:17 +08:00
Mario Peng
aa92fbf5fb
enh:stmt support interval opt (#34354) 2026-01-21 14:06:49 +08:00
Simon Guan
1463ae045a fix: conflicts 2026-01-21 13:38:55 +08:00
Simon Guan
676ffd603e fix: conflicts 2026-01-21 13:37:00 +08:00
Mario Peng
104c51aec3
fix: stmt crash (#34338) 2026-01-21 09:32:21 +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
Mario Peng
f799ccc88a
fix: stmt varchar type leak (#34265) 2026-01-15 13:53:46 +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
Mario Peng
510e992f73
fix:stmt2 query tbname bind problem (#34174) 2026-01-13 15:18:36 +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
Jinqing Kuang
630c97e135
fix: stream issues (#34254) 2026-01-12 19:11:51 +08:00
Mario Peng
d9788ee8e0
fix:stmt2 memleak (#34169) 2026-01-12 13:26:52 +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
Bomin Zhang
34bf74780a
fix: wrong default value for password reuse time (#34212) 2026-01-08 19:29:38 +08:00
Simon Guan
87ad8af30a merge: from 3.3.6 to 3.3.8 2026-01-07 09:50:24 +08:00
Bomin Zhang
56bea7d81a
feat: support create/drop totp_secret statement (#34162) 2026-01-06 09:28:58 +08:00
WANG MINGMING
25c6c14490
fix(stream): add resetting tagScan logic & fix parse value error if value is integer & fix tmqError.py (#34124) 2026-01-05 15:12:54 +08:00
Kaili Xu
5b07ea1d4d
enh: privilege parse and check create stream (#34143) 2026-01-04 17:04:33 +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
Simon Guan
2b96098607
enh: drop multi-stream #34128
enh: drop multi-stream (#33962)
2025-12-30 20:02:45 +08:00
Simon Guan
69a43c9ca7
merge: from 3.3.6 to main branch #34127 2025-12-30 20:01:08 +08:00
Mario Peng
11fb428f9a
enh: drop multi-stream (#33962) 2025-12-30 18:52:02 +08:00
Simon Guan
3eafcb3489 Merge branch 'main' into merge/3.3.6tomain 2025-12-30 18:49:41 +08:00
pengrongkun94@qq.com
3b964982c3 Merge remote-tracking branch 'origin/3.3.6' into HEAD 2025-12-30 17:27:49 +08:00
Mario Peng
0e204863ef
bugfix: insert into stb subquery error (#34085) 2025-12-30 17:04:30 +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
33d6bc54ab fix: conflicts 2025-12-30 11:20:41 +08:00
Mario Peng
064a380942
fix:stream out table schema change problem (#34024) 2025-12-30 10:55:17 +08:00
Jinqing Kuang
e96f6b1e1b Merge branch 'main' into merge/mainto3.0 2025-12-30 10:19:08 +08:00
Jinqing Kuang
7793f72f64
feat(stream): support sub event in event window trigger (#34050) 2025-12-30 09:15:22 +08:00
Pan Wei
43f4fb3df5
fix: scalar subquery calc constant issue (#34097)
* fix: scalar subquery calc constant issue

* fix: memory leak issue
2025-12-30 08:15:19 +08:00
Kaili Xu
31126ab2b6
feat(rbac): access control (#33822) 2025-12-29 19:27:11 +08:00
Simon Guan
8712e0f4e2 Merge branch 'main' into merge/mainto3.0 2025-12-27 13:51:55 +08:00
Mario Peng
a361814b10
fix: qCreateName length check (#34033) 2025-12-27 09:15:53 +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
Mario Peng
3c5bc3ceb3
fix: stmt2 tbname bind memory error (#34003) 2025-12-26 15:06:26 +08:00