Commit graph

63 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
Shengliang Guan
cd52401303 Merge branch 'main' into merge/mainto3.02 2025-02-11 15:15:35 +08:00
kailixu
27963d0978 fix: keep_time_offset format of show create database 2025-02-10 14:21:44 +08:00
kailixu
1dbf9e1c22 test: add test case for auto compact 2024-12-29 16:33:36 +08:00
kailixu
bad49e31ef test: add test case for auto compact 2024-12-29 16:32:07 +08:00
dmchen
26507e6faa enh/TD-29974-improve-trans-fix-case 2024-12-17 11:32:38 +08:00
kailixu
f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +08:00
Hongze Cheng
bf67531c10 fix ci cases after merge 2024-12-04 09:37:43 +08:00
Hongze Cheng
154e17a8e7 fix: fix CI case 2024-12-02 17:24:39 +08:00
Hongze Cheng
6b236018d5 more code and case change 2024-11-27 14:40:58 +08:00
yihaoDeng
6a4aea14ca add test case 2024-11-22 16:43:09 +08:00
yihaoDeng
afb34e3508 fix test case 2024-11-19 18:54:24 +08:00
Minglei Jin
2a1bb79206 fix default values for s3_chunkpages in test cases 2024-10-29 08:33:53 +08:00
Minglei Jin
8694eb99be s3/chunksize tests: rename chunksize in cases 2024-10-28 18:34:43 +08:00
Minglei Jin
b5aec92c2c db/param: fix s3_keeplocal defualt value 2024-10-24 12:54:50 +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
lyh250-666
b8588feeff modify show_create_db.py case 2024-08-26 08:58:19 +08:00
lyh250-666
5fd3e7dc81 modify show_create_db.py case 2024-08-26 08:55:20 +08:00
kailixu
e31f51dab4 fix: ci problem 2024-04-18 16:03:52 +08:00
kailixu
123090e18a fix: solve conflicts 2024-04-15 16:12:15 +08:00
dmchen
c2c1a41af5 revert tmp ci 2024-04-15 02:21:11 +00:00
Minglei Jin
4c7589148a mnd: fix show create database statement 2024-04-11 16:35:10 +08:00
dmchen
3eb5d3a69a tmp ci 2024-04-11 05:06:29 +00:00
kailixu
3738ce9e10 chore: solve conflicts of sql.c 2024-04-11 11:05:58 +08:00
Minglei Jin
fe12f87c58 Merge branch 'feat/TS-4243-3.0' into enh/TD-28945-pk 2024-04-10 11:21:50 +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
Minglei Jin
41bf5280f7 cos/multi-writing: fix show create database format 2024-04-09 12:30:20 +08:00
kailixu
c4aba0ac37 feat: encryption key optimize and test case adjust 2024-04-01 16:14:55 +08:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
factosea
c472bf6b08 feat: tag supported with group/partition 2024-03-14 19:00:31 +08:00
kailixu
69448e4801 chore: adjust test case 2024-01-31 15:48:13 +08:00
dmchen
ea9eba5621 fix ci case 2023-12-12 05:34:41 +00:00
dapan1121
7d5708f224 fix: case issue and authentication issue 2023-10-31 09:15:40 +08:00
dapan1121
b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
dapan1121
e6755461f5
Merge pull request #23087 from taosdata/szhou/pseudo-column-aliasname
enhance: support select `pseduo_column` from (select pseudo_column ...)
2023-10-18 09:23:01 +08:00
slzhou
34246ea001 fix: tag scan support limit and remove slimit optimization 2023-10-16 16:43:15 +08:00
slzhou
d30c6f6bcc fix: change tablename.tbname aliasname to tbname 2023-10-16 13:56:15 +08:00
slzhou
1e1ed541fa fix: add more test case 2023-10-13 08:11:15 +08:00
shenglian-zhou
cbd9749bfe
Merge branch '3.0' into szhou/pseudo-column-aliasname 2023-10-12 19:01:28 -05:00
Haojun Liao
eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
slzhou
1762a85127 enhance: add test case 2023-10-10 14:33:53 +08:00
shenglian zhou
fc824a3bb9 fix: timestamp add return float when get time range 2023-09-27 16:39:49 +08:00
Shungang Li
6652cf8c00 fix: update test cases 2023-09-25 15:46:12 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
dapan1121
90cb67d006 fix: table count issue 2023-08-14 17:33:13 +08:00
Benguang Zhao
d776abb634 fix: adjust test cases for default WAL_RETENTION_PERIOD as 3600 2023-07-26 14:20:50 +08:00
Haojun Liao
3722b31e1a fix(test): update the test case. 2023-07-13 15:07:23 +08:00