Commit graph

2828 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
Pan Wei
5df70fead0
fix: memory issues (#31716)
* 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

* fix: memory leak issues

* fix: recalculate time range issue

* fix: add debug log

* fix: memory issues

* fix: enable case asan

* Update streamlist_for_ci.task

* fix: case asan issue

* fix: stream name issue

* fix: external window compile issues

* fix: deploy memory issue

* fix: ahandle issue

* fix: ahandle issue

* fix: ahandle issue

* fix: virtual table reader list issue

* fix: log info

* fix: msg error

* fix: virtual table addr list issue

* fix: memory issues

* fix: memory leak issue

* fix: memory issues

* fix: memory free issues

* fix: memory issues

* fix: snode deploy issue

* fix: mnode reader issue

* fix: memory issues

* fix: add debug test

* enh: add ignore nodata trigger

* fix: memory leaks

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-08 19:20:10 +08:00
Simon Guan
d497a960eb Merge branch 'main' into merge/mainto3.0 2025-07-08 16:35:39 +08:00
Pan Wei
489990a787
fix: memory issues (#31700)
* 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

* fix: memory leak issues

* fix: recalculate time range issue

* fix: add debug log

* fix: memory issues

* fix: enable case asan

* Update streamlist_for_ci.task

* fix: case asan issue

* fix: stream name issue

* fix: external window compile issues

* fix: deploy memory issue

* fix: ahandle issue

* fix: ahandle issue

* fix: ahandle issue

* fix: virtual table reader list issue

* fix: log info

* fix: msg error

* fix: virtual table addr list issue

* fix: memory issues

* fix: memory leak issue

* fix: memory issues

* fix: memory free issues

* fix: memory issues

* fix: snode deploy issue

* fix: mnode reader issue

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-08 09:32:12 +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
77d2426cd3
fix: memory issues (#31649)
* 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

* fix: memory leak issues

* fix: recalculate time range issue

* fix: add debug log

* fix: memory issues

* fix: enable case asan

* Update streamlist_for_ci.task

* fix: case asan issue

* fix: stream name issue

* fix: external window compile issues

* fix: deploy memory issue

* fix: ahandle issue

* fix: ahandle issue

* fix: ahandle issue

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-04 15:31:18 +08:00
Jing Sima
a7adc8042f feat: [TS-6100] Support TSMA: Part 1. 2025-07-04 13:31:48 +08:00
Pan Wei
55d3f2dd0c
fix: memory issues (#31640)
* 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

* fix: memory leak issues

* fix: recalculate time range issue

* fix: add debug log

* fix: memory issues

* fix: enable case asan

* Update streamlist_for_ci.task

* fix: case asan issue

* Update streamlist_for_ci.task

* Update streamlist_for_ci.task

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-04 10:07:04 +08:00
Kaili Xu
a86e09e4e3
enh: grant support vnodes and storage size (#31380) 2025-07-03 16:44:29 +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
Pan Wei
cf0f3c908c
fix: memory issues (#31579)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-01 18:58:32 +08:00
WANG MINGMING
3e0e339985
feat(stream): fix thread run out for runner (#31559) 2025-07-01 08:43:11 +08:00
Pan Wei
5e9606f5bb
fix: memory issues (#31561)
* enh: add operator reset func

* fix: merge join reset issue

* fix: memory issues
2025-07-01 08:38:36 +08:00
Zhixiao Bao
62d8b35fd0
feat: add write metrics. (#31198) 2025-06-30 10:33:34 +08:00
Yihao Deng
5713f54a5a
fix invalid read (#31525) 2025-06-28 18:44:00 +08:00
dapan1121
13cf94addb fix: drop snode issue 2025-06-28 10:41:57 +08:00
dapan1121
deb16a0639 Merge remote-tracking branch 'origin/feat/TS-6100-3.0.001' into feat/TS-6100-3.0.pw9 2025-06-27 14:24:00 +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
Jinqing Kuang
e801487855 fix(stream): remove global calc request limit 2025-06-27 11:21:41 +08:00
dapan1121
eb851060e4 fix: error log 2025-06-27 08:14:05 +08:00
dapan1121
eb8150b6fc Merge remote-tracking branch 'origin/feat/TS-6100-3.0.pw9' into feat/TS-6100-3.0 2025-06-26 07:58:03 +08:00
dapan1121
a42ed39535 enh: undeploy 2025-06-26 07:57:17 +08:00
wangmm0220
e749ed09a3 feat(stream): checkpoint 2025-06-25 18:00:08 +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
d31dadb534 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw9 2025-06-25 11:04:32 +08:00
dapan1121
d414f87228 fix: snode reboot issue 2025-06-25 11:03:31 +08:00
Jinqing Kuang
6f44e79771 fix(stream): fix count sliding check in stream trigger task 2025-06-25 09:56:35 +08:00
dongming chen
b46c54f843
refactor: remove unused fileLock mutex from SVnodeMgmt structure (#31441) 2025-06-24 16:54:26 +08:00
wangmm0220
81c31ad555 fix(stream): checkpoint 2025-06-24 15:08:40 +08:00
facetosea
60d4228e16 fix: log error 2025-06-24 14:39:50 +08:00
facetosea
8f0dec3362 fix: build error 2025-06-24 14:34:58 +08:00
facetosea
3f98c5af36 log: dnode get failed 2025-06-24 14:33:40 +08:00
Jinqing Kuang
85fad8e178 Merge branch '3.0' into temp 2025-06-23 18:08:09 +08:00
wangmm0220
8669fd7863 fix(stream): interval reset error & checkpoint 2025-06-23 17:10:38 +08:00
dapan1121
44838002dd fix: recalc stream 2025-06-21 18:50:48 +08:00
dapan1121
25f3a428f6 enh: add systable reader 2025-06-21 16:03:59 +08:00
Simon Guan
371ae9b7fd Merge branch '3.0' into merge/mainto3.0 2025-06-20 14:48:47 +08:00
Simon Guan
9923aedcb6 Merge branch 'main' into merge/mainto3.0 2025-06-20 14:48:16 +08:00
Simon Guan
441a2472d7 Merge branch '3.0' into merge/3.0tomain2 2025-06-19 18:26:02 +08:00
Kaili Xu
0368159763
fix: race condition of update tsDndUpTime (#31399) 2025-06-18 09:47:33 +08:00
Yihao Deng
5f1e6fa4b6
update ip -white-list log (#31331) 2025-06-16 19:50:42 +08:00
dapan1121
d5d42e5b97 fix: task list issues 2025-06-16 11:43:51 +08:00
dapan1121
aab258bbb8 enh: add exit process 2025-06-16 11:43:49 +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
wangmm0220
e86b030e5f fix(stream): add checkpoint logic 2025-06-10 18:38:04 +08:00
wangmm0220
d5f16c450f fix(stream): add checkpoint logic 2025-06-10 17:50:19 +08:00
WANG MINGMING
85f8cad63c
Merge pull request #31327 from taosdata/feat/TS-6100-3.0
Feat/ts 6100 3.0
2025-06-10 10:52:55 +08:00