Commit graph

481 commits

Author SHA1 Message Date
WANG MINGMING
ddd32e23d9
fix(tmq): init tmq handle error if snapshotVer is out of range (#30859) 2025-04-24 09:50:51 +08:00
dongming chen
2502086b71
fix: [TS-5926] change wal read file log (#30416) 2025-03-24 21:30:09 +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
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
xiao-77
b378d83194 Fix review errors for error return. 2024-12-31 15:12:53 +08:00
xiao-77
bc95f82373 add ut . 2024-12-30 17:45:43 +08:00
xiao-77
eb710ebc5f Fix meta logic error. 2024-12-30 17:45:29 +08:00
xiao-77
fd7204b04b Fix logic error. 2024-12-30 17:45:19 +08:00
xiao-77
5c192cbcb5 Refator walMeta.c. 2024-12-30 17:45:07 +08:00
xiao-77
1a753fedc7 Fix review errors. 2024-12-26 15:08:18 +08:00
xiao-77
9fea6fd295 Fix some review errors. 2024-12-26 14:58:09 +08:00
xiao-77
de81bfb00d Enh(wal):Modify the error message when the wal file is corrupted. 2024-12-26 09:29:55 +08:00
xiao-77
3c3e8fdbff Add wal & config UT. 2024-12-24 17:34:57 +08:00
xiao-77
c4ed102c11 Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
Hongze Cheng
dea8d6fd62 fix some code 2024-12-13 15:03:01 +08:00
xiao-77
9096312b41 Replace unsafe memory functions with safe versions in wal&sync. 2024-12-13 09:21:43 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Shengliang Guan
a1d196688e
Merge pull request #29038 from taosdata/enh/useSafySysFunc
Replace unsafe memory functions with safe versions
2024-12-11 19:47:47 +08:00
xiao-77
78a283411c Fix error return code. 2024-12-11 11:17:16 +08:00
yihaoDeng
b9d92bd7b7 use safe sys func 2024-12-06 21:44:23 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
xiao-77
1698fe0544 Fix crash at wal init write file. 2024-12-04 09:30:58 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
xiao-77
4f2faff91d Fix maybe close undefine fd ptr. 2024-11-28 11:20:22 +08:00
xiao-77
1eb005a9f0 Fix error code return. 2024-11-27 16:27:00 +08:00
xiao-77
d609d144be Fix ci crash. 2024-11-27 13:46:55 +08:00
xiao-77
7d961a7fec Enh close wal module open file. 2024-11-27 10:15:50 +08:00
Shengliang Guan
a607951115 Merge branch 'main' into merge/mainto3.0 2024-11-22 13:39:44 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +08:00
xiao-77
6f0279d603 Enh modify wal print fileInfo from info to trace. 2024-11-20 19:46:08 +08:00
xiao-77
c954d0ac7a fix:skip begin&end snapshot while wal level = 0. 2024-11-18 11:23:06 +08:00
Shengliang Guan
80b7cbdb84 Merge branch '3.0' into merge/mainto3.0 2024-11-13 23:11:05 +08:00
xiao-77
27f489fadf fix ci error. 2024-11-13 11:01:11 +08:00
xiao-77
bd9d859162 fix ci error. 2024-11-13 09:45:57 +08:00
xiao-77
095ad14bc8 fix init ptr = NULL 2024-11-12 17:44:53 +08:00
xiao-77
9c24db5d03 Add error log and close wal file. 2024-11-12 17:28:46 +08:00
xiao-77
689c0f5254 fix ci crash. 2024-11-08 14:34:31 +08:00
xiao-77
0178d734cb fix ci crash 2024-11-08 10:17:42 +08:00
wangjiaming0909
9a92c136ce fix drop child table with tsma 2024-11-08 09:47:47 +08:00
wangjiaming0909
65dffbda0c fix tsma drop ctb 2024-11-08 09:47:04 +08:00
wangjiaming0909
a5a3d1d8ad fix same timestamp written into same tsma res ctb 2024-11-08 09:40:06 +08:00
xiao-77
badc1037a9 Remove the wrong comments. 2024-11-07 17:44:25 +08:00
xiao-77
4f9fa3bb3e fix alter wal level from 0 to 1or2 and restart failed 2024-11-07 17:43:28 +08:00
Shengliang Guan
b0902e81eb
Merge pull request #28659 from taosdata/fix/main/32800
fix vnode cannot restart while wal level =0
2024-11-07 11:06:31 +08:00
xiao-77
8984231b9f fix vnode cannot restart while wal level =0 2024-11-06 11:15:08 +08:00
dongming chen
c88216ff6b
Merge pull request #28592 from taosdata/3.0
3.0
2024-10-31 16:44:51 +08:00
dmchen
0a4cdb4c47 fix/TD-32703-add-wal-log 2024-10-31 08:03:29 +00:00
xiao-77
40cf21b15c fix firstVer incorrect while romove wal dir 2024-10-31 11:27:24 +08:00
dmchen
ba9c796c9d fix/TD-32703-add-wal-log 2024-10-30 11:33:00 +00:00
Hongze Cheng
0c305a0678
Merge pull request #28372 from taosdata/fix/3.0/TD-32551
fix invaild snapshotVer while repair wal meta file
2024-10-16 16:49:49 +08:00