Commit graph

93 commits

Author SHA1 Message Date
Simon Guan
22b1dac1c3 fix: conflicts 2026-01-23 09:28:39 +08:00
Jing Sima
8f7d35802c
enh: [6718786025] Optimize error code and error msg. (#34362) 2026-01-22 08:28:17 +08:00
Bomin Zhang
516695669b
feat: implement token notification (#34273) 2026-01-15 17:22:22 +08:00
guichuan zhang
03b70995bb
feat(taosx): support xnode agent management sql (#34224)
* feat(taosx): support xnode agent management sql

Closes [6646814636](https://project.feishu.cn/taosdata_td/feature/detail/6646814636)

* fix some memory leak

* chore: fix windows can't find openssl header file

* chore: fix memory in xnode agent module

* chore: fix and job memory leak

* docs: add error code and agent management docs

* chore: change the order of QUERY_NODE_ALTER_XNODE_AGENT_STMT
2026-01-12 20:15:37 +08:00
guichuan zhang
2c62466aa0
feat(taosx): support distributed taosx (#34126)
* feat: add xnode syntax

* refactor(xnode): reduce function complexity

* chore: add lost xnode.h file

* feat(xnode): create xnode task

* chore: fix double free error

* add xnoded

* start xnoded as subprocess

* complete xnode task feature

* complete show xnode jobs feature

* complete with option feature

* complete alter xnode job feature

* complete alter xnode task feature

* complete user pass feature

* clean code

* modify status type as char

* fix leader ep null

* fix start task req null

* fix pass id for status

* support timeout msg

* drop xnode task relative jobs

* clean code

* wip

* chore: add test cases for xnode

* chore: fix 3.0 merge changes

* fix drain core dump and create task core dump

* add password check

* retrieve xnode status from xnoded

* pass integer as double to cjson

* add some debug log

* add some job log

* fix start task lock

* do not handle http response

* fix coredump drop xnode task by name

* support start/stop/drop task by name

* remove mock xnoded

* support unix socket

* kill pre-xnoded before start

* support dnode close xnoded

* test(xnode): add unit test cases for xnode

* rebalance support where clause

* fix some test issue

* unformat http post content json string

* add xnode zh doc

* modify drain description

* remove job create/stop/drop operation

* support rebalance all without where condition

* support alter task by name

* add NULL param for mndCheckOperPrivilege

* add xnode txnode module for libmnode.a

* code clean

* change parser len to 4096

* clean code

* chore: try to fix gtest/gtest.h not found

* chore: fix markdown files

* chore: fix markdown in zh

* chore: fix enum issue and add ci

* chore: fix test case problem

* chore: fix pKeyVal overflow

* chore: rename to 排空节点

* chore: external cmake remove parallel

* chore: add DEP_ext_gtest for xnode test

* chore: fix gtest errors

* chore: remove gtest pthread lib

* chore: fix data type not match

* chore: fix some lint errors

* chore: fix void unlink

* chore: fix return with null pointer check

* chore: fix pointer double free and xnodeMemoryTest strncpy null

* chore: fix xnode encode action invalid datelen

* chore: remove TD_LINUX condition

* chore: use PRIu64 denote long long

* chore: fix task parser NULL and allow no with clause

* fix(xnode): fix windows build error

* chore: fix windows curl error

* chore: fix test case ins_tables relative error

* chore: fix memory leak

* docs: update taosx docs

* chore: update taosx docs

* chore: add role priviledge table

* chore: fix error code doc

* chore: fix test_xnode.py

* chore: fix doc typo

* fix: ci error while run test_user_privilege_sysinfo.py

---------

Co-authored-by: Linhe Huo <linhehuo@gmail.com>
Co-authored-by: huohong <sallyhuo@taosdata.com>
Co-authored-by: Simon Guan <guanshengliang@qq.com>
2026-01-01 14:51:03 +08:00
Bomin Zhang
aa21a2047a
feat: three minor enhancement (#34110) 2025-12-30 14:18:44 +08:00
Bomin Zhang
40f6345f4e
enh: sign connect request (#34067) 2025-12-29 22:08:38 +08:00
Bomin Zhang
9f0271d715
feat: support token authentication (#34026) 2025-12-25 16:30:10 +08:00
xinsheng Ren
3596a9cb1c
enh(TD-29642): prohibit sorting by aggregate functions in non-aggregate queries (#33931) 2025-12-23 13:43:46 +08:00
Simon Guan
9335360003 fix: confilcts 2025-12-19 19:54:21 +08:00
Simon Guan
1413b7b997 fix: confilcts 2025-12-19 19:51:38 +08:00
Jing Sima
9cdae7b025
fix: [6589381451] Add virtual table datatype check when query. (#33973) 2025-12-19 17:57:33 +08:00
dongming chen
55f5bc0dd2
feat[TS-7233]: audit (#33850) 2025-12-16 16:27:11 +08:00
Yihao Deng
f5298caa15
enh: support reload ssl (#33858) 2025-12-15 16:48:20 +08:00
Jing Sima
982999def0
feat: [TS-6665] support 32767 cols for virtual table. (#33743) 2025-12-15 13:35:30 +08:00
Bomin Zhang
d4e29c97fc
feat[TS-7529]: support TOTP authentication (#33852) 2025-12-10 15:25:21 +08:00
Bomin Zhang
93fe726f9c
feat[TS-7231]: identity authentication (#33702) 2025-12-05 17:35:10 +08:00
dongming chen
643dfcb4fc
feat(TS-7270): encrypt algr (#33783) 2025-12-05 13:26:28 +08:00
Jing Sima
3cb2c4602b
enh: [TS-7132] Optimize state window on virtual table (#33638) 2025-12-01 10:04:07 +08:00
haoranchen
3b1fd3ec36
fix: correct formatting and punctuation in error code documentation (#33750) 2025-11-28 13:43:00 +08:00
haoranchen
9d241a08ab
fix(docs): correct formatting and wording in documentation (#33749) 2025-11-28 12:28:10 +08:00
Simon Guan
5cb3a201b2 fix: conflict while merge from main to 3.0 2025-11-28 09:47:05 +08:00
Xuefeng Tan
c0369c3271
docs: update taosAdapter diable query sql configuration (#33700)
* docs: update taosAdapter diable query sql configuration

* docs: enhance taosAdapter documentation for dynamic log level and SQL pattern configuration

* docs: update taosAdapter documentation for rejecting query SQL configuration
2025-11-26 17:43:36 +08:00
Tony Zhang
e2024229fd Merge branch 'main' into merge/mainto3.0 2025-11-20 17:11:07 +08:00
Tony Zhang
0044dfecc7
fix: stream compatibility between 3.3.7 and 3.3.8 (#33599) 2025-11-20 09:07:18 +08:00
Simon Guan
169d535242 Merge branch 'main' into merge/mainto3.0 2025-11-15 11:29:18 +08:00
Simon Guan
7a9a0e2881 merge: from 3.3.6 to main 2025-11-14 10:29:06 +08:00
Jing Sima
13523ce884
enh: [TD-38456] Forbid duplicate timestamp in count/state/event window. (#33442) 2025-11-14 09:37:42 +08:00
dongming chen
51017f2e54
enh/TD-38561-remove-error-log (#33547) 2025-11-13 11:53:23 +08:00
Xuefeng Tan
086fdd61f3
docs: add query request concurrency limit configuration details (#33316)
* docs: add query request concurrency limit configuration details

* docs: fix formatting in query request concurrency limit section

* docs: add example configuration and error codes for query request concurrency limits
2025-10-22 22:14:45 +08:00
She Yanjie
f8e55eda37
docs: update conntector and error code page, remove rest connect type (#33266)
* chore(jdbc): update jdbc version

* docs: add connection type descriptions in 05-connector

* docs: add WebSocket error codes for C# connector

* docs: add rust connector error codes

* docs: modify conector and error code page

---------

Co-authored-by: t_max <1172915550@qq.com>
Co-authored-by: qevolg <2227465945@qq.com>
2025-10-15 21:03:17 +08:00
Alex Duan
01668ff4ea
docs: add error codes Prefix Categories (#33250)
* docs: add error code prefix define introduct

* docs: modify english docs

* docs: remove show error code command

* docs: add TDengine TSDB Error Code chapter

* docs: remove tips area

* docs: rename title to TDengine TSDB Business Error

* docs: rename error code struct

* Update docs/en/14-reference/09-error-code.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update docs/zh/14-reference/09-error-code.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs: linux error codes url link to chrom

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-14 20:24:20 +08:00
Tony Zhang
e4777c94b8
feat: support extend option in state window (#33003) 2025-09-22 13:52:52 +08:00
Jing Sima
72d3189367
feat: [TD-37052] Handle origin table's vnode change in stream query. (#32931) 2025-09-10 16:12:11 +08:00
Jing Sima
308b3fd30e
fix: [TD-37529] Sliding offset cannot be used with interval in trigger window. (#32635) 2025-08-26 14:42:06 +08:00
Simon Guan
22df62c11c
fix: error codes (#32689) 2025-08-22 09:19:56 +08:00
Simon Guan
3265f65b0f Merge branch '3.3.6' into merge/3.3.6tomain 2025-08-21 10:00:04 +08:00
dongming chen
8c4c183220
enh[TD-37462]: improve error messages for CREATE DATABASE operations (#32581) 2025-08-20 16:46:31 +08:00
Mario Peng
b8163b57ee
fix(stmt2): TD-36768 (#32578) 2025-08-18 10:57:03 +08:00
xinsheng Ren
6e7bf7ded0
docs: add stream error desc (#32602) 2025-08-18 08:12:38 +08:00
Mario Peng
d835fc5db0
fix(stmt2):tbname error output (#31997) 2025-07-18 16:26:53 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
Zhixiao Bao
e0608d74d1
fix: alter minReservedMemorySize error code. (#31510) 2025-06-27 16:00:29 +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
Daniel Clow
9fd9a67233
docs: lint all en md files (#31377) 2025-06-16 16:05:41 +08:00
Zhixiao Bao
0045bd1d44
enh: add error code for alter minReservedMemorySize. (#31125) 2025-05-23 16:49:32 +08:00
Haojun Liao
7a724c84f4
feat(gpt): support covariate forecasting (#30806) 2025-04-18 14:01:54 +08:00
dongming chen
d9b7511b0e
fix: [TS-6245]add-protection-when-drop-db (#30567) 2025-04-12 09:47:11 +08:00
Haojun Liao
aeb30e2141
doc: add error code in doc. (#30615) 2025-04-02 23:36:07 +08:00
chenhaoran
986bc6b040 fix: update typo configurations and correct documentation errors 2025-04-01 18:33:23 +08:00