Commit graph

2954 commits

Author SHA1 Message Date
WANG Xu
c52c68aa4f
sync: apply remaining build system changes from monorepo (main)
The following commits could not be applied individually due to context
differences between the monorepo and the public repo's build files.
They have been applied as a cumulative diff to ensure the final state
matches the monorepo exactly:

- chore: sync CI files with 3.0 branch to eliminate merge conflicts (rd-public/tsdb!271)
- revert(refactor): dynamically link taosd taosudf taosmqtt against libtaosnative.so to reduce binary size (revert #183) (rd-public/tsdb!282)
- fix(docs): autofix formatting issues across all doc files (rd-public/tsdb!296)
- feat: support -DBUILD_SANITIZER=true on windows for debug build (rd-public/tsdb!291)
- feat(build): build cache, mirror, and sccache optimizations (rd-public/tsdb!326)
- docs: update image for three replica (rd-public/tsdb!324)
- enh: shared storage on windows (rd-public/tsdb!333)
- fix(cmake): convert ext_libs3 from git clone to URL tarball download (rd-public/tsdb!360)
- feat: dual-source deps and comprehensive docs/packaging (cherry-pick to main) (rd-public/tsdb!352)
- fix(cmake): guard DOWNLOAD_EXTRACT_TIMESTAMP for CMake < 3.24 and fix duplicate Cargo.lock entry (rd-public/tsdb!369)
- fix: test case execution failure in pytest.sh (rd-public/tsdb!338)
- enh: built-in compilation support for Python UDF plugins use abi3 (rd-public/tsdb!325)
2026-05-23 14:11:50 +08:00
mljin
1c02910dd3
fix(subq/stream): stream subquery per-event re-evaluation (#6984935627) (rd-public/tsdb!242) 2026-05-23 14:11:27 +08:00
wpan
ddc6982cb8
fix(mnode): resolve taosd deadlock when querying ins_stables with many supertables (rd-public/tsdb!309) 2026-05-23 14:11:26 +08:00
Peng Rongkun
1af59324f4
feat: implement SHOW CREATE STREAM statement (#35158)
Some checks are pending
TDengine Release Build / Run on macos-14 (push) Waiting to run
TDengine Release Build / Run on ubuntu-22.04 (push) Waiting to run
2026-05-16 20:39:39 +08:00
Kaili Xu
908abd44c8
fix(rbac): access control[manual-only] (#35213) 2026-04-27 14:57:54 +08:00
Kaili Xu
fde63d139e
feat(mac): sod mandatory and mac[manual-only] (#35121) 2026-04-22 20:26:42 +08:00
Tony Zhang
a86f629452
refactor(timezone): checkTime in dnode and mnode implementations and timetruncate logic for interval (main branch) (#35057) 2026-04-15 18:37:43 +08:00
Alex Duan
b64bdd2f26
fix: windows pList not locked and add more info to minidump file (#35080) 2026-04-15 09:10:39 +08:00
Mario Peng
25a76f0496
enh:stream nodelay create out table (#34954) 2026-03-29 11:22:27 +08:00
Zhixiao Bao
28625294a2
fix: enable taosk to compile on Windows. (#34936)
* fix: use etool.taoskFile() in test_key_generation for Windows compat.

* fix: resolve taosk.exe path on Windows in Security tests

On Windows the taosk binary is taosk.exe. Three fixes:

- taosd.py: use platform.system() to append .exe when looking up taosk
  path during encrypt-key setup before taosd starts; previously the
  lookup always failed silently so master.bin was never generated
- test_key_update.py: replace hardcoded 'taosk' with etool.taoskFile()
- test_key_backup_restore.py: same fix as above

Made-with: Cursor

* fix: build taosk on windows.

* fix: taosd error at windows.

* fix: skip AES-128-CBC test on Windows (Linux enterprise only)

AES-128-CBC encryption algorithm is only registered in mndEncryptAlgr.c
when TD_ENTERPRISE && LINUX is defined. The Windows builtin CBC
implementation always uses SM4 regardless of algorithm name, so
AES-128-CBC cannot be supported on Windows. Skip the AES database
creation and verification steps on non-Linux platforms.

Made-with: Cursor

* Revert "fix: skip AES-128-CBC test on Windows (Linux enterprise only)"

This reverts commit 67e0e81ef9.
2026-03-26 10:27:56 +08:00
Yihao Deng
43dca0dae9
enh: add reference verification capabilities between virtual tables and source tables, including reference relationship storage, source table change verification, reference relationship query and virtual table availability verification functions (#34740) 2026-03-21 11:49:50 +08:00
Zhixiao Bao
d0c6d74502
feat: last cache shard-bits (#34857) 2026-03-20 13:56:20 +08:00
dapan1121
42f03e896a Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2026-03-20 09:58:36 +08:00
WANG MINGMING
6b890c396f
fix(tmq): client does not poll data in a long time if there are some exceptions in channel (#34852) 2026-03-19 17:11:13 +08:00
Yihao Deng
9d746e0730
fix compile error (#34803) 2026-03-17 13:49:08 +08:00
Yihao Deng
4c94cbe5da
enh: add safefunc (#34436) 2026-03-16 20:27:15 +08:00
Zhixiao Bao
e29fadda2e
feat: support secure delete option. (#34591) 2026-03-16 20:26:22 +08:00
Minglei Jin
49a1c6908a
calc subq to runner (#34457) 2026-03-16 14:10:31 +08:00
Hongze Cheng
3401aa8f98
feat: add data force repair mode (#34753) 2026-03-16 10:21:17 +08:00
dongming chen
80c8c432e4
feat/6641435300-save-audit-in-self (#34738) 2026-03-13 11:38:17 +08:00
Simon Guan
7028cb234e fix: conflicts 2026-01-30 10:28:30 +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
e526d3a338
merge: from main to 3.0 #34371 2026-01-22 14:38:48 +08:00
Zhixiao Bao
3de5894916
feat: taosk compatibility (#34343) 2026-01-22 14:24:32 +08:00
Simon Guan
1d69d0bcc5 Merge branch 'main' into merge/mainto3.0 2026-01-20 15:13:36 +08:00
Zhixiao Bao
5eafbe2b60
feat: support encrypt bse , mnode , stream checkpoint. (#34197) 2026-01-20 10:29:21 +08:00
Tony Zhang
02f1308dbc
enh: interp supports using non-null prev/next values to fill (#34236) 2026-01-16 10:32:01 +08:00
Simon Guan
7cefa9c677 Merge branch '3.0' into merge/mainto3.0 2026-01-15 22:54:30 +08:00
dongming chen
1c31685529
fix/6696481594-remove-more-log (#34306) 2026-01-15 17:27: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
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
Kaili Xu
31126ab2b6
feat(rbac): access control (#33822) 2025-12-29 19:27:11 +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
Simon Guan
67553faa77 merge: from 3.3.6 to main 2025-12-25 18:13:54 +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
dongming chen
e0ff824498
fix/6604279540: add more log for save raft config (#34010) 2025-12-24 09:07:42 +08:00
dongming chen
55f5bc0dd2
feat[TS-7233]: audit (#33850) 2025-12-16 16:27:11 +08:00
Yihao Deng
f5298caa15
enh: support reload ssl (#33858) 2025-12-15 16:48:20 +08:00
WANG MINGMING
79a5c48ffa
feat(tmq): [TS-6379]remove limition for table operation in tmq (#33834) 2025-12-15 11:26:46 +08:00
dongming chen
e2ee83890b
feat(TS-7270): return code check (#33885) 2025-12-12 14:49:24 +08:00