Commit Graph

1562 Commits

Author SHA1 Message Date
Simon Guan 0a96294056
fix: adjust raft logs (#30258) 2025-03-19 21:44:39 +08:00
Simon Guan d02196a231
refactor: adjust some logs (#30245)
* 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

* docs: update keywords

* fix: compile errors in windows

* docs: minor changes

* docs: minor changes

* refactor: minor changes

* docs: fminro changes

* docs: format

* refactr: remove uncessory logs

* docs: format doc
2025-03-18 17:55:36 +08:00
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
Simon Guan cf8d7cd0ac Merge branch 'main' into merge/mainto3.0 2025-03-17 21:42:42 +08:00
dongming chen 03fe3e5430
fix: [TD-34000] remove lock when send heartbeat reply main (#30123)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 17:13:54 +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
dmchen 952053598c enh: TD-33960-improve-sync-log 2025-03-06 14:47:44 +08:00
Simon Guan 393f49141f
Merge pull request #29989 from taosdata/ehn-TD-33933-decouple-send-heartbeat
ehn:TD-33933-decouple-send-heartbeat
2025-03-05 18:55:09 +08:00
Simon Guan 1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
dmchen 9d8c959502 ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:45:06 +08:00
dmchen 1d435faaa2 ehn:TD-33933-decouple-send-heartbeat 2025-03-03 17:42:19 +08:00
Simon Guan f88c249fa4
Merge pull request #29946 from taosdata/fix/remove-sync-heartbeat-lock
fix: remove sync heartbeat lock
2025-03-03 13:52:16 +08:00
Simon Guan d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
dmchen d2c505a9b9 fix:remove-lock-from-log-sync-heartbeat 2025-02-28 17:35:59 +08:00
dmchen fde07fff88 fix:remove-lock-from-log-sync-heartbeat 2025-02-28 17:32:54 +08:00
dmchen 12249bb512 fix:remove-lock-from-heartbeat-log 2025-02-28 16:03:38 +08:00
dmchen 61a4c41332 fix:remove-lock-from-heartbeat-log 2025-02-28 16:02:18 +08:00
dmchen aa7cb880bb fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:53:18 +08:00
dmchen 1237e762c1 fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:52:27 +08:00
dmchen 7eeb800213 fix:add-status-timestamp 2025-02-27 15:29:52 +08:00
dmchen 1f6c4df422 fix/move-status-to-new-queue 2025-02-27 15:26:06 +08:00
dmchen 4dcb984b02 fix/remove-sync-heartbeat-lock-fix-check 2025-02-27 15:25:56 +08:00
dmchen 6bfa1acaeb fix/remove-sync-heartbeat-lock 2025-02-27 15:25:40 +08:00
dmchen 93992f3d6e fix:add-status-timestamp 2025-02-27 15:22:33 +08:00
dmchen 031f176aa1 fix/move-status-to-new-queue 2025-02-27 11:02:18 +08:00
Simon Guan 76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Simon Guan b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
dmchen 2d93259f1a fix/remove-sync-heartbeat-lock-fix-check 2025-02-26 18:41:17 +08:00
dmchen bd492f790e fix/remove-sync-heartbeat-lock 2025-02-26 16:55:06 +08:00
dongming chen 0ce087f2b3
Merge branch '3.0' into feat/TS-5805-force-assign-leader 2025-02-26 13:57:36 +08:00
Zhixiao Bao e71c03a90f
Merge branch '3.0' into feat/3.0/TS-5584 2025-02-13 10:17:58 +08:00
dongming chen 0350f46ba4
Merge pull request #29756 from taosdata/3.0
3.0
2025-02-12 14:00:02 +08:00
xiao-77 fbe65197d6 Feat(sync):Add restore progress to the "show vnodes" command, and add the applied index to the "show vgroups" command. 2025-02-10 15:58:25 +08:00
dongming chen 240a8b5d5b
Merge pull request #29723 from taosdata/3.0
3.0
2025-02-10 09:56:12 +08:00
dmchen 2b4d4162a7 feat/TS-5805-force-set-assign 2025-01-24 08:50:04 +00:00
Shengliang Guan 7e9453385c Merge branch 'main' into merge/mainto3.0 2025-01-21 16:06:24 +08:00
xiao-77 a4e88660db fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
Shengliang Guan 585e639328 Merge branch 'main' into merge/mainto3.0 2025-01-19 11:19:14 +08:00
dmchen 2312ed4c28 fix/insert-when-2-replicas 2025-01-17 04:12:57 +00:00
Shengliang Guan c62e189496 Merge branch 'main' into merge/mainto3.0 2025-01-09 13:38:37 +08:00
Shengliang Guan 37eb686d7c
Merge pull request #29502 from taosdata/fix/main/TD-33457
Fix(cfg): resolve dynamic configuration update failure after rolling …
2025-01-08 17:31:13 +08:00
xiao-77 872a24eb1e Fix valgrind errors. 2025-01-07 23:47:36 +08:00
xiao-77 77359f26b3 Fix(cfg): resolve dynamic configuration update failure after rolling upgrade to 3.3.5.0 2025-01-07 15:26:01 +08:00
yihaoDeng eb4d43e757 [sync] change hash table func 2025-01-07 13:43:34 +08:00
Hongze Cheng 911c138ed3 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/hz-testcase 2024-12-30 11:17:56 +08:00
dmchen 41548ceaf5 add lock 2024-12-27 17:30:09 +08:00
dmchen 91abb86693 fix/resolve_fqdn_retry_times 2024-12-27 02:22:54 +00:00
Shengliang Guan f5b052ff92
Merge pull request #29332 from taosdata/fix/remove-resolve-fqdn-retry
fix/remove-resolve-fqdn-retry
2024-12-27 09:11:55 +08:00
dmchen 20a0ae7905 fix/remove-resolve-fqdn-retry 2024-12-25 11:51:37 +00:00
xiao-77 9a228d7416 delete wal while part dnodes offline 2024-12-25 15:10:07 +08:00