Commit graph

49 commits

Author SHA1 Message Date
dongming chen
b46c54f843
refactor: remove unused fileLock mutex from SVnodeMgmt structure (#31441) 2025-06-24 16:54:26 +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
1237e762c1 fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:52:27 +08:00
dmchen
f4116f35f0 fix/refactor-vnode-management-open-vnode 2024-11-28 14:50:45 +08:00
dmchen
b141e0e2ba fix/TD-32863-add-creating-hash 2024-11-13 12:37:09 +08:00
dmchen
0e01b1a9c0 fix/TD-32766-check-ref-before-free-main 2024-10-30 07:29:13 +00:00
Shengliang Guan
c65f6c3e79
Merge pull request #28496 from taosdata/fix/TD-32622-add-closed-hash
fix/TD-32622-add-closed-hash
2024-10-28 19:14:29 +08:00
dmchen
9b9f06eec3 fix/TD-32622-add-lock-for-vnodes-fix-compile 2024-10-28 01:23:52 +00:00
dmchen
dde9ae82f2 fix/TD-32622-add-lock-for-vnodes 2024-10-25 10:10:00 +00:00
dmchen
9f69124708 fix/TD-32622-add-closed-hash 2024-10-25 02:53:48 +00:00
dmchen
9cb415cb4d fix/TD-32621-add-log 2024-10-24 10:08:11 +00:00
Pan Wei
a36a53b765
Merge pull request #27852 from taosdata/enh/TD-31691
modify error code passing
2024-09-14 11:23:14 +08:00
lyh250-666
c8ee66eee2 modify error code passing 2024-09-12 20:57:36 +08:00
xsren
aea768d2c0 osFile 2024-09-10 17:40:19 +08:00
xsren
aa5683cfd9 osfile 2024-09-10 14:55:14 +08:00
xsren
2a3917029f osFile 2024-09-10 11:29:50 +08:00
lyh250-666
bae6186992 modify error code pass in commom/ and dnode/mgmt/ 2024-09-02 07:40:18 +00:00
yihaoDeng
00cc66eb15 refactor mgt 2024-07-29 19:41:44 +08:00
Yihao Deng
640eada5b1 refactor error code 2024-07-16 10:01:09 +00:00
facetosea
845493294d osfile 2023-11-21 16:31:31 +08:00
Minglei Jin
fac7e521e9 s3/evict: fetch atime from stat file 2023-08-07 15:59:37 +08:00
Benguang Zhao
b21e603481 enh: add the field diskPrimary to vnodeGetPrimaryDir, and entries of vnodes.json 2023-07-17 11:48:48 +08:00
Benguang Zhao
e1d9e44fcd enh: add a field toVgId in vnodes.json for prepare alter-hashrange 2023-06-19 17:59:42 +08:00
Shengliang Guan
c5959c5b19 fix: invalid json item 2023-01-11 12:24:44 +08:00
Shengliang Guan
9a95c3d7ab enh: refact vmFile.c 2023-01-11 10:44:07 +08:00
Shengliang Guan
7607a9788f fix: handle error while write json file 2023-01-06 15:39:56 +08:00
Shengliang Guan
03db839d4a fix: handle error while write vnodes.json 2023-01-06 15:15:54 +08:00
Shengliang Guan
129380703f fix: handle error while write vnodes.json 2023-01-06 14:25:38 +08:00
Shengliang Guan
929be865f1 Merge branch 'main' into fix/TS-2349 2022-12-30 17:42:56 +08:00
Shengliang Guan
c2323db00d fix: allow the ip resolved by fqdn different between dnodes 2022-12-30 17:04:14 +08:00
Shengliang Guan
024a7a58a1 fix: add some logs to detect vnodes.json emptyed 2022-12-27 18:46:32 +08:00
Shengliang Guan
8862a31fb1 fix: coverity issues 2022-10-11 09:23:47 +08:00
Shengliang Guan
66a4f332b3 fix: coverity issues 2022-10-10 10:51:16 +08:00
Shengliang Guan
633fd372cd fix: coverity issues 2022-10-09 17:48:06 +08:00
Shengliang Guan
e98335bdfa fix: coverity issues 2022-10-08 11:29:46 +08:00
Shengliang Guan
e5abe59bb1 fix: coverity issues 2022-09-28 09:29:54 +08:00
Shengliang Guan
6c19c06286 fix: coverity issues 2022-09-27 17:16:12 +08:00
Shengliang Guan
eead619f1a fix: coverity issues 2022-09-27 17:10:48 +08:00
Shengliang Guan
c1498e4a85 fix: invalid vnode ref while drop stream 2022-07-12 10:31:25 +08:00
Shengliang Guan
3e5e82158a refactor: add lock vnode hash 2022-07-05 17:38:21 +08:00
Shengliang Guan
ecaea66954 refactor: adjust some logs 2022-06-02 19:12:52 +08:00
Shengliang Guan
a682999c1d refactor: adjust vnode queue 2022-06-02 17:43:03 +08:00
Shengliang Guan
c5d18b5afd refactor: changel lockfree to rwlock 2022-05-19 15:08:32 +08:00
Shengliang Guan
fefc2dad11 refactor: dnode monitor 2022-05-19 11:51:52 +08:00
Shengliang Guan
368c41beba Merge remote-tracking branch 'origin/3.0' into feature/dnode 2022-05-13 20:29:48 +08:00
Shengliang Guan
d6fca91f9f fix: crash when executing create database test vgroups 1024 2022-05-13 17:02:12 +08:00
Shengliang
1bf35e9e13 refactor: node mgmt 2022-05-11 18:23:31 +08:00
Shengliang Guan
c4264da2ec refactor: vnodes mgmt 2022-05-08 22:20:53 +08:00
Shengliang Guan
35e29f0bf6 refact(cluster): node mgmt 2022-04-12 18:11:59 +08:00
Renamed from source/dnode/mgmt/vm/vmFile.c (Browse further)