Commit graph

82 commits

Author SHA1 Message Date
Jinqing Kuang
968eeeeb0b Merge branch '3.0' into feat/TS-6100-3.0-merge 2025-07-07 18:04:02 +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
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
d414f87228 fix: snode reboot issue 2025-06-25 11:03:31 +08:00
wangmm0220
d5f16c450f fix(stream): add checkpoint logic 2025-06-10 17:50:19 +08:00
dapan1121
63df994be5 enh: add alter snode 2025-05-15 11:46:39 +08:00
dapan1121
a10f70bb83 enh: add snode create processing 2025-05-14 11:39:54 +08:00
dapan1121
330cf9982d fix: compile issues 2025-04-24 09:11:54 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Simon Guan
b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
dmchen
9ef4e45171 fix/TS-5532-set-seperate-thrad-update-status-fix-case 2024-10-18 07:51:52 +00:00
dmchen
6fa8557e99 fix/TS-5532-set-seperate-thread-update-status-fix-case 2024-10-18 07:23:25 +00:00
dmchen
f01d166b3c enh/TD-31977-monitor-qid 2024-09-10 03:40:38 +00:00
xiao77
81615362c3 format 2024-09-03 16:25:40 +08:00
xiao77
d3518fbc89 fix:TD-31587:Repeated insert performance degradation 2024-09-03 15:24:33 +08:00
Yihao Deng
7b09a9f8b1 change log qid 2024-08-27 08:25:28 +00:00
Yihao Deng
e1998d151b update qid log 2024-08-24 10:19:25 +00:00
yihaoDeng
d3ea7ad6d1 change QID log 2024-08-22 10:08:26 +08:00
dmchen
b85dba328c fix/TD-30849 2024-08-15 03:55:20 +00:00
Yihao Deng
21de23e14b refactor error code 2024-07-16 11:00:12 +00:00
Yihao Deng
6c39f81c7b refactor error 2024-07-16 01:04:16 +00:00
dmchen
3a4412b282 fix/TD-30876 2024-07-05 06:24:53 +00:00
dmchen
a297a38818 fix/TD-29772 2024-05-21 01:57:33 +00:00
kailixu
504263315d enh: batch create table 2024-04-28 04:37:30 +08:00
dmchen
5f31575624 refactor 2024-04-09 06:55:01 +00:00
dmchen
d6ae4d37cc add function for sql 2024-03-29 06:19:44 +00:00
dmchen
b9deb71fc5 basic function 2024-03-29 02:48:49 +00:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
chenhaoran
ab07900895 Merge branch '3.0' into feat/TD-26529-3.0 2024-02-23 20:54:19 +08:00
kailixu
c7932675ce enh: get machine id 2024-02-21 09:07:38 +08:00
dmchen
d9af07de6f new table structure 2024-01-24 09:44:44 +00:00
dmchen
daa2c2238a fix/TS-4251 2023-12-12 12:17:49 +08:00
Ping Xiao
4f23ea2a8c enh: dmodule logic 2023-09-26 11:47:53 +08:00
kailixu
8f828e052b enh: timeseries calculation optimization 2023-09-22 20:07:51 +08:00
kailixu
6698861c8b chore: timeseries distribute 2023-09-19 08:29:51 +08:00
yihaoDeng
250fed499f Merge branch 'enh/ipWhiteList' of https://github.com/taosdata/TDengine into enh/ipWhiteList 2023-09-14 18:49:17 +08:00
Benguang Zhao
e4d16e594c enh: check if disk space sufficient at primary dir with tfs 2023-08-08 17:53:11 +08:00
dmchen
440a8725e5 fix/TS-3524 2023-06-13 15:07:00 +08:00
cadem
470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
cadem
3b78d4382b add learner 2023-04-18 19:03:45 +08:00
Benguang Zhao
c0a835ff58 enh: rotate mnode epSet on sending dnode status failure 2023-03-06 19:36:17 +08:00
yihaoDeng
2e25f7e90d fix: fix asan problem 2023-02-23 18:07:48 +08:00
yihaoDeng
2013ba0d8f fix: fix asan problem 2023-02-23 17:54:51 +08:00
Shengliang Guan
d476b6db13 enh: update epset on dnode info changed 2023-01-16 15:41:50 +08:00
Shengliang Guan
da6722d353 enh: update epset on dnode info changed 2023-01-16 13:28:18 +08:00
Shengliang Guan
ad8c73645b fix: update epset on dnode info changed 2023-01-13 15:26:24 +08:00
Shengliang Guan
cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Haojun Liao
4fef284cfe refactor: do some internal refactor. 2022-11-30 21:26:27 +08:00