Commit graph

785 commits

Author SHA1 Message Date
dongming chen
e049ae82bd
enh: print sync heartbeat count (#31421) 2025-06-24 17:32:43 +08:00
dongming chen
c38f9eda0c
fix: TS-6336-get-epset (#30770) 2025-04-15 16:44:58 +08:00
dongming chen
319ffbcd57
fix: TD-34444-memery-access-error (#30664) 2025-04-09 14:47:03 +08:00
dongming chen
b74b277e19
enh: TD-34420-improve-sync-heartbeat-log (#30637) 2025-04-09 09:26:44 +08:00
dongming chen
3627f6d09f
fix: TD-34455-sync-election-timer-log (#30675) 2025-04-08 18:20:22 +08:00
Simon Guan
27b175968c
fix: the follower vnode sometimes remains in the restore=false state for a long time after restart (#30490) 2025-03-26 11:19:40 +08:00
Simon Guan
0a96294056
fix: adjust raft logs (#30258) 2025-03-19 21:44:39 +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
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
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
d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +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
dmchen
2312ed4c28 fix/insert-when-2-replicas 2025-01-17 04:12:57 +00:00
dmchen
f07fe7362a fix/insert-when-2-replicas 2025-01-17 04:10:37 +00:00
xiao-77
9a228d7416 delete wal while part dnodes offline 2024-12-25 15:10:07 +08:00
dmchen
0da606c7fb show code 2024-12-24 12:14:47 +00:00
Hongze Cheng
921704e043 more code 2024-12-13 15:28:15 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
yihaoDeng
32b5ec1da7 opt code 2024-12-09 14:35:12 +08:00
dmchen
d2f77ffca0 fix/skip-trim-during-restore 2024-12-06 08:48:10 +08:00
dmchen
302758db1b fix/skip-trim-during-restore 2024-12-05 17:08:18 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
Shengliang Guan
52da6644ee
Merge pull request #29014 from taosdata/fix/remove-wrong-error-log
fix/remove-wrong-error-log
2024-12-04 14:02:56 +08:00
dmchen
f852049156 fix/remove-wrong-error-log 2024-12-03 11:37:10 +08:00
dmchen
a01e55adcd fix/retry-epset-inuse 2024-11-29 17:07:45 +08:00
dmchen
6789e2e58d fix/skip-sync-reset-timer-keep-return-error 2024-11-26 15:54:31 +08:00
dmchen
9a217a7593 fix/skip-sync-reset-timer-fix-compile 2024-11-26 13:09:18 +08:00
dmchen
7a38182a4f fix/skip-sync-reset-timer 2024-11-25 18:32:18 +08:00
dmchen
e893547c14 fix/TD-32583-remove-useless-timer-execution 2024-10-16 10:58:26 +00:00
xsren
e03ccdc6e2 replace snprintf 2024-10-10 10:35:48 +08:00
dmchen
aacf000d1c fix/TD-31891-remove-void-sync1-fix-case 2024-09-23 10:38:07 +00:00
dmchen
3e013d28bc fix/TD-31891-remove-void-sync1-fix-case 2024-09-23 10:30:36 +00:00
dongming chen
2eed8ff584
Merge branch '3.0' into fix/TD-31891-remove-void-sync1 2024-09-23 13:17:59 +08:00
dmchen
1527280277 fix/TD-31891-remove-void-sync1-fix-case 2024-09-23 05:15:12 +00:00
Pan Wei
288e9adebb
Merge pull request #28021 from taosdata/enh/TD-31691
enh:modify error code passing
2024-09-23 11:35:15 +08:00
lyh250-666
dc1d1930c2 enh:modify error code passing 2024-09-23 10:15:20 +08:00
Hongze Cheng
f20bfd7143
Merge pull request #28001 from taosdata/fix/TD-31891-remove-void-sync2
fix/TD-31891-remove-void-sync2
2024-09-23 09:38:04 +08:00
dmchen
1306667d14 fix/TD-31891-remove-void-sync1-fix-case 2024-09-23 01:36:49 +00:00
dmchen
2b3d83715f fix/TD-31891-remove-void-sync2-fix-case 2024-09-20 10:00:18 +00:00
yihaoDeng
6ba0c720da fix invalid read 2024-09-20 17:45:27 +08:00