Commit graph

150 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
dmchen
45cdd871db fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 14:15:20 +08:00
Haojun Liao
6766e6db53 refactor(stream): add checkpoint queue to handle chkpt. 2025-02-20 16:13:33 +08:00
Haojun Liao
25cdfa5ee9 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-14 18:34:20 +08:00
Haojun Liao
03041d0f61 other: merge main 2025-02-14 10:18:19 +08:00
Haojun Liao
cb7e2cb1e0 refactor(stream): record the elapsed time for close stream tasks. 2025-02-09 01:42:25 +08:00
Haojun Liao
a2dcba10a7 refactor(stream): 1) notify closing in main thread. 2) not saving the halt status. 2025-02-09 01:42:24 +08:00
Haojun Liao
5e130c4d53 enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-02-05 14:57:15 +08:00
Haojun Liao
093233203d
Revert "refactor(stream): do some internal refactor ." 2025-01-24 17:11:15 +08:00
Haojun Liao
6c4dc665e0 fix(stream): wait for queue to be empty. 2025-01-23 13:37:06 +08:00
Haojun Liao
e5e57923cd fix(stream): add upper bound for the time of waiting for creating table. 2025-01-23 13:18:56 +08:00
Haojun Liao
30039bb53b enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-01-09 09:17:08 +08:00
Hongze Cheng
18fb01264d change some apis 2024-12-19 14:51:21 +08:00
dmchen
42e0d1fc81 fix/create-db-log-and-return-code 2024-12-09 10:42:24 +08:00
dmchen
f4116f35f0 fix/refactor-vnode-management-open-vnode 2024-11-28 14:50:45 +08:00
Shengliang Guan
ed3cc87575
Merge pull request #28851 from taosdata/ehn/vnode-open-log
ehn/vnode-open-log
2024-11-25 16:07:24 +08:00
dmchen
a7fdabb6d7 ehn/vnode-open-log 2024-11-20 17:27:35 +08:00
dmchen
7348cbe5ef fix/TD-32914-free-vnode-after-lock 2024-11-18 12:31:38 +08:00
dmchen
336429e149 fix/TD-32863-add-creating-hash-fix-review 2024-11-14 16:01:28 +08:00
dmchen
7ff6884779 fix/TD-32863-add-creating-hash-change-lock 2024-11-13 16:07:45 +08:00
dmchen
0b9f158174 fix/TD-32863-add-creating-hash-fix-case 2024-11-13 14:48:57 +08:00
dmchen
b141e0e2ba fix/TD-32863-add-creating-hash 2024-11-13 12:37:09 +08:00
dmchen
3c34ce6e96 fix/TD-32863-add-lock-for-allocate-primary 2024-11-12 14:09:47 +08:00
dmchen
eaba7dfb5f fix/TD-32766-check-ref-before-free-first-check 2024-10-30 09:01:50 +00:00
dmchen
fbb8585593 fix/TD-32766-check-ref-before-free-check-first 2024-10-30 09:00:42 +00:00
dmchen
935d118f42 fix/TD-32766-check-ref-before-free-main 2024-10-30 07:31:35 +00:00
dmchen
0e01b1a9c0 fix/TD-32766-check-ref-before-free-main 2024-10-30 07:29:13 +00:00
Shengliang Guan
c65f6c3e79
Merge pull request #28496 from taosdata/fix/TD-32622-add-closed-hash
fix/TD-32622-add-closed-hash
2024-10-28 19:14:29 +08:00
dmchen
83ca164e97 fix/TD-32622-add-lock-for-vnodes-fix-compile 2024-10-25 10:13:15 +00:00
dmchen
7a6c21814e fix/TD-32622-add-closed-hash-fix-case 2024-10-25 04:50:16 +00:00
dmchen
9f111b60ab fix/TD-32622-add-closed-hash-fix-case 2024-10-25 03:50:16 +00:00
dmchen
9f69124708 fix/TD-32622-add-closed-hash 2024-10-25 02:53:48 +00:00
dapan1121
ca3f98f837 fix: vnode close caused crash issue 2024-10-23 10:25:43 +08:00
xiao-77
f6426b7e0a init dropped vnode num 2024-09-30 15:41:02 +08:00
xiao-77
01a648bcc9 add dropped count while open vnodes 2024-09-30 12:34:13 +08:00
xiao-77
7274500a78 fix:When opening vnodes, clean up vnodes that are in the dropped state 2024-09-27 16:11:57 +08:00
Hongze Cheng
53caf9f018 ehn: remove void 2024-09-26 10:43:16 +08:00
Hongze Cheng
d183a7b772 ehn: remove void 2024-09-25 18:21:27 +08:00
Hongze Cheng
6cb94f69f2 enh: memory malloc return 2024-09-18 15:22:09 +08:00
lyh250-666
bae6186992 modify error code pass in commom/ and dnode/mgmt/ 2024-09-02 07:40:18 +00:00
Hongze Cheng
f4916211ca enh: clear more asserts 2024-08-26 16:56:48 +08:00
dmchen
b85dba328c fix/TD-30849 2024-08-15 03:55:20 +00:00
yihaoDeng
00cc66eb15 refactor mgt 2024-07-29 19:41:44 +08:00
Yihao Deng
640eada5b1 refactor error code 2024-07-16 10:01:09 +00:00
dmchen
98a6797a4d fix/TS-4785 2024-07-11 01:25:05 +00:00
dmchen
b82bc71e34 fix/TS-4785 2024-07-11 00:37:06 +00:00
dmchen
3f7f6c15ab fix/TS-4785 2024-07-10 10:22:40 +00:00
Minglei Jin
d5e9169769 cos/multi-write: dnode part including mnode/vnode/tsdb 2024-04-08 10:31:49 +08:00
Haojun Liao
6bc12c8728 refactor: do some internal refactor. 2024-02-27 16:27:59 +08:00
Benguang Zhao
8d70d023b9 enh: adjust a logging msg in vmRestoreVnodeInThread 2023-11-23 10:12:58 +08:00