Commit graph

317 commits

Author SHA1 Message Date
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
Haojun Liao
60ae7913c1
fix(query): check the trimmed string length before memcpy. (#31366) 2025-06-14 16:09:47 +08:00
Simon Guan
75df845c05
fix: show create table and desc table statements return composite key instead of primary key (#30830) 2025-04-19 13:32:34 +08:00
Simon Guan
50d3705bea
enh[TS-6318]: changed the keyword for composite primary keys from "primary key" to "composite key" (#30741) 2025-04-10 20:31:35 +08:00
xinsheng Ren
463430ab15
enh: [TS-6195] support cols in stream (#30580) 2025-04-02 11:31:08 +08:00
Shengliang Guan
9a1b80847a
Revert "Revert "Revert "Revert "Enh:[td 29974]improve trans"""" 2024-12-29 19:40:32 +08:00
Shengliang Guan
63e3e33f14
Revert "Revert "Revert "Enh:[td 29974]improve trans""" 2024-12-29 19:37:58 +08:00
Shengliang Guan
c82aef5836
Revert "Revert "Enh:[td 29974]improve trans"" 2024-12-27 22:27:24 +08:00
Shengliang Guan
ec2c8c435e
Revert "Enh:[td 29974]improve trans" 2024-12-27 22:26:43 +08:00
dmchen
26507e6faa enh/TD-29974-improve-trans-fix-case 2024-12-17 11:32:38 +08:00
Hongze Cheng
8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
Shengliang Guan
5e59081640 Merge branch 'main' into merge/mainto3.0 2024-12-11 05:42:38 +00:00
Shengliang Guan
1553d507e5 enh: add password character rules 2024-12-10 11:08:58 +00:00
Hongze Cheng
bf67531c10 fix ci cases after merge 2024-12-04 09:37:43 +08:00
Hongze Cheng
9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
Hongze Cheng
6b236018d5 more code and case change 2024-11-27 14:40:58 +08:00
factosea
9656ec4c80 fix: misspelling 2024-11-25 19:53:57 +08:00
yihaoDeng
afb34e3508 fix test case 2024-11-19 18:54:24 +08:00
Minglei Jin
afb71f1536 test/duration: fix duration values 2024-10-24 10:42:39 +08:00
Shengliang Guan
3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan
9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
Shengliang Guan
a2f17c56da fix: ci test cases 2024-10-10 09:53:48 +08:00
Jing Sima
64bb49e0db fix:[TS-5839] Fix crash when use last function on a column with all null value with partition subclause. 2024-09-11 13:49:06 +08:00
chenhaoran
01ad6a685b tetst:sleep 2 after stop taosd in windows ci 2024-09-03 19:37:22 +08:00
54liuyao
939342b3de fix(query):seset group id for the results of event and count operators 2024-08-22 11:11:40 +08:00
dapan1121
a443fafad2 fix: interval case issue 2024-08-02 16:29:23 +08:00
dapan1121
5e2c5b8894 fix: calander interval and sliding issue 2024-08-02 14:38:55 +08:00
54liuyao
be2c16723d adj second param for last_row 2024-07-01 16:38:47 +08:00
dapan1121
6b1d4b842e fix: case when memory leak 2024-06-11 15:28:04 +08:00
54liuyao
545fa5ebcb add ts column for last cache 2024-06-05 11:38:38 +08:00
dapan1121
a25b70c45c fix: add timeline test cases 2024-05-27 14:53:30 +08:00
54liuyao
4be4a04621 fix(meta scan):check system table scan result 2024-05-16 09:56:07 +08:00
kailixu
e31f51dab4 fix: ci problem 2024-04-18 16:03:52 +08:00
dm chen
aedec5ead7
Merge branch '3.0' into feat/TD-24834 2024-04-16 11:35:49 +08:00
dapan1121
34a943a1f2
Merge pull request #25242 from taosdata/feat/ly_query
adj last function
2024-04-15 16:04:23 +08:00
dm chen
4d660d89c0
Merge branch '3.0' into feat/TD-24834 2024-04-15 15:12:32 +08:00
Haojun Liao
82ee169d61
Merge pull request #25164 from taosdata/feat/TS-4243-3.0
feat(tsdb): support complex primary key in table.
2024-04-13 18:08:01 +08:00
dapan1121
f2c871f2f5 fix: union precision issue 2024-04-12 11:07:26 +08:00
54liuyao
d4ebd2ec71 add ci 2024-04-11 18:16:24 +08:00
54liuyao
af97f9e000 add config 2024-04-11 16:48:58 +08:00
kailixu
3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
Minglei Jin
dcd9901d5f Merge branch '3.0' into feat/TS-4243-3.0 2024-04-10 11:18:19 +08:00
dapan1121
5091247957
Merge pull request #25232 from taosdata/feat/TD-29093/2
Feat/td 29093/2
2024-04-10 09:18:15 +08:00
factosea
8c34d14a9b fix test case 2024-04-03 17:26:51 +08:00
54liuyao
9a8d03f0ca adj last function 2024-04-02 14:03:02 +08:00
kailixu
c4aba0ac37 feat: encryption key optimize and test case adjust 2024-04-01 16:14:55 +08:00
slzhou
073e4d8389 fix: increase last_row result size since SFirstLastRes has pk info 2024-03-25 09:48:54 +08:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
54liuyao
14c6dbd2af use non sort merge 2024-03-12 11:45:54 +08:00