Commit Graph

76 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 44b35bb9c4 fix: remove tset files 2025-03-03 10:40:16 +08:00
Simon Guan 4c3e6fbd19 fix: os unitest 2025-02-25 16:39:05 +08:00
Shengliang Guan 1ed9efee23 fix: add some ut 2025-02-25 15:33:43 +08:00
Shengliang Guan 05dedfaf1a fix: add file ut 2025-02-23 20:49:19 +08:00
wangmm0220 efde801b7e fix:[TD-33285]gmtime return error in windows 2024-12-24 14:26:07 +08:00
Shengliang Guan d1ed7c0884 ut: fix ci errors 2024-12-18 09:14:19 +08:00
Shengliang Guan 9564f3ac39 ut: fix ci errors 2024-12-17 23:45:42 +08:00
Shengliang Guan 5ea16d3ada ut: minor changes 2024-12-17 19:27:22 +08:00
Shengliang Guan 7488acc3b1 ut: minor changes 2024-12-17 18:41:30 +08:00
Shengliang Guan 95ef1ca656 test: for unittest 2024-12-17 15:38:36 +08:00
Shengliang Guan 3737ce4fd2 enh: ut for os threads 2024-12-13 14:56:57 +08:00
Shengliang Guan b5f2d4d382 test: for tsim 2024-12-12 19:37:48 +08:00
Shengliang Guan 1d0386d161 Merge branch '3.0' into cover/3.0 2024-12-12 09:12:14 +08:00
Shengliang Guan ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Shengliang Guan 34a73b96ed test: ut for osthread 2024-12-11 18:13:47 +08:00
Shengliang Guan 98075a7c5a test: for ostime 2024-12-11 15:54:44 +08:00
yihaoDeng 4145db25e8 fix test case 2024-12-10 18:53:42 +08:00
yihaoDeng 7710e73976 fix test case 2024-12-10 18:11:01 +08:00
yihaoDeng becadebea1 fix test case 2024-12-10 18:09:21 +08:00
yihaoDeng 465125e3b9 fix test case 2024-12-10 18:07:36 +08:00
yihaoDeng 3884fcdf34 fix test case 2024-12-10 18:00:49 +08:00
Shengliang Guan acd87db992 fix: compile errors 2024-12-10 07:15:54 +00:00
WANG MINGMING 4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
Shengliang Guan 6259dcc8bd enh: add heaptest 2024-12-09 12:14:40 +00:00
Shengliang Guan 3d83b74b26 enh: minor changes 2024-12-09 10:31:46 +00:00
Shengliang Guan 89f7e42bee enh: minor changes 2024-12-09 09:51:49 +00:00
Shengliang Guan d29e87d572 enh: add unitest for osEnv.c 2024-12-09 09:41:50 +00:00
Shengliang Guan a231748687 enh: minor changes 2024-12-09 09:06:24 +00:00
Shengliang Guan 68558b0116 enh: simple changes 2024-12-09 08:16:14 +00:00
Shengliang Guan 5028191796 enh: add test cases for osAtomic and osDir 2024-12-09 07:56:30 +00:00
yihaoDeng ffa126da2a Replace unsafe memory functions with safe versions 2024-12-04 15:16:42 +08:00
yihaoDeng a2ed0bf0b4 Replace unsafe memory functions with safe versions 2024-12-04 14:38:16 +08:00
wangmm0220 f23633e83d feat:[TD-32642] add timezone support in windows 2024-12-03 22:28:18 +08:00
wangmm0220 2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
wangmm0220 69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
Haojun Liao 9ff749be73 fix:disable unit test for windows/mac 2024-11-10 10:12:21 +08:00
Haojun Liao 9c5c9f62ad feat: kill rsync by pid. 2024-11-07 19:48:32 +08:00
Shengliang Guan 183d879050 Merge remote-tracking branch 'ljw0903/patch-2' into doc/contrib 2024-10-31 00:09:42 +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
dapan1121 7e4da7604e fix: os ut issue 2024-10-10 17:44:29 +08:00
xsren 402f9daa2a fix: utest 2024-10-10 11:36:02 +08:00
xsren c7f6349e14 tsnprintf 2024-10-10 10:35:29 +08:00
dapan1121 d55a0032b1 fix: localtime issue 2024-10-10 09:45:37 +08:00
dapan1121 d239d3b5b2 fix: ut compile issue 2024-10-09 10:29:47 +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 dca6b21e88 fix: timewait 2024-09-12 09:34:53 +08:00
dapan1121 f96b2dbc65 fix: ut return code 2024-07-26 17:38:02 +08:00