Commit Graph

704 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 1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
Simon Guan 6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
facetosea 887444669c fix: error log 2025-02-28 16:51:25 +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
Shengliang Guan 60245b4e46
Merge pull request #29800 from taosdata/enh/TD-26215
enh: optimize group by tag performance
2025-02-19 16:37:41 +08:00
dapan1121 df674440bf fix: last row scan and tag in conds issues 2025-02-18 19:27:47 +08:00
wangmm0220 9bde3cab92 fix:[TS-5776]add raw type from consumer 2025-02-06 16:48:55 +08:00
dapan1121 2583fe66d5 fix: windows compile issue 2024-12-25 11:44:20 +08:00
dapan1121 b6863a0eff fix: add more UT cases 2024-12-25 09:59:26 +08:00
dapan1121 47394a6a0d fix: add more UT cases 2024-12-23 16:07:47 +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 85ec007687 fix: task release prior to response issue 2024-12-17 11:39:49 +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
Shengliang Guan e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
dapan1121 d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +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
yihaoDeng f7cb4b9b09 update interface 2024-11-29 14:56:29 +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
Shengliang Guan 877dbd8e90 fix: complie errors 2024-11-22 22:19:42 +08:00
Shengliang Guan f733583117 Merge branch 'main' into doc/internal 2024-11-22 16:30:48 +08:00
Shengliang Guan 2d13ce5105 refact: rename taos lib name 2024-11-22 15:33:55 +08:00
dapan1121 9ffe0bcd8c fix: job rerun retry latency issue 2024-11-22 10:17:19 +08:00
dapan1121 164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
yihaoDeng 6461bb0474 unify the format of qId in the logging macros, 2024-11-20 17:03:13 +08:00
kailixu ca49a3eaf0 chore: restore the code change 2024-11-19 09:01:45 +08:00
kailixu 3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +08:00
kailixu 3225c381e2 enh: add bypassFlag to facilitate performance testing 2024-11-18 15:41:08 +08:00
dapan1121 9941dcae9b fix: mempool ut issues 2024-11-18 15:05:02 +08:00
dapan1121 34cfca745b fix: duplicated clientId issue 2024-11-13 19:19:00 +08:00
dapan1121 a8561fba4f Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-11 11:01:22 +08:00
dapan1121 411d61504f fix: remove taosMem calling 2024-11-11 09:09:40 +08:00
dapan1121 371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +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 74065f91d8 fix: data source ep issue 2024-10-30 17:39:33 +08:00
dapan1121 9f2fba6269 Merge remote-tracking branch 'origin/main' into enh/TD-32190 2024-10-28 18:48:40 +08:00
dapan1121 cea25e7f9d fix: scheduler ut issues 2024-10-28 18:47:15 +08:00
dapan1121 33a0fd5519 fix: modify subplan validation issue 2024-10-24 18:34:53 +08:00
dapan1121 4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00