Commit Graph

113 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 b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
Hongze Cheng d537b2f8b6 adjust api code 2025-02-10 15:56:23 +08:00
Hongze Cheng e404a3b30d fix: unit test 2025-02-08 15:24:13 +08:00
Hongze Cheng 499cf0c294 more code 2025-02-08 14:34:22 +08:00
Hongze Cheng f2dafd9362 more code 2025-02-08 11:24:45 +08:00
Hongze Cheng cfb8cdb991 more code 2025-02-07 18:52:53 +08:00
kailixu ae6c8c9fcf enh: coverage of tfs 2024-12-25 12:44:02 +08:00
kailixu b354bd66f5 enh: test coverage of tfs 2024-12-24 11:50:59 +08:00
kailixu 67af6846f6 enh: test coverage of tfs 2024-12-23 12:47:55 +00:00
kailixu 84d4808291 enh: test coverage of tfs 2024-12-23 11:27:32 +00:00
xiao-77 93500cf96e Feat support alter dataDir disable. 2024-12-20 09:16:54 +08:00
kailixu c89b5ab68f enh: use memory safe functions 2024-12-11 17:27:13 +08:00
kailixu f48e0727e6 enh: use memory safe functions 2024-12-11 16:40:11 +08:00
Shengliang Guan 81c30ab7c0 fix: format cmake file 2024-10-24 10:10:07 +08:00
lyh250-666 5f6802e0a1 enh:modify addede rror code passing 2024-09-24 16:29:28 +08:00
Pan Wei 288e9adebb
Merge pull request #28021 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-23 11:35:15 +08:00
lyh250-666 dc1d1930c2 enh:modify error code passing 2024-09-23 10:15:20 +08:00
kailixu f7a24d2351 enh: return value process 2024-09-20 11:54:52 +08:00
Pan Wei 12d8dfc801
Merge pull request #27829 from taosdata/fix/TD-31870/os2
semphore
2024-09-13 10:59:53 +08:00
xsren 90d9784984 osEnv 2024-09-12 16:12:31 +08:00
lyh250-666 f9126f1211 enh:modify error code passing 2024-09-11 14:11:51 +08:00
kailixu 693cf34cf7 fix(tfs): multi-level storage 2024-08-21 11:30:51 +08:00
kailixu 1cf7744c74 enh: refactor return code 2024-07-29 09:56:56 +08:00
kailixu 87e3c17ada enh: refactor return code 2024-07-25 23:55:35 +08:00
kailixu 12c44fb817 fix: refactor return code 2024-07-25 10:21:06 +08:00
kailixu 7ee18c5178 fix: refactor return code 2024-07-25 09:31:35 +08:00
kailixu cd8a54cbf7 enh: return error code 2024-07-21 11:43:39 +08:00
kailixu b2c60945d7 enh: return error code 2024-07-19 18:10:43 +08:00
kailixu fa694d6fe3 tfs: support disable create new file 2024-12-31 08:34:17 +08:00
kailixu 4c41008657 fix: print format 2024-06-18 19:11:33 +08:00
kailixu 6d2b8fe2bf tfs: support disable create new file 2024-06-18 19:08:00 +08:00
kailixu bb40184260 fix: add primary disk although disable create new file 2024-06-17 10:43:48 +08:00
kailixu 4ed3b30352 tfs: support disable create new file 2024-06-17 06:14:49 +08:00
kailixu ff47e1eab1 enh: support enable/disable tfs config entries 2024-06-12 17:12:30 +08:00
kailixu f2401f32a2 enh: support enable/disable tfs config entries 2024-06-12 15:14:38 +08:00
Hongze Cheng f729072044 enh: reduce compact block write time 2024-05-23 17:57:07 +08:00
factosea f01241f720 Merge branch 'fix/xsren/TD-22212/taosQueryParam3.0' into enh/xsren/TD-22212/taosQueryParam3.0 2023-12-06 17:39:25 +08:00
Hongze Cheng 96112fcd25 reverse 2023-11-20 15:24:01 +08:00
xinsheng Ren da24384f0e
Merge branch '3.0' into fix/xsren/TD-22212/taosQueryParam3.0 2023-11-04 17:41:41 +08:00
Hongze Cheng dc03d8cd1a disable tfs unit test 2023-10-26 20:07:38 +08:00
xsren 355ec86926 fix error when taos_query_a param is null
c_test missing on linux

mem leak

wal_test  pageBufferTest on linux

tfsTest on linux
2023-10-26 16:50:45 +08:00
Hongze Cheng 25aade1333 feat: alloc disk acorrding to avail disk space 2023-10-25 19:44:21 +08:00
Benguang Zhao 0b077a89a7 fix: break potential infinite loop in tfsMkdirRecurAt 2023-09-05 18:27:52 +08:00
Hongze Cheng 2af8a617e7 fix: add log to debug 2023-09-01 15:08:09 +08:00
Hongze Cheng 6a20420f07 feat: add minDiskFreeSize cfg 2023-08-23 16:41:29 +08:00
Benguang Zhao e4d16e594c enh: check if disk space sufficient at primary dir with tfs 2023-08-08 17:53:11 +08:00
Benguang Zhao 24fed51137 enh: tfsRename dir on primary disk at last 2023-07-18 13:58:43 +08:00
Benguang Zhao 5624ecc8df fix: prepare vnode dir recursively in vnodeCreate 2023-07-18 11:32:23 +08:00
Benguang Zhao 6b6b7d8d8f enh: alloc disk of vnode primary dir in vmAllocPrimaryDisk 2023-07-18 11:32:23 +08:00