Commit graph

42977 commits

Author SHA1 Message Date
Simon Guan
a63e8e398d fix: more 2026-05-24 14:31:02 +08:00
Simon Guan
7b6cbda944 fix: compile errors in mac 2026-05-24 11:29:25 +08:00
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
xsren
80612dcf22
fix: initialize pSerialized to NULL to prevent free of stack pointer (rd-public/tsdb!305) 2026-05-23 14:11:28 +08:00
berylbao
80a40f28b1
fix: balance vgroup leader fails for replica-2 databases (rd-public/tsdb!350) 2026-05-23 14:11:28 +08:00
mariopeng
225fb2a628
enh(stmt2): select support timestamp adaptive preicision (rd-public/tsdb!320) 2026-05-23 14:11:27 +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
berylbao
9939b11a43
fix(stream): backward-compatible checkpoint format read for pre-5eafbe2 records (rd-public/tsdb!323) 2026-05-23 14:11:26 +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
mmwang
aca241c1d1
fix(sml): smlCheckMeta retry on schema version mismatch (rd-public/tsdb!255) 2026-05-23 14:11:26 +08:00
klxu
6af3c7a595
fix(log): log file disorder on windows (rd-public/tsdb!285) 2026-05-23 14:11:25 +08:00
xsren
f67fd254d0
fix: tsem_timewait test case (rd-public/tsdb!241) 2026-05-23 14:11:25 +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
haoranchen
d2213c9faa
fix: support GCC 9 os sysinfo build (#35339)
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-15 14:48:38 +08:00
Bomin Zhang
a844bad754
enh: detect resource limit under cgroup v2 (#35320)
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-13 20:09:07 +08:00
Bomin Zhang
665f73d44b
fix: add check for invalid encode/compress algorithm (#35311) 2026-05-13 19:55:25 +08:00
Peng Rongkun
c69724a279
fix: stmt retry when table recreate (#35303) 2026-05-13 09:11:04 +08:00
xinsheng Ren
107e3f7329
enh: timerange pushdown in asof join sql (#35289) 2026-05-12 13:42:45 +08:00
Jinqing Kuang
66692d5044
fix(stream): link event subwindow notifications to parent (#35308)
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-12 09:18:36 +08:00
xinsheng Ren
a9a07cae6f
fix(test): handle NULL _irowts_origin in interp fill(near) test (#35304) 2026-05-12 09:06:16 +08:00
guichuan zhang
b5ecfbeb8a
feat: implement retrival of licenses from CLS server (#35246) 2026-05-10 21:52:03 +08:00
Kaili Xu
79e9709cc5
fix(rbac): privilege of change passwd[manual-only] (#35284) 2026-05-09 15:46:04 +08:00
dongming chen
1a98818392
fix: [6983940543] upgrade sdb (#35285)
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-09 09:36:30 +08:00
xinsheng Ren
e4de207edc
enh: add perm entropy agg example for udf (#35271) 2026-05-09 09:24:30 +08:00
Jinqing Kuang
09a0b9b638
fix(stream): align external window join indices (#35291) 2026-05-08 10:26:36 +08:00
dongming chen
3d2865584a
fix: [6980850041] avoid vote at learner state (#35258) 2026-05-07 15:16:55 +08:00
Jinqing Kuang
5f8c328226
feat(stream): support external window join subqueries (#35255)
Some checks failed
TDengine Release Build / Run on macos-14 (push) Has been cancelled
TDengine Release Build / Run on ubuntu-22.04 (push) Has been cancelled
2026-05-06 09:53:29 +08:00
Jinqing Kuang
50470cbdb6
fix(stream): reduce trigger task running log noise (#35257) 2026-04-29 19:53:37 +08:00
WANG MINGMING
8a13299e56
fix(stream): coredump when UDF used in stream WHERE clause (#35250) 2026-04-29 19:51:23 +08:00
Mario Peng
1977e9b0e7
feat(client): rate-limit and reuse RPC for connectionless instance APIs (#35175) 2026-04-28 22:35:16 +08:00
Mario Peng
18fb7d5297
feat(client): expose DB timestamp precision in taos_stmt2_get_fields … (#35167) 2026-04-28 22:34:06 +08:00
Yihao Deng
787ecedbc0
fix: sasl recheck var (#35249)
Co-authored-by: taos-support <kjduan@taosdata.com>
2026-04-28 16:18:30 +08:00
Kaili Xu
cd5ca210d4
enh(mac): test case for alter db/table security level and insert into file[manual-only] (#35245) 2026-04-28 13:12:25 +08:00
Zhixiao Bao
b8f29a4706
Fix: solving code security issues. (#35234) 2026-04-28 11:30:56 +08:00
Kaili Xu
024df8791f
fix(mac): nwd when insert by taos -s[manual-only] (#35243) 2026-04-28 10:33:16 +08:00
Yihao Deng
bcb215522a
fix(transport): fix SASL null pointer check and build config (#35221) 2026-04-28 10:04:37 +08:00
Kaili Xu
8f1b3973cf
enh(rbac): add desc of grant mask in mask function section (#35241) 2026-04-27 19:48:59 +08:00
Kaili Xu
9b303d6777
enh(rbac): column level SELECT mask privilege for data desensitization (#35232) 2026-04-27 15:56:44 +08:00
dongming chen
d82304e2ac
fix: [6979188894] add-ADVANCED_SECURITY (#35236) 2026-04-27 15:48:06 +08:00
Kaili Xu
908abd44c8
fix(rbac): access control[manual-only] (#35213) 2026-04-27 14:57:54 +08:00
Alex Duan
487aa134e0
security check: int32 with size_t mixed calc on memcpy parameter (#35218) 2026-04-24 14:52:41 +08:00
Kaili Xu
460361b679
fix(rbac): privilege exemption for db owner by sml (#35209) 2026-04-24 09:52:21 +08:00
Kaili Xu
fde63d139e
feat(mac): sod mandatory and mac[manual-only] (#35121) 2026-04-22 20:26:42 +08:00
Minglei Jin
40a23dfe5b
fix(stream/mnode): fix stream heartbeat msg processing's locking (#35164) 2026-04-21 09:58:42 +08:00
Jinqing Kuang
b403f3dfd1
fix(stream): handle notify output for nested diff external window (#35146) 2026-04-21 09:52:04 +08:00
Mario Peng
c69544eafe
enh(stmt2): refactoring stmt2 retry strategy (#35139)
Track tRowBuild-allocated rows explicitly in stmtPatch (aHeapRows) and free
them before tDestroySubmitReq instead of inferring heap vs slab by address
range, fixing invalid free of decoded-in-place SRow pointers.
Use asyncQueryCb for internal async retries so the user asyncExecFn runs once
with the final result; invoke the user callback when retry setup fails; remove
asyncQueryCbRetry.
In stmt2Case.exec_retry, accept NULL for backfilled INT columns after ALTER
ADD COLUMN (taos_fetch_row uses null pointers for SQL NULL).
2026-04-21 09:09:00 +08:00
Pan Wei
4bd8dfe637
fix: remove queryBufferSize and cacheLazyLoadThreshold in code and docs (#35176)
* docs: remove queryBufferSize configuration description

* refactor: remove deprecated queryBufferSize and cacheLazyLoadThreshold configs

Both configs were dead code with no actual effect:
- queryBufferSize/tsQueryBufferSize/tsQueryBufferSizeBytes: explicitly
  documented as 'not effective yet'; checkForQueryBuf/releaseQueryBuf
  were defined but never called anywhere
- tsCacheLazyLoadThreshold/cacheLazyLoadThreshold: registered and read
  from config but never referenced in any business logic

Remove variable declarations, definitions, config registrations, config
loading, associated functions, cfg file examples, docs, and test entries.
2026-04-20 17:42:14 +08:00
xinsheng Ren
71d1ad3f11
fix: taos_cleanup (#35079) 2026-04-17 13:38:41 +08:00
Zhixiao Bao
5e1a27e400
fix(auth): allow login for users created with storage encryption enabled. (#35156) 2026-04-17 13:34:32 +08:00
WANG MINGMING
ee7c9c365f
fix(tmq): add test case for drop table & updata docs (#35141) 2026-04-16 16:57:49 +08:00