Commit graph

138 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
Shengliang Guan
1ed9efee23 fix: add some ut 2025-02-25 15:33:43 +08:00
Alex Duan
22ca66b25c fix: restore cur_name.h 2025-02-13 13:16:39 +08:00
Alex Duan
400254820c fix: remove cur_name.h content to tdef.h and del cur_name.h 2025-02-13 13:00:46 +08:00
dapan1121
14b9979325 fix: job retry issues 2024-12-10 17:27:02 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
factosea
31776831df enh: osThread/ossystem 2024-11-12 13:13:02 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
xsren
59816166ef enh: getSystemUUIDLen 2024-10-12 09:07:08 +08:00
xinsheng Ren
9f645a0879
Merge branch '3.0' into enh/TD-32413/snprintf 2024-10-11 16:07:25 +08:00
xsren
e81e999fc1 fix: snprintf 2024-10-10 15:40:43 +08:00
xsren
e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
dapan1121
0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
xsren
9972357c17 file function result 2024-09-26 18:13:52 +08:00
xsren
ae9eaf9d1a osSys 2024-09-14 16:14:56 +08:00
xsren
a91085eef6 fix: void 2024-09-13 16:14:40 +08:00
xsren
466e0b5f8e build on mac 2024-09-13 07:19:11 +08:00
xsren
82d83b2e6b osSysinfo 2024-09-12 19:56:49 +08:00
xsren
90d9784984 osEnv 2024-09-12 16:12:31 +08:00
xsren
2a3917029f osFile 2024-09-10 11:29:50 +08:00
dapan1121
d1013b20f9 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-08-30 18:26:26 +08:00
dapan1121
044f7d6658 fix: remove assert 2024-08-21 14:41:14 +08:00
kailixu
f62e849222 fix: support customized version 2024-08-15 16:07:57 +08:00
dapan1121
08ec404200 enh: add memory pool 2024-07-29 14:57:26 +08:00
dapan1121
dfc3fc4987 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-29 11:16:36 +08:00
dapan1121
d82c945663
Merge pull request #26813 from taosdata/enh/code/TD-30977
return value: udf
2024-07-28 21:45:31 +08:00
xsren
911e6380b9 return value: udf 2024-07-27 18:33:08 +08:00
sima
063965d28a enh:[TD-31070] Handling return value of clientHb.c 2024-07-26 16:09:04 +08:00
dapan1121
d3ab79da10 fix: os return code 2024-07-25 11:47:04 +08:00
dapan1121
2f284b252f Merge remote-tracking branch 'origin/fix/TD-31073.2' into fix/TD-31073.3 2024-07-25 08:58:07 +08:00
dapan1121
4ef485dbf9 fix: shell read file issue 2024-07-25 08:55:01 +08:00
dapan1121
fdfec17c64 fix: ut issue 2024-07-24 18:48:18 +08:00
dapan1121
adfd7b4504 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-22 19:24:56 +08:00
dmchen
89acd1693c fix/TD-30877 2024-07-05 06:44:43 +00:00
dmchen
587df3b86d fix/TD-30877 2024-07-05 06:44:34 +00:00
dapan1121
55ba9054ea enh: add stat info 2024-07-02 19:25:33 +08:00
Haojun Liao
f353636136 refactor: do some internal refactor. 2024-06-19 15:08:25 +08:00
Haojun Liao
04281bcd07 fix(util): uncomment the timestamp decode function with AVX2 instructions, and do some internal refactor. 2024-06-19 15:06:09 +08:00
dmchen
0d5b997d94 first set 2024-02-25 03:56:12 +00:00
dmchen
e27138e413 first statis 2024-02-25 03:45:30 +00:00
dmchen
2df6ae1116 first net_in net_out 2024-02-24 09:48:28 +00:00
Haojun Liao
801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
Haojun Liao
eb4449999f other: merge 3.0 2023-10-12 10:33:48 +08:00
Shungang Li
6f5689b0d6 fix: net_in/net_out 2023-09-25 18:54:52 +08:00
kailixu
d5b0d39c40 fix: typo when get cpu cores 2023-08-31 08:59:09 +08:00
kailixu
eb7d2d495a chore: supports obtaining physical/virtual CPU cores 2023-08-30 15:21:03 +08:00
kailixu
f09429f089 feat: get cpu cores from quota 2023-08-29 14:37:22 +08:00
kailixu
66f0a69752 feat: get cpu cores from quota 2023-08-29 14:31:47 +08:00
kailixu
dffdbb53f6 chore: code optimization 2023-07-24 10:15:32 +08:00
kailixu
9511af242e chore: time unit of os uptime 2023-07-24 09:12:42 +08:00