Commit graph

52 commits

Author SHA1 Message Date
dongming chen
88ec00bdb8
fix: inaccurate memory monitoring for dnode (#33010) 2025-09-18 17:36:14 +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
Shengliang Guan
1ed9efee23 fix: add some ut 2025-02-25 15:33:43 +08:00
dapan1121
4f3484b823 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-10-24 16:49:38 +08:00
xsren
59816166ef enh: getSystemUUIDLen 2024-10-12 09:07:08 +08:00
xsren
ae9eaf9d1a osSys 2024-09-14 16:14:56 +08:00
xsren
82d83b2e6b osSysinfo 2024-09-12 19:56:49 +08:00
dapan1121
dfc3fc4987 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-07-29 11:16:36 +08:00
xsren
911e6380b9 return value: udf 2024-07-27 18:33:08 +08:00
dapan1121
55ba9054ea enh: add stat info 2024-07-02 19:25:33 +08:00
Haojun Liao
801b211cd8 refactor:do some internal refactor. 2023-11-11 15:39:45 +08:00
kailixu
eb7d2d495a chore: supports obtaining physical/virtual CPU cores 2023-08-30 15:21:03 +08:00
kailixu
e566c051f7 chore: code optimization 2023-07-24 09:03:19 +08:00
kailixu
d597ba8e71 chore: code optimize 2023-07-24 06:35:54 +08:00
kailixu
3cfa49066a chore: uptime logic optimize 2023-07-23 23:25:58 +08:00
kailixu
163adf1908 chore: dm monitor refactor 2023-07-14 13:27:19 +08:00
Shuduo Sang
ea5d925c50
fix: alpine support (#19353)
* fix: alpine support

* fix: ostimer thread_id

* fix: taosPrintTrace and tsStreamMax

* fix: make_install.sh and dnodes.py for alpine

* fix: cmake.platform and cut option for alpine

* fix: timer sigev and string convert

* fix: test case for alpine

* fix: fix test script for alpine

* fix: fix test script for alpine

* fix: fix taosLogTrace for Alpine

* fix: fix taosSort

* fix: vnode and mnode compare functions and test cases

* fix: sorting algorithms and unit tests

* fix: libtaosws.so build error on Alpine

* fix: libtaosws.so build error on Alpine

---------

Co-authored-by: t_max <1172915550@qq.com>
2023-02-10 13:00:55 +08:00
xinsheng Ren
853b93fbe1
Fix/xsren/td 20817 mac fqdn (#19078)
* fix/TD-20817-mac-fqdn use localhostname

* fix/TD-20817-mac-fqdn redundant codes

* fix/TD-20817-mac-fqdn,replace command with api

Co-authored-by: facetosea <25808407@qq.com>
Co-authored-by: Shuduo Sang <sangshuduo@gmail.com>
2022-12-29 09:21:20 +08:00
Haojun Liao
b83f895726 refactor: do some internal refactor. 2022-11-11 14:16:13 +08:00
Hongze Cheng
4cc94968ee refact: format header file 2022-10-13 11:09:43 +08:00
dapan1121
d266bfe187 fix: fix stmt memory leak 2022-07-20 08:39:52 +08:00
afwerar
528d7d7248 os: add dll check 2022-06-16 15:46:51 +08:00
Shengliang Guan
7f3b15020c fix(cluster): get monitor info in multi-process mode 2022-04-11 18:13:55 +08:00
Shengliang Guan
f492ae743a feat: send monitor information in multi-process mode 2022-04-08 16:05:28 +08:00
afwerar
30c10ef8b3 [TD-13063]<fix>: prepare for win compilation. 2022-03-17 14:22:36 +08:00
Shuduo Sang
23bef711fc
Feature/sangshuduo/td 13063 3.0 windows (#10720)
* [TD-13063]<feature>: 3.0 on Windows

* add pthread in contrib

* fix linux compile

* fix osSemaphore

* add gnu regex for Windows

* fix compile error for Windows

* support arm platform

* port more OS files

* fix for Windows compile

* port more files

* fix macOS on x86_64

* port osFile

* port osSemaphone.h

* port osSocket.c

* port tconfig.c

* port ttimer.c

* add couple files
2022-03-15 21:35:04 +08:00
Shuduo Sang
ba8d9a798e
Feature/sangshuduo/td 13063 3.0 windows (#10708)
* [TD-13063]<feature>: 3.0 on Windows

* add pthread in contrib

* fix linux compile

* fix osSemaphore

* add gnu regex for Windows

* fix compile error for Windows
2022-03-11 19:39:20 +08:00
afwerar
6b6c43646d [TD-13770]<fix>: redefine system api. 2022-03-10 18:06:20 +08:00
afwerar
6667446db3 [TD-13876]<fix>: forbid big-end machine. 2022-03-09 10:46:31 +08:00
Shengliang Guan
c03f4abd79 monitor 2022-03-05 16:09:55 +08:00
Shengliang Guan
cde33ee27a io and band 2022-03-05 11:56:00 +08:00
Shengliang Guan
09be95e404 sysinfo for monitor 2022-03-05 10:23:16 +08:00
Shengliang Guan
2bf46ddc54 monitor 2022-03-03 19:12:08 +08:00
Shengliang Guan
3fbb78a951 io 2022-03-03 18:55:16 +08:00
Shengliang Guan
c890b0b5c1 sysinfo in monitor 2022-03-03 18:10:56 +08:00
Shengliang Guan
c018e91859 minor changes 2022-03-03 17:30:33 +08:00
Shengliang Guan
10fd86209d minor changes 2022-03-02 14:10:27 +08:00
Shengliang Guan
bbcfc1b7b2 update telemetry formater to cjson 2022-03-01 17:13:12 +08:00
Shengliang Guan
4fe44df5b8 os 2022-02-28 19:22:49 +08:00
Shengliang Guan
0f86e16dcd os 2022-02-24 21:37:19 +08:00
Shengliang Guan
612dd71918 os env 2022-02-24 21:27:13 +08:00
Shengliang Guan
7778830966 locale 2022-02-24 13:51:12 +08:00
Shengliang Guan
2331525a32 timezone 2022-02-24 12:19:51 +08:00
Shengliang Guan
4f353da40c global config 2022-02-23 20:35:09 +08:00
Shengliang Guan
d6359f3ab1 refact tier and disk in tfs module 2022-01-17 23:20:11 -08:00
Haojun Liao
9328785043 [td-11818] refactor. 2022-01-04 16:21:32 +08:00
Haojun Liao
d862dcae83 [td-11818] refactor, fix bug in repeat create table, add request id for each query. 2022-01-04 12:58:39 +08:00
Haojun Liao
48507aecc0 [td-11818] support show databases; 2021-12-17 11:22:31 +08:00
Shengliang Guan
cebbc0719b TD-10431 mnode cluster 2021-12-02 11:22:03 +08:00
Shengliang Guan
1f3b7197b1 remove some system include files 2021-10-04 21:41:11 +08:00