Commit graph

68 commits

Author SHA1 Message Date
Kaili Xu
13f9bddf3d
feat: support customized taos/taosd (#29736)
* feat: support TDAcoreOS

* chore: cmake options for TD_ACORE

* chore: disable lemon for TD_ACORE

* chore: add lzma2 and msvcregex

* chore: cmake for lzma2

* chore: adapt for TD_ACORE

* chore: adapt strcasecmp for TD_ACORE

* chore: adapt for geos/threadName

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE

* chore: build adapt for TD_ACORE termio

* chore: refact transComm.h for TD_ACORE

* chore: refact transportInt.h for TD_ACORE

* chore: refact trans.c for TD_ACORE

* chore: refact trpc.h for TD_ACORE

* chore: refact transCli.c/transComm.c/transSvr.c for TD_ACORE

* chore: refact uv.h for TD_ACORE

* chore: refact geosWrapper.h for TD_ACORE

* chore: refact token/builtins/udf for TD_ACORE

* chore: refact rocks for TD_ACORE

* chore: refact tsdbCache.c for TD_ACORE, use LRU cache for last/last_row, not use rocksdb

* chore: refact FAIL to _ERR to solve conflicts for TD_ACORE

* chore: restore lemon.c/lempar.c

* chore: support build lemon for TD_ACORE

* chore: refact trpc and siginfo_t for TD_ACORE

* chore: refact timezone for TD_ACORE

* chore: refact lz4 for TD_ACORE

* chore: refact TD_ACORE to make compile pass

* chore: code optimization for TD_ASTRA

* feat: support run taos with taosd integrated

* feat: support invoke taos shell

* feat: support invoke taos shell

* feat: support invoke taos shell

* chore: code optimization

* chore: fix undefined reference problem os TD_ASTRA

* chore: resolve compile problem for TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix undefined reference problem os TD_ASTRA

* chore: fix getpid

* chore: fix typo

* chore: set stack size and ajust min pack size for TD_ASTRA

* chore: fix pthread create parameters

* chore: chmod adapt for TD_ASTRA

* chore: fix trans compile problem

* chore: adapt chmod for TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: more code for adaption of TD_ASTRA

* chore: byte alignment for TD_ASTRA

* chore: conditional compile option

* chore: adapt for TD_ASTRA

* chore: adjust taosPId and msvcregex for TD_ASTRA

* chore: log dir separator for wal build name

* chore: fix type of pointer parameter

* chore: fix compile problem of tsdbGetS3Size

* enh: get last ver from wal log for TD_ASTRA

* enh: refact wal meta ver

* enh: refact wal meta ver

* fix: typo of taosUcs4Compare

* enh: process return value of CI

* chore: more code for TD_ASTRA adaption

* chore: return value of taosCloseFile in walMeta.c

* chore: fix compile problem

* chore: fix compile problem of TD_ASTRA

* fix: update macro for tq and stream task

* chore: code optimization for TD_ASTRA

* chore: restore create log and init cfg interface

* chore: restore strncasecmp and strcasecmp

* fix: adjust the field position of SDataBlockInfo

* fix: pragma pack min size

* fix: pragma pack min size

* chore: more code for TD_ASTRA adaption

* fix: type of parameters

* chore: adapt strncasecmp and strcasecmp for TD_ASTRA

* chore: restore interface of init log

* enh: pack push optimization

* fix: taos init cfg

* add astra support

* fix: fetch the value of suid

* chore: switch of  build with udf

* add temp code

* chore: more code for TD_ASTRA adaption

* chore: add macro ERRNO to replace errno

* chore: bytes align for TD_ASTRA

* fix: remove obsolete codes

* enh: support USE_UDF macro

* fix compile error

* fix: resolve redefinition problem

* fix: compile problem of log.cpp

* fix: compile problem of osTimezone

* fix: resolve compile problem of udf

* fix: pragma definition on windows

* fix: ucs4 and stpncpy for TD_ASTRA

* fix: memory align problem for TD_ASTRA

* enh: solve memory leak for TD_ASTRA_RPC

* fix: compile problem of taosSetInt64Aligned

* fix: restore mndSubscribe.c

* fix: scalar for udf

* chore: code adaption for TD_ASTRA

* chore: code optimization for TD_ASTRA

* fix: typo of add definition

* fix: typo of macro in tudf.h

* chore: remove void to make CI pass

* enh: move macro from cmake.platform to cmake.options

* enh: byte align for hash node and error code

* chore: restore the size for lru cache

* enh: restore some code about pack push

* chore: restore the pack push in tmsg.h

* fix: add macro of pack pop for windows

---------

Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 13:32:13 +08:00
Simon Guan
43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
xiao-77
c2068ea967 Fix merge errors from pr 29618. 2025-01-21 18:13:13 +08:00
xiao-77
3070d2d455 Fix merge code error. 2025-01-21 12:34:47 +08:00
xiao-77
18dd355463 Fix build error. 2025-01-21 11:37:26 +08:00
xiao-77
a4e88660db fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
Hongze Cheng
4b75755af1 more change 2024-09-24 16:48:07 +08:00
Pan Wei
446d3ab97c
Merge pull request #27849 from taosdata/fix/TD-31896
fix: function return code issue
2024-09-13 08:41:28 +08:00
dapan1121
a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
lyh250-666
f9126f1211 enh:modify error code passing 2024-09-11 14:11:51 +08:00
Hongze Cheng
9792683b7d handle some of return -1 2024-08-14 17:50:20 +08:00
yihaoDeng
7942a9bfd1 change queue limit 2024-08-13 14:11:10 +08:00
yihaoDeng
8250a51317 change queue limit 2024-08-13 11:18:29 +08:00
Hongze Cheng
f090c9f96e enh: refactor error code 2024-07-30 09:39:50 +08:00
Hongze Cheng
8ef31bc186 enh: refactor return code 2024-07-29 20:14:15 +08:00
Hongze Cheng
ded23d4b08 enh: refactor return code 2024-07-27 18:28:26 +08:00
Hongze Cheng
64363627fe enh: refact tqueue code 2024-07-16 17:30:32 +08:00
kailixu
2b9df7b45c fix: oom in rpc queue 2024-07-04 18:36:17 +08:00
kailixu
79f1e90743 fix: oom in rpc queue 2024-07-04 17:11:53 +08:00
Haojun Liao
6bc12c8728 refactor: do some internal refactor. 2024-02-27 16:27:59 +08:00
Yihao Deng
89bcc8f058 add queue perf msg 2024-01-31 07:10:01 +00:00
Haojun Liao
efede8669f refactor: do some internal refactor. 2023-10-27 09:55:06 +08:00
yihaoDeng
8617af2a55 fix queue failure 2023-05-08 07:43:44 +00:00
Haojun Liao
a7691aba9c fix(stream): set the correct queue item size. 2023-05-08 00:24:00 +08:00
yihaoDeng
5aff5aa93b add backpressure 2023-04-04 12:38:56 +00:00
yihaoDeng
628bb62c8a add backpressure 2023-04-04 07:20:05 +00:00
Shengliang Guan
4c4b79f766 enh: remove assert 2023-01-11 17:47:34 +08:00
Shengliang Guan
652f51fec5 fix: control rpc qitem memory 2022-12-10 15:09:55 +08:00
Shengliang Guan
50b66df39f fix: control rpc qitem memory 2022-12-10 14:02:57 +08:00
Liu Jicong
bc469f7f7b fix(stream): delete tb should be checked in write thread 2022-11-08 11:30:29 +08:00
Shengliang Guan
a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +08:00
Shengliang Guan
b508c25118 enh: redistribute vgroup 2022-10-25 15:55:19 +08:00
Shengliang Guan
922436e7d4 fix: lock mem items of tqueue 2022-10-21 19:12:03 +08:00
Shengliang Guan
c0d66dee2a fix: improve test coverage 2022-10-20 14:00:52 +08:00
Shengliang Guan
4e7cac45c0 fix: improve test coverage 2022-10-20 12:33:47 +08:00
Shengliang Guan
34b08b7b71 fix: improve test coverage 2022-10-20 11:27:00 +08:00
Shengliang Guan
eead619f1a fix: coverity issues 2022-09-27 17:10:48 +08:00
Cary Xu
441ce21677 enh: rsma batch process 2022-08-19 17:19:50 +08:00
Shengliang Guan
b9165a9503 fix: reset queueSize after the queueItem is consumed and executed by the worker 2022-07-12 13:56:54 +08:00
Shengliang Guan
52b63db905 fix: invalid vnode ref while drop stream 2022-07-12 13:26:55 +08:00
Liu Jicong
2677a3c8d9 refactor(stream) 2022-06-06 20:15:36 +08:00
dapan1121
5ce7dd2a4d qnode load 2022-05-28 22:13:26 +08:00
Shengliang Guan
18eb037706 fix: ref count 2022-05-20 12:09:33 +08:00
yihaoDeng
079e586afb fix: fix mem size limit 2022-05-17 09:59:22 +08:00
Shengliang Guan
7ad96ac276 enh: control the memory of the rpc queue 2022-05-14 11:53:46 +08:00
Shengliang Guan
245f82ffe4 refactor: align 8 bytes in tqueue.c 2022-05-14 09:39:50 +08:00
Shengliang Guan
219e9553e7 refactor: control the memory of the rpc queue 2022-05-13 14:58:52 +08:00
Shengliang Guan
65e9e97252 refactor: control the memory of the rpc queue 2022-05-13 14:23:11 +08:00
Shengliang Guan
ce016a216c refact node msg fp 2022-03-28 17:25:12 +08:00