Commit graph

202 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
6250adb3b1 refactor: rename udfd to taosudf 2025-03-06 22:20:52 +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
factosea
1cb0e2fec2 udf merge: temporarily block code 2024-12-19 15:43:24 +08:00
factosea
50dbfdd4a3 udfd: coverage 2024-12-19 15:05:32 +08:00
kailixu
b4e6e2dfa8 enh: support specify log output by -o option 2024-11-29 13:40:33 +08:00
factosea
057d388451 fix: set pointer to null after free 2024-11-12 17:59:58 +08:00
facetosea
61ccba3ce7 enh: check level 2024-11-11 17:23:13 +08:00
xsren
bf9ea14f86 data check: udf 2024-11-11 11:04:11 +08:00
xsren
1c01bd801b param valid: udf 2024-11-11 09:23:02 +08:00
xsren
9adc756975 enh: parameter validation 2024-11-07 17:37:33 +08:00
Shengliang Guan
03814cfe5a refact: rename version to td_version 2024-11-04 15:16:15 +08:00
xsren
eaf8bf0ca6 tstrncpy 2024-10-09 11:26:35 +08:00
xsren
7f2a2cfbd0 enh: safe function 2024-10-08 14:25:51 +08:00
Pan Wei
04663cb4b3
Merge pull request #28011 from taosdata/enh/TD-31691
Enh/td 31691
2024-09-23 08:54:34 +08:00
lyh250-666
69d62454d7 enh:modify error code passing 2024-09-20 17:48:04 +08:00
xsren
bffba8e440 fix: deak lock 2024-09-19 10:22:25 +08:00
Pan Wei
4c459155f1
Merge pull request #27890 from taosdata/fix/TD-31870/os4
fix: os return
2024-09-18 11:03:44 +08:00
xsren
f684e12c27 pointer check 2024-09-14 18:11:36 +08:00
xsren
1b48080a94 fix: os return 2024-09-14 11:47:20 +08:00
xsren
aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
xsren
46355de7f9 fix: crash 2024-09-05 17:30:46 +08:00
lyh250-666
28d0dc8e5b modify error code pass in libs/catalog/, libs/function/ and libs/command/ 2024-09-02 22:59:49 +08:00
dapan1121
905d1eb762
Merge pull request #26972 from taosdata/fix/TD-29679/l2cache
Fix/td 29679/l2cache
2024-08-08 16:51:44 +08:00
xsren
bec6dfe16b return value 2024-08-07 16:51:39 +08:00
yihaoDeng
66753111c9 fix return error 2024-08-06 16:52:28 +08:00
xsren
911e6380b9 return value: udf 2024-07-27 18:33:08 +08:00
xsren
24183d3f86 fix: start udfd with env var 2024-07-18 09:58:23 +08:00
factosea
a707a2921b fix: udfScalarProcFunc exception 2024-06-13 17:49:58 +08:00
kailixu
585ec14fea feat(grant): support industry edition 2024-05-23 17:17:18 +08:00
dmchen
a297a38818 fix/TD-29772 2024-05-21 01:57:33 +00:00
dmchen
939183d3df fix/TD-29772 2024-05-13 01:56:49 +00:00
t_max
f030af3aab fix: build fails on macOS and Windows 2024-05-11 14:59:05 +08:00
shenglian zhou
6b79947402 fix: fix coverity scan issue 2023-09-06 08:48:46 +08:00
dapan1121
cc17848b78 fix: merge 3.0 to main 2023-09-01 13:24:47 +08:00
yihaoDeng
79f01ad655 add version check in rpc 2023-07-05 08:16:25 +00:00
dapan1121
61d57aaf49
Merge pull request #21899 from taosdata/fix/td-24964
fix: fix coverity scan issues
2023-06-30 09:25:37 +08:00
shenglian zhou
e05b7dcf00 fix: fix coverity scan issues 2023-06-29 15:36:16 +08:00
slzhou
fc3fe9dff8 fix: remove connect to mnode 2023-06-28 13:49:13 +08:00
slzhou
6de507d392 fix: modify test case 2023-06-25 11:44:01 +08:00
slzhou
de1848cb08 enhance: use scalar mode to run ci test 2023-05-25 14:51:53 +08:00
Haojun Liao
041ffa91bd other: merge main. 2023-05-17 15:42:15 +08:00
dapan1121
026a4b5540 fix: fix compile issue 2023-05-12 15:07:05 +08:00
Benguang Zhao
12f28a4a43 enh: unify error msg for no disk space 2023-04-25 15:39:11 +08:00
shenglian zhou
a2d75a327c enhance: udf output column reserve capacity 2023-04-18 08:28:12 +08:00
slzhou
99587db7a1 fix: udf handle expired after 10s 2023-04-14 07:58:25 +08:00
slzhou
b725c9e192 enhance: change udf func body dir to tsDataDir/.udf 2023-04-09 20:31:25 +08:00
slzhou
dc86bf9671 fix: remove code size checking 2023-04-08 13:26:15 +08:00
slzhou
55ffb0bc6d fix: correct udf body file name and correct createdtime 2023-04-08 11:36:09 +08:00