Commit graph

6297 commits

Author SHA1 Message Date
Bomin Zhang
3fed64faf3
delay auto ssmigrate half of the interval to avoid conflict (#35102) 2026-04-13 19:45:11 +08:00
dongming chen
185b8307bf
fix: [6952357866] fix audit bugs (#35094) 2026-04-13 13:27:04 +08:00
WANG MINGMING
195b7a8f5a
fix(stream): heap use after free (#34990) 2026-03-30 20:35:48 +08:00
Mario Peng
25a76f0496
enh:stream nodelay create out table (#34954) 2026-03-29 11:22:27 +08:00
Jinqing Kuang
27a537829b
feat(query): support external windows (#34933) 2026-03-29 09:38:08 +08:00
Bomin Zhang
a12c0a433b
fix: failed test cases on windows (#34883) 2026-03-26 10:05:06 +08:00
guichuan zhang
4c970bbef0
fix(xnode): support granting system privileges to xnode/agent and object privileges to xnode tasks (#34901)
Closes [6658956251](https://project.feishu.cn/taosdata_td/feature/detail/6658956251)
2026-03-25 08:57:26 +08:00
Jinqing Kuang
b9eb340111
feat(stream): implement idle trigger for stream partitions (#34902)
- Add IDLE_TIMEOUT(duration_time) option to STREAM_OPTIONS for
  configuring partition idle detection (valid range: [1s, 10d])
- Add IDLE and RESUME event types to EVENT_TYPE option
- Track per-partition last-receive time using monotonic clock to
  detect idle state transitions (ACTIVE -> IDLE -> ACTIVE)
- Trigger IDLE event once when a partition exceeds idle timeout;
  trigger RESUME event immediately when idle partition receives data
- Provide _tidlestart/_tidleend placeholders for idle/resume
  computation SQL (ns precision; incompatible with _twstart/_twend)
- Add idle/resume fields to notification payload: idleStart,
  idleEnd, idleDurationMs; IDLE and RESUME share the same triggerId
- Add system test: test/cases/18-StreamProcessing/04-Options/
  test_idle_trigger.py covering basic detection, resume, multiple
  partitions, timeout config, placeholder values, event combinations
- Update zh/en SQL reference and advanced-usage docs; add IDLE,
  IDLE_TIMEOUT, RESUME to reserved keywords list (3.3.4.0+)

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 10:14:40 +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
Simon Guan
7966ce4226 Merge branch '3.0' into merge/mainto3.0 2026-03-20 20:15:07 +08:00
Simon Guan
ab9789cf28 Merge branch 'main' into merge/mainto3.0 2026-03-20 20:15:05 +08:00
Kaili Xu
acc0db9dbf
fix: force upgrade user if root has no roles (#34799) 2026-03-20 14:22:24 +08:00
Yihao Deng
a4a175df2f
feat: add query phase tracking for SHOW QUERIES (#34706) 2026-03-20 14:10:18 +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
Linhe Huo
c15f23ea9a
feat(xnode): add xnode user privilege check (#34839)
Close https://project.feishu.cn/taosdata_td/feature/detail/6622713900
2026-03-19 22:36:31 +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
Simon Guan
350e43a19c fix: conflicts 2026-03-16 17:30:27 +08:00
Minglei Jin
49a1c6908a
calc subq to runner (#34457) 2026-03-16 14:10:31 +08:00
Kaili Xu
d4f001968e
enh(grant): timeseries calculation excluding system tables (#34767) 2026-03-16 09:58:47 +08:00
guichuan zhang
4369c535cd
feat(xnode): support xnode feature on Windows platform (#34776)
Closes [6646294817](https://project.feishu.cn/taosdata_td/feature/detail/6646294817)
2026-03-15 09:21:56 +08:00
dongming chen
80c8c432e4
feat/6641435300-save-audit-in-self (#34738) 2026-03-13 11:38:17 +08:00
Simon Guan
b8f11c5912 fix: conflicts 2026-03-12 09:41:15 +08:00
WANG MINGMING
6ade4e468c
opti(stream): remove old logic of stream (#34642) 2026-03-12 09:11:00 +08:00
Kaili Xu
0435899ec4
enh: support grammar of 3.3[manual-only] (#34743) 2026-03-11 14:13:00 +08:00
Simon Guan
1e1c92e4ae
merge: from main to 3.0 branch #34720 2026-03-09 17:04:21 +08:00
Kaili Xu
45c0826791
fix: privilege, error prompt and memory leak (#34675) 2026-03-06 16:04:33 +08:00
Simon Guan
2692f69fad Merge branch 'main' into merge/mainto3.0 2026-03-05 16:43:12 +08:00
Kaili Xu
f3c3eaeda4
fix: compact for ssmigrate[manual-only] (#34672) 2026-03-05 16:38:44 +08:00
Jinqing Kuang
80fdc0595d
feat: enable stream support on windows (#34681) 2026-03-05 14:53:53 +08:00
Simon Guan
08007692be fix: conflicts 2026-03-04 14:44:07 +08:00
Jinqing Kuang
218c973316
enh(stream): increase ins_streams sql display length (#34661) 2026-03-04 14:25:40 +08:00
Bomin Zhang
6aa3696e09
feat: add option to enable/disable advanced security (#34602) 2026-03-02 09:18:32 +08:00
Simon Guan
beb874241e
merge: from main to 3.0 #34603 2026-02-27 15:19:25 +08:00
guichuan zhang
1ae650d5bb
fix(xnode): support displaying dynamic error message returned by xnoded (#34601)
Closes [6833801941](https://project.feishu.cn/taosdata_td/defect/detail/6833801941)
2026-02-27 12:20:43 +08:00
Simon Guan
d26a0ee67a fix: conflicts 2026-02-26 14:06:02 +08:00
Jinqing Kuang
1e082a00b8
fix(stream): fix ci case issues (#34516) 2026-02-23 20:46:41 +08:00
Mario Peng
50a5795988
enh accelerate create stream (#34550) 2026-02-12 01:12:40 +08:00
guichuan zhang
a4696b6230
fix(xnode): fix grant check error in mndXnode mod & add via/labels/created_by params for xnode task validation (#34553)
* fix(xnode): fix grant check error in mndXnode mod

Closes [6793469478](https://project.feishu.cn/taosdata_td/defect/detail/6793469478)

* fix(xnode): add via/labels/created_by params for xnode task validation

Closes [6793548966](https://project.feishu.cn/taosdata_td/defect/detail/6793548966)

* chore: fix spell error

* chore: update raw data len for task/job encoder

* chore: add test case
2026-02-11 23:34:22 +08:00
Kaili Xu
f280873585
fix(rbac): catalog sub task and view/stream privileges[manual-only] (#34506) 2026-02-06 15:30:48 +08:00
wangmm0220
7ce68a3f23 fix(taosd): conflicts from main 2026-02-06 11:21:26 +08:00
Kaili Xu
0713c22872
fix(rbac): refactor docs, permission error, db owner and audit table[manual-only] (#34498) 2026-02-05 16:14:02 +08:00
guichuan zhang
e050ca09a9
fix(xnoded): fix error msg when creating xnode (#34503)
Closes [6735485359](https://project.feishu.cn/taosdata_td/defect/detail/6735485359)
2026-02-05 11:20:04 +08:00
guichuan zhang
b6cab34a18
fix(xnode): increase the length of parser column and config column (#34491)
* fix(xnode): increase the length of parser column and config column

Closes [6755743701](https://project.feishu.cn/taosdata_td/defect/detail/6755743701)

* chore: fix memory leak

* chore: increase parser/config column length to 48k

* chore: add new error code to docs
2026-02-03 22:31:07 +08:00
dongming chen
3ba010eae9
[6755488313]: add-check-key (#34464) 2026-02-02 17:31:11 +08:00
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
Simon Guan
7028cb234e fix: conflicts 2026-01-30 10:28:30 +08:00
Kaili Xu
1697365722
enh: check user name of consumer object directly. (#34445) 2026-01-29 19:24:39 +08:00