Commit graph

2664 commits

Author SHA1 Message Date
Pan Wei
baf6a52153
Merge branch '3.0' into feat/TS-6100-3.0 2025-07-10 08:25:34 +08:00
facetosea
882a9f23d5 fix: tbname too long 2025-07-09 16:19:39 +08:00
Jinqing Kuang
749bac875c fix(stream): limit number of windows in each calc request 2025-07-09 11:12:50 +08:00
Simon Guan
d497a960eb Merge branch 'main' into merge/mainto3.0 2025-07-08 16:35:39 +08:00
Kaili Xu
7c45748613
enh: rename TDasset to TDengine IDMP (#31687) 2025-07-08 08:50:56 +08:00
hongzhenliu
ba2fe01cab
fix(query): order by used the qsort function heap buffer over flow (#31612) 2025-07-08 08:43:17 +08:00
Jinqing Kuang
968eeeeb0b Merge branch '3.0' into feat/TS-6100-3.0-merge 2025-07-07 18:04:02 +08:00
Pan Wei
f6ab877e05
fix: case memory issues (#31621)
* enh: add operator reset func

* fix: merge join reset issue

* fix: memory issues

* fix: add debug assert

* fix: memory issues

* fix: memory leak

* fix: memory issues

* fix taos log miss

* fix: case issue

* fix: case issue

* fix: case issues

* fix: drop dnode issue

* fix: memory issues

* fix: memory issues

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-03 13:26:22 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
facetosea
1eb2ef1793 fix: runner cancel calc 2025-07-02 15:07:30 +08:00
dapan1121
13cf94addb fix: drop snode issue 2025-06-28 10:41:57 +08:00
Zhixiao Bao
e0608d74d1
fix: alter minReservedMemorySize error code. (#31510) 2025-06-27 16:00:29 +08:00
dapan1121
b9159a570d Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-06-27 14:06:16 +08:00
dapan1121
a42ed39535 enh: undeploy 2025-06-26 07:57:17 +08:00
Hongze Cheng
4340da1e65
fix: Out of memory in queue and Sync leader unreachable error (#31420) 2025-06-25 15:01:26 +08:00
Minglei Jin
66c4ef3e90
feat(mqtt): mqtt subscription (#30127)
* feat(mqtt): Initial commit for mqtt

* chore(xnode/mnd): xnode message handlers for mnode

* chore(mnd/xnode): mnode part for xnode

* chore(xnode/translater): fix show commands

* fix(ast/creater): fix xnode create option

* fix(xnode/ci): fix ci & doc's error codes

* chore(xnode/sql): make create/drop/show work properly

* fix(xnode/sql): commit new files

* fix(xnode/sql): commit cmake files

* fix: fix testing cases

* fix(xnode/tsc): fix tokens

* fix(ast/anode): fix anode update decl.

* fix(xnode/error): fix xnode error codes

* fix: xnode make/destroy

* chore: xnode with option & dnode id

* chore: use taosmqtt for xnode

* chore: new error code for xnode launching

* chore(xnode): new error code

* chore: header for _xnode_mgmt_mqtt

* chore: source for _xnode_mgmt_mqtt

* chore: remove test directory from cmake

* chore: remove taosmqtt for ci to compile

* chore: remove taosudf header from xnode

* chore: new window macro

* chore: remove xnode mgmt mqtt for windows compilation

* Revert "chore: remove xnode mgmt mqtt for windows compilation"

This reverts commit 197e1640c7.

* chore: cleanup code

* chore: xnode mgmt comment windows part out

* chore: mgmt/mqtt, move uv head toppest

* xnode/mnode: create xnode once per dnode

* fix(xnode/systable/test): fix column count

* xnode/sdb: renumber sdb type for xnode to make start/stop order correct

* xnode/mqtt: new param mqttPort

* fix SXnode's struct type

* transfer dnode id to mqtt subscription

* tmqtt: remove uv_a linking

* tmqtt/tools: sources for tools

* tools: fix windows compilation

* tools/producer: fix windows sleep param

* tools/producer: fix uninited var rc

* make tools only for linux

* test/mnodes: wail 1 or 2 seconds for offline to be leader

* update topic producer tool for geometry data type testing

* format tool sql statements

* show xnodes' ep

* make shell auto complete xnodes

* use usleep instead of sleep

* mqtt/proto: first version mqtt protocol

* remove assert styles

* build with linux only

* fix libuv for taosmqtt building

* fix log printing

* mem: use ttq_ prefix instead of tmqtt

* xnode/parser/proto: protocol option for xnode

* xnode/translater/option: translate xnode option proto

* xnode/translator: translate proto param

* xnode/tmsg: encode/decode proto param

* xnode/mnode: proto parma for mndXnode

* xnode/proto: protocol param for xnode

* xnode/mqtt: save/load proto from xnode json

* rename tmqtt proto header

* rename head directories

* rename header name styles

* restyle func names

* update

* update

* use camel db

* use camel for cxt

* update count of information_schema

* fix exceptional cases

* fix w.r.t reviews

* fixes w.r.t reviews

* use ttq_free

* append xnode msgs

* update information schema count

* support tmq meta data sub

* success typo fix

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix error line var w.r.t. suggestions from copilot

* denote mqtt node with bnode instead of xnode

* smoke testing for mqtt

* soak testing

* new package for test framework: paho 2.1.0

* import mqtt into util

* fix soak testing

* test/soak: user 5 topics per client

* test/soak: cover qos

* update docker image references to tdengine-ci:0.1 in CI scripts and common.py

* refactor: rename bnode msg to backup node

* refactor: rename xnode to bnode 1

* refactor: rename xnode to bnode 2

* refactor: rename xnode to bnode 3

* refactor: rename xnode to bnode 4

* refactor: rename xnode to bnode 4

* refactor: rename xnode to bnode 5

* refactor: rename xnode to bnode 6

* refactor: rename some files 1

* refactor: rename some files 2

* refactor: rename some files 3

* refactor: rename some files 4

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: chenhaoran <haoran920c@163.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
2025-06-25 14:58:51 +08:00
dapan1121
b0bb2a715d enh: add recalc systable 2025-06-24 18:06:20 +08:00
dapan1121
ca1bff27e8 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw9 2025-06-24 13:24:36 +08:00
dapan1121
27d51d5d4b enh: add recalc stream 2025-06-24 13:21:01 +08:00
Jinqing Kuang
55ebd3c7e8 fix(stream): refactor stream trigger task 2025-06-24 08:01:49 +08:00
Jinqing Kuang
85fad8e178 Merge branch '3.0' into temp 2025-06-23 18:08:09 +08:00
Jing Sima
fe386d0ebb feat: [TS-6100] Parse create stream sql: Add error ut and fix bugs. 2025-06-16 15:11:41 +08:00
dapan1121
d5d42e5b97 fix: task list issues 2025-06-16 11:43:51 +08:00
dapan1121
66fe59e677 fix: vnode no leader issue 2025-06-16 11:43:51 +08:00
Simon Guan
2838d2f063 Merge branch '3.0' into merge/mainto3.0 2025-06-14 10:41:12 +08:00
Simon Guan
f691365426 Merge branch 'main' into merge/mainto3.0 2025-06-14 10:32:34 +08:00
Jing Sima
701af46675 feat: [TS-6100] Parse create stream sql: Refactor. 2025-06-10 16:01:43 +08:00
Kaili Xu
a0e68dbda2
enh: grant support vnode/storage_size and TDasset items (#31289)
* enh: grant support vnode/storage_size and TDasset items

* enh: grant support vnode/storage_size

* test: test case of grant for TDasset and vnode/storage_size

* fix: error code check for exceeded vnodes

* fix: update TDasset display name
2025-06-06 15:08:47 +08:00
dapan1121
bfce943ff0 enh: add more check 2025-06-06 09:09:40 +08:00
dapan1121
080217c4cb enh: add vtable process 2025-06-04 09:32:26 +08:00
dongming chen
7126f40688
feat: [TD-29445] add error handling for offline vnode state (#31232) 2025-05-29 16:44:08 +08:00
Jing Sima
99a241cf37
Merge pull request #31236 from taosdata/feat/TS-6100-smj
feat: [TS-6100] Parse create stream sql
2025-05-28 15:55:58 +08:00
Jing Sima
9768e724af feat: [TS-6100] Parse create stream sql: Fix missing db cfg for triggertable and create stream req's stream name. 2025-05-28 15:48:59 +08:00
dapan1121
6992932a95 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw8 2025-05-28 11:36:31 +08:00
Jinqing Kuang
5f3d1df1fa Merge branch '3.0' into feat/TS-6100-3.0 2025-05-27 19:31:36 +08:00
dapan1121
01d2677fca Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw8 2025-05-27 19:12:25 +08:00
dapan1121
f7c1fddf9a fix: add watch processing 2025-05-27 19:08:07 +08:00
Simon Guan
309f4ffa5c Merge branch 'main' into merge/mainto3.0 2025-05-26 13:46:33 +08:00
dapan1121
c8b36ee449 fix: add watch process 2025-05-24 18:15:32 +08:00
Jing Sima
c812498a91 feat: [TS-6100] Parse create stream sql: Support recalculate stream and refactor of drop/start/stop stream. 2025-05-24 17:57:24 +08:00
Zhixiao Bao
0045bd1d44
enh: add error code for alter minReservedMemorySize. (#31125) 2025-05-23 16:49:32 +08:00
dapan1121
85767a9cbf enh: enhance drop snode 2025-05-17 16:36:35 +08:00
dapan1121
66ab04dc49 enh: add stream and snode assignment 2025-05-17 10:55:32 +08:00
dapan1121
009e8aa41e Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-05-12 16:24:22 +08:00
wangmm0220
f1155c54ad feat(stream): return calc cols and trigger cols from stream reader 2025-05-10 18:34:01 +08:00
facetosea
1dc510f8e6 feat: table scheme not match 2025-05-10 14:27:56 +08:00
wangmm0220
332d21630c feat(stream): reset task if fetchMsg.reset is true for calc 2025-05-08 19:53:40 +08:00
factosea
cd9a532064 feat: data inserter 2025-05-08 15:07:04 +08:00
wangmm0220
bd8188c533 fix(stream): add error code if no data in block 2025-05-06 09:43:20 +08:00
wangmm0220
2236273044 feat(stream): add logic for stream reader 2025-04-30 17:39:14 +08:00