Commit graph

1906 commits

Author SHA1 Message Date
Pan Wei
c7b301b4f6
fix: memory issues (#31691)
* 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

---------

Co-authored-by: huohong <sallyhuo@taosdata.com>
2025-07-07 18:49:29 +08:00
Jinqing Kuang
968eeeeb0b Merge branch '3.0' into feat/TS-6100-3.0-merge 2025-07-07 18:04:02 +08:00
Jing Sima
a7adc8042f feat: [TS-6100] Support TSMA: Part 1. 2025-07-04 13:31:48 +08:00
facetosea
b57ce4f4b4 fix: mem leak 2025-07-03 15:56:15 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
Zhixiao Bao
62d8b35fd0
feat: add write metrics. (#31198) 2025-06-30 10:33:34 +08:00
dapan1121
0e69cb3886 Merge remote-tracking branch 'origin/3.0' into feat/TS-6100-3.0 2025-06-27 14:53:03 +08:00
Jing Sima
a177e75195 feat: [TS-6100] Improve external window condition. 2025-06-25 16:33:02 +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
Jinqing Kuang
85fad8e178 Merge branch '3.0' into temp 2025-06-23 18:08:09 +08:00
Jing Sima
40a714a020 feat: [TS-6100] Parse create stream sql: change virtual table plan 2025-06-21 17:29:36 +08:00
Yihao Deng
dc6dba0e06
feat: database engine (taosd) supports IPV6 (#31101) 2025-06-10 09:18:58 +08:00
dapan1121
5e16e6f373 fix: add snode replica 2025-06-06 18:41:38 +08:00
dapan1121
33ca255671 Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw9 2025-06-06 09:15:50 +08:00
dapan1121
bfce943ff0 enh: add more check 2025-06-06 09:09:40 +08:00
wangmm0220
4572c0243d fix(stream): add logic for %%tbname 2025-06-05 17:26:09 +08:00
facetosea
18aa05c71c feat: count_window 2025-06-03 18:31:49 +08:00
wangmm0220
e6dfbf6295 fix(stream): add interface of get vtable info 2025-05-28 18:34:19 +08:00
Jinqing Kuang
5f3d1df1fa Merge branch '3.0' into feat/TS-6100-3.0 2025-05-27 19:31:36 +08:00
Hongze Cheng
430da1f872
enh: add memory usage monitor for vnode (#31212) 2025-05-27 16:40:03 +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
Jing Sima
be3288f5a1 feat: [TS-6100] Parse create stream sql: Fix parser error ver-3. 2025-05-24 09:54:48 +08:00
dapan1121
d98210a7ee Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-16 14:20:45 +08:00
dapan1121
929d923994 enh: add drop snode processing 2025-05-16 14:19:36 +08:00
wangmm0220
88414a1b09 feat(stream): use TimeRangeExpr to filter data in tsdb reader 2025-05-15 19:07:42 +08:00
dapan1121
a10f70bb83 enh: add snode create processing 2025-05-14 11:39:54 +08:00
dapan1121
08effac8ff Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-3.0.pw7 2025-05-13 14:37:50 +08:00
dapan1121
8ed0f7214e enh: add create snode processing 2025-05-13 14:37:07 +08:00
wangmm0220
5e7aed840e feat(stream): add filter if with external window 2025-05-13 10:53:39 +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
facetosea
b0e0d0e565 fix: data insert, table version changed 2025-05-12 10:22:28 +08:00
Simon Guan
3cfdb304e8 Merge branch 'main' into merge/mainto3.0 2025-05-12 09:01:48 +08:00
Jinqing Kuang
4d4544109e fix(stream): fix history calc of stream trigger task 2025-05-10 18:17:17 +08:00
Jing Sima
84016904ff
fix: [TS-6445] Fix virtual tables not detecting schema changes. (#30999)
Ensure virtual tables invalidate cached schema metadata and reload it when a schema change (e.g., ALTER VTABLE) is detected. This prevents stale schema references and query errors after structural updates.
2025-05-10 10:34:54 +08:00
factosea
f3027e938e feat: stream data insert 2025-05-08 09:48:53 +08:00
wangjiaming0909
e95c5a9d85 new-stream: runner impl 2025-05-07 18:14:17 +08:00
Jing Sima
c85e400f76 feat: [TS-6100] Process SCMCreateStreamReq ver-5
1. support time range expr in stream query.
2. support where condition in stream notify.
2025-04-30 17:37:34 +08:00
wangjiaming0909
1ccc6c69a8 new-stream: runner impl 2025-04-29 15:31:17 +08:00
Jing Sima
6ae805bb7a feat: [TS-6100] Process SCMCreateStreamReq ver-4
support placeHolderBitmap and interval offset in stream trigger.
remove useless code.
2025-04-29 15:19:30 +08:00
Jinqing Kuang
2a796e17ef feat(stream): implement stream trigger realtime calc 2025-04-29 09:23:05 +08:00
wangmm0220
7158d4c76f Merge remote-tracking branch 'origin/feat/TS-6100-3.0' into feat/TS-6100-marks-new 2025-04-28 14:37:28 +08:00
wangmm0220
a78b09577a feat(stream): add thread worker for stream reader 2025-04-28 14:37:05 +08:00
Jing Sima
358e8b9e1c feat: [TS-6100] Process SCMCreateStreamReq 2025-04-27 20:10:54 +08:00
Jing Sima
9d3ded13d0 fix: [TS-6100] Remove useless code and fix bugs 2025-04-24 18:48:28 +08:00
wangmm0220
5ce115cc23 feat(stream): fix compile error 2025-04-24 18:02:12 +08:00
Jing Sima
26d4c933a2 fix: [TS-6100] Fix compile on mac and add toJson/jsonTo func. 2025-04-24 10:16:29 +08:00
dapan1121
330cf9982d fix: compile issues 2025-04-24 09:11:54 +08:00
Jing Sima
c1cb4029a1 feat: [TS-6100] Build create request for create stream. 2025-04-21 17:47:15 +08:00
WANG MINGMING
c85b195421
Merge branch 'feat/TS-6100-marks' into feat/TS-6100-3.0 2025-04-19 16:18:09 +07:00