Commit Graph

480 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
Haojun Liao a71f414d97 refactor(stream): stop all tasks before drop vnodes. 2025-03-02 02:06:14 +08:00
Shengliang Guan cd52401303 Merge branch 'main' into merge/mainto3.02 2025-02-11 15:15:35 +08:00
Haojun Liao ec954bf408 refactor(stream): record the dropped stream. 2025-02-09 21:13:10 +08:00
kailixu b0fa490dd6 test: add test case for auto compact 2024-12-29 15:13:38 +08:00
kailixu 458a72c66a test: add test case for auto compact 2024-12-29 13:45:59 +08:00
kailixu f529339fb8 test: add test case for auto compact 2024-12-29 13:26:40 +08:00
kailixu 7b69c29c9e test: add test case for auto compact 2024-12-29 12:49:03 +08:00
kailixu 104f37337f test: add test case for auto compact 2024-12-29 12:24:15 +08:00
kailixu 5f3e8ef5aa test: add test case for auto compact 2024-12-28 15:35:12 +08:00
kailixu bf33ef0c07 test: add test case for auto compact 2024-12-27 18:57:12 +08:00
kailixu fcd436830f test: add test case for auto compact 2024-12-27 18:54:22 +08:00
kailixu 78018b3a16 test: add test case for auto compact 2024-12-27 17:05:09 +08:00
dongming chen 69980ac5a8
Merge pull request #29194 from taosdata/3.0
3.0
2024-12-18 08:33:58 +08:00
dmchen 4b6eec21f4 enh/TD-29974-improve-trans-fix-case 2024-12-17 09:54:54 +08:00
dongming chen 20cc54aaaa
Merge branch 'enh/TD-29974-improve-trans' into dmchen/trans-improve 2024-12-16 10:34:11 +08:00
xiao-77 c4ed102c11 Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
Hongze Cheng 37c1be4818 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-14 23:51:25 +08:00
xiao-77 c66a834d1e Replace unsafe memory functions with safe versions in wal&sync. 2024-12-13 15:19:29 +08:00
Hongze Cheng 8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
xiao-77 a79fbfd318 Merge branch '3.0' into enh/3.0/TS-5007 2024-12-12 09:49:17 +08:00
Shengliang Guan ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
kailixu 03e051ee63 feat: dispatch auto compact 2024-12-05 17:15:23 +08:00
kailixu fb029944a4 feat: auto compact options for db 2024-12-04 15:46:42 +08:00
yihaoDeng 215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
kailixu 77418f154a feat: db options for auto compact 2024-12-04 10:49:33 +08:00
kailixu 3e816658af chore: resolve conflicts 2024-12-03 15:27:55 +08:00
xiao-77 bcabfa3382 Merge branch '3.0' into enh/3.0/TS-5007 2024-11-29 11:33:38 +08:00
kailixu 67924ee55b feat: support auto compact 2024-11-26 19:46:48 +08:00
xiao-77 cc3f4504bf Add mnd init cfg and mnd cfg trans. 2024-11-14 17:20:50 +08:00
Hongze Cheng be743733a5 feat: support database auto compact parameters 2024-11-14 17:01:15 +08:00
Hongze Cheng f3de4bb2d8 more code 2024-11-08 11:13:37 +08:00
Hongze Cheng 0f1692b63f more code 2024-11-07 16:35:01 +08:00
dmchen 623017b16d dmchen/trans-improve-show 2024-11-07 02:32:44 +00:00
dongming chen 3671d3c51f
Merge pull request #28654 from taosdata/3.0
3.0
2024-11-05 18:09:31 +08:00
Shengliang Guan f7e11e00c0 fix: check return codes 2024-11-01 15:34:57 +08:00
Shengliang Guan 44a9752cd3 fix: minor changes 2024-10-31 16:49:12 +08:00
Shengliang Guan 3129d42576 fix: minor changes 2024-10-31 16:44:10 +08:00
Shengliang Guan 5bab977a43 fix: create db errors 2024-10-31 16:42:26 +08:00
Shengliang Guan c7ebc4f77b fix: compile errors 2024-10-31 16:09:10 +08:00
dmchen 3b23031a44 fix/TS-5251-add-conflict-check 2024-10-31 01:18:00 +00:00
Shengliang Guan 6690a9ec84 feat: remove alter db options 2024-10-29 21:24:27 +08:00
Shengliang Guan adf7ea29cb feat: alloc dnode from input dnode list 2024-10-29 14:40:40 +08:00
Shengliang Guan 02d56519a2 feat: parse dnodeId from dnodeList 2024-10-29 11:23:58 +08:00
Shengliang Guan 0cae5f178c enh: increase synatx parser 2024-10-26 21:16:28 +08:00
Minglei Jin 1e63510dfd s3/mnd: fix default value resetting 2024-10-23 18:38:15 +08:00
xsren e88a8317af fix: buff size 2024-10-09 09:45:56 +08:00
dmchen 7d8857d257 fix/check-memalloc-result 2024-09-26 06:12:54 +00:00
kailixu 40b9e1ca97 Merge branch '3.0' into enh/TS-5111-3.0 2024-09-20 14:25:06 +08:00
dmchen c1fe2ec0ae fix/TD-31891-remove-void-mnode3-fix-case 2024-09-20 02:49:34 +00:00