Commit graph

119 commits

Author SHA1 Message Date
Simon Guan
ddc05f168e
refactor: adjust the log to track the data writing process on the server via QID (#30195)
* refactor: adjust wal log infos

* refactor: adjust some log's level

* refactor: adjust some log's level

* fix: add traceId for sync module

* refactor: adjust log level

* refactor: adjust log level

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* fix: compile errors in windows

* refactor: minor changes
2025-03-18 16:21:44 +08:00
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
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
dapan1121
b6863a0eff fix: add more UT cases 2024-12-25 09:59:26 +08:00
dapan1121
72dfc06f44 fix: return code issue 2024-12-23 10:06:37 +08:00
dapan1121
a8a2b01f72 fix: return code issue 2024-12-23 10:00:46 +08:00
dapan1121
8892920ebc fix: task reschedule seriousId issue 2024-12-23 08:49:16 +08:00
dapan1121
b1702132b4 fix: add ut cases 2024-12-20 13:52:53 +08:00
dapan1121
d7032ac520 fix: task seriousId issue 2024-12-11 09:30:56 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
dapan1121
14b9979325 fix: job retry issues 2024-12-10 17:27:02 +08:00
wangjiaming0909
34f1f23ed3 fix tests 2024-12-06 16:37:53 +08:00
dapan1121
011ff04234 fix: scheduler dead lock issue 2024-12-05 18:07:37 +08:00
dapan1121
90b60d9d01 fix: scheduler timer stop issue 2024-11-28 13:56:27 +08:00
dapan1121
30eb4b2633 fix: job retry issue 2024-11-27 09:50:00 +08:00
dapan1121
80b1ab8f45 fix: task delay timer not closed issue 2024-11-26 13:36:15 +08:00
dapan1121
050a0dfe9f fix: scheduler timer issue 2024-11-26 09:09:15 +08:00
dapan1121
9ffe0bcd8c fix: job rerun retry latency issue 2024-11-22 10:17:19 +08:00
dapan1121
34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
Jinqing Kuang
43a337ef74 enh(query)[TD-32732]: add client Id generation and usage
To address the issue of non-unique identifiers for query tasks, a unique
client ID (cid) is now generated during client initialization. This cid
is included in every task message sent to the server. The server will
use a composite key of <qid, cid, tid, eid> to uniquely identify each
query task.
2024-11-07 08:47:31 +08:00
dapan1121
6a9fd0c95e enh: add operator 2024-10-21 19:24:52 +08:00
dapan1121
0aae99ca8f fix: replace unsafe function 2024-10-09 14:03:12 +08:00
yihaoDeng
57f7145878 formate qid 2024-09-29 17:56:11 +08:00
dapan1121
cc1cf679e1 fix: task redirect issue 2024-09-27 16:47:52 +08:00
dapan1121
9a7fec10af fix: task reschedule issue 2024-09-27 13:32:28 +08:00
lyh250-666
df147c60b0 enh:modify error code passing 2024-09-23 08:58:10 +08:00
Pan Wei
446d3ab97c
Merge pull request #27849 from taosdata/fix/TD-31896
fix: function return code issue
2024-09-13 08:41:28 +08:00
dapan1121
007b64a3c1 fix: void function call issue 2024-09-12 15:48:07 +08:00
dapan1121
a7269e4536 fix: remove void function call 2024-09-12 14:17:14 +08:00
lyh250-666
6cbb0cf172 enh:modify error code passing libs/ 2024-09-11 09:58:41 +08:00
wangjiaming0909
b39b6589c4 fix client taskqueueWorkerpool stuck problem when querypolicy = 4 2024-09-09 13:30:22 +08:00
Yihao Deng
e1998d151b update qid log 2024-08-24 10:19:25 +00:00
dapan1121
352abe0b5c fix: scheduler return code 2024-07-16 19:03:12 +08:00
dapan1121
c9d847787e fix: level task done number issue 2024-06-20 14:21:33 +08:00
dapan1121
49d9552ab6 fix: task reset redirect issue 2024-06-20 11:18:23 +08:00
yihaoDeng
588f05c7dd port main to 30 2024-04-02 08:49:48 +00:00
dapan1121
cf50665c20 fix: dead lock issue 2023-08-25 15:20:12 +08:00
dapan1121
e24498b0fd enh: add task notify 2023-08-25 14:59:34 +08:00
Haojun Liao
3ffdbe923d other: merge 3.0 2023-07-11 09:12:57 +08:00
dapan1121
a99fac031c fix: fix coverity scan issues 2023-07-07 10:25:48 +08:00
dapan1121
9499a1c3c8 fix: remove abs 2023-07-03 10:28:59 +08:00
dapan1121
ffd306f2b9 enh: support random execution node 2023-06-30 15:57:58 +08:00
Benguang Zhao
495ae49752 fix: refreshMeta on invalid schema of tb epSet in doAsyncQuery 2023-06-16 15:41:52 +08:00
dapan1121
19e5d63721 fix: add job retry 2023-03-31 18:26:46 +08:00
dapan1121
80798dd934 fix: job retry issue 2023-03-28 09:20:53 +08:00
dapan1121
957ed637b0 fix: rsp type mismatch after link broken is processed 2023-02-15 16:49:21 +08:00
dapan1121
78c5cc2b6b fix: fix task redirect issue 2022-12-06 15:49:57 +08:00
dapan1121
0c26308ae7 fix: add redirect error code and fix no error msg issue 2022-12-05 20:10:09 +08:00
Shengliang Guan
d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
dapan1121
7ad0226e32 fix: add debug code info 2022-12-01 18:04:13 +08:00