Commit graph

56 commits

Author SHA1 Message Date
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
40f6345f4e
enh: sign connect request (#34067) 2025-12-29 22:08:38 +08:00
Hongze Cheng
00b0a46060 enh: add strict message check for submit message 2025-01-08 17:29:32 +08:00
Zhixiao Bao
405d924a6f
Merge branch '3.0' into enh/3.0/TS-5007 2024-12-10 14:32:43 +08:00
wangmm0220
5cfadb657f feat:[TD-32642] add timezone support in windows 2024-12-06 17:00:50 +08:00
wangmm0220
0c25fccb8d feat:[TD-32642] fix encode error 2024-12-06 00:54:28 +08:00
wangmm0220
77b9871c0e feat:[TD-32642] add timezone support in windows 2024-12-05 18:55:48 +08:00
xiao-77
8355be28d9 add encode and decode for config 2024-11-08 16:11:04 +08:00
Hongze Cheng
eaa3634764 enh: refactor error code 2024-07-25 08:51:19 +08:00
Hongze Cheng
88281f7f34 more fix 2024-07-16 11:50:19 +08:00
Hongze Cheng
d2b05bfbbd enh: refact more encode and decode function 2024-07-15 18:06:38 +08:00
Hongze Cheng
513bbc50b6 enh: refact encode and decode function 2024-07-15 17:35:00 +08:00
54liuyao
441a150d66 optimize tmq snapshot meta 2024-05-23 17:35:54 +08:00
wangmm0220
9a8eff2a0e fix:compile error 2024-04-12 13:04:47 +08:00
wangmm0220
f1853ced26 feat:[TS-4243] add logic for primark key in tmq 2024-03-22 17:48:59 +08:00
Hongze Cheng
a8f95f53b7 more code 2024-02-28 16:49:44 +08:00
Hongze Cheng
7a658d3367 more code 2024-02-17 17:46:25 +08:00
Hongze Cheng
e7177dae57 more code 2024-01-26 17:14:00 +08:00
Haojun Liao
74834aea11 enh(stream): prepare hb to mnode from stream meta. 2023-07-28 13:07:16 +08:00
Hongze Cheng
21c8d98132 more code 2022-11-23 21:42:06 +08:00
Liu Jicong
8b3489760c feat(tmq): support taosx 2022-08-30 11:12:20 +08:00
wangmm0220
8aa04f8e55 fix:error in tmq meta 2022-07-13 18:49:57 +08:00
Hongze Cheng
8e172ceeed fix: encode/decode i64v 2022-07-08 10:20:26 +00:00
Hongze Cheng
6f94998e06 make it pass windows compile 2022-06-01 08:34:03 +00:00
Hongze Cheng
7e421c0092 make it compile 2022-06-01 08:04:06 +00:00
wangmm0220
6a15fd7e55 fix:fix compile error in windows 2022-06-01 13:45:29 +08:00
wangmm0220
588c4f5abf Merge branch '3.0' into feat/tag_refact 2022-06-01 13:25:41 +08:00
Cary Xu
1e71960376 enh: format optimization 2022-05-31 21:16:51 +08:00
Cary Xu
c5120e68ba enh: code optimization 2022-05-31 21:15:45 +08:00
Cary Xu
d8405d82dc feat: tsma refactor 2022-05-31 21:07:52 +08:00
Hongze Cheng
5b6f9bdb9c refact: tag api 2022-05-30 03:51:36 +00:00
Hongze Cheng
65bdd34007 feat: tag refact 2022-05-27 13:59:53 +00:00
Liu Jicong
3629958b43 feat(tmq): serializer and deserializer for tq exec 2022-05-23 20:31:35 +08:00
Hongze Cheng
528f10c3fe feat: vnode pre-process msg 2022-05-23 08:38:05 +00:00
Hongze Cheng
d784da0da0 feat: discard const when decode 2022-05-23 07:47:49 +00:00
Hongze Cheng
4568c672d6 feat: tdata 2022-05-17 06:40:37 +00:00
Hongze Cheng
93c095b1a5 make compile 2022-05-17 05:46:22 +00:00
Hongze Cheng
f2858c76fa refact 2022-05-16 01:57:49 +00:00
Hongze Cheng
2b8e3a91a3 refact more 2022-05-11 07:41:55 +00:00
Hongze Cheng
20854de43b fix compile error 2022-05-07 10:13:55 +00:00
Hongze Cheng
323ce214b6 refact encode APIs 2022-05-07 10:03:06 +00:00
Hongze Cheng
0c8b7bb094 more refact 2022-05-07 07:29:54 +00:00
Hongze Cheng
5d150204dd more refact 2022-05-07 06:57:31 +00:00
Hongze Cheng
0eb7890dcd add drop table msg 2022-04-28 04:09:31 +00:00
afwerar
bf9ab440a7 fix(os): fix new compilation errors. 2022-04-27 17:39:54 +08:00
Hongze Cheng
bb63a1493f more refact meta 2022-04-22 07:01:48 +00:00
Hongze Cheng
57d642b9b4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/vnode_refact1 2022-04-22 05:33:29 +00:00
afwerar
fc24521621 fix(os): windows compile 3.0. 2022-04-22 09:54:27 +08:00
Hongze Cheng
38e103dbec refact meta 6 2022-04-21 03:47:58 +00:00
Hongze Cheng
45cf8aa16b refact meta 3 2022-04-20 08:50:45 +00:00