Commit graph

172 commits

Author SHA1 Message Date
facetosea
292c453737 fix: writev on windows 2025-07-08 14:08:41 +08:00
facetosea
eb18618d84 feat: data cache 2025-05-28 18:04:22 +08:00
Simon Guan
962aac540b
merge: from main to 3.0 branch (#30643) 2025-04-03 21:23:18 +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
05dedfaf1a fix: add file ut 2025-02-23 20:49:19 +08:00
Haolin Wang
977a452ea1
Revert "Revert "Fix infinite loop when insert from CSV file on Windows"" 2024-12-30 19:41:41 +08:00
Shengliang Guan
7c36eda698
Revert "Fix infinite loop when insert from CSV file on Windows" 2024-12-30 19:36:25 +08:00
Haolin Wang
922766c145 fix: infinite loop when reading CSV file EOF on Windows 2024-12-30 10:16:57 +08:00
xiao-77
b3f1a0ca59 Fix review errors. 2024-12-11 09:36:23 +08:00
xiao-77
b7b185fa5f Add check for disk id. 2024-12-05 16:21:05 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
kailixu
9de36b0a19 fix: stat atime/mtime and check return of log output 2024-11-30 22:53:45 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
facetosea
1d331d89a8 os file 2024-11-11 16:26:42 +08:00
yihaoDeng
a6436882a2 support disk usage 2024-11-06 15:25:50 +08:00
yihaoDeng
dc9027bb90 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 11:13:36 +08:00
dapan1121
0055d9544c fix: use safe function 2024-10-08 19:18:48 +08:00
yihaoDeng
ce052c9c8a Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-09-26 21:40:48 +08:00
xsren
ecf5f35cd0 fix: windows crash 2024-09-25 14:08:32 +08:00
yihaoDeng
cca3319292 Merge branch '3.0' into enh/opt-transport 2024-09-15 08:14:45 +08:00
Jinqing Kuang
0cb4c927ec enh(query)[TD-31903]. Handle return values for function calls 2024-09-13 11:45:59 +08:00
xsren
82d83b2e6b osSysinfo 2024-09-12 19:56:49 +08:00
xsren
90d9784984 osEnv 2024-09-12 16:12:31 +08:00
xsren
79de2c52f4 fix: return length 2024-09-10 19:36:20 +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
a12e96d2c3 fix: build on windows 2024-09-10 13:51:25 +08:00
xsren
2a3917029f osFile 2024-09-10 11:29:50 +08:00
yihaoDeng
a4827ad086 add network random error 2024-08-22 19:36:36 +08:00
xsren
378dadf7c4 fix: set auto del 2024-08-22 09:54:12 +08:00
yihaoDeng
ec3c967fe7 fix mem problem 2024-08-21 19:52:15 +08:00
yihaoDeng
4e2c93f262 add network random error 2024-08-21 15:54:46 +08:00
dapan1121
044f7d6658 fix: remove assert 2024-08-21 14:41:14 +08:00
kailixu
d0059d2d9d enh: support config randErrorScope dynamically 2024-08-15 13:25:04 +08:00
kailixu
ee05a536ef enh: support config randErrorDivisor dynamically 2024-08-13 14:19:28 +08:00
Cary Xu
abe579a503
Update osFile.c 2024-08-13 00:27:16 +08:00
kailixu
ee571773f8 fix: decrease the dimension when mocking i/o error 2024-08-12 18:45:50 +08:00
kailixu
eda233dd8d enh: simulate random i/o error 2024-08-12 13:56:14 +08:00
kailixu
89b4c7a3ed enh: simulate random i/o error 2024-08-12 13:37:11 +08:00
kailixu
c14363625d enh: simulate random i/o error 2024-08-12 13:31:46 +08:00
kailixu
563920eea8 enh: simulate random i/o error 2024-08-12 13:29:19 +08:00
kailixu
787715a519 enh: simulate random i/o error 2024-08-12 12:23:46 +08:00
kailixu
410008ac2f enh: simulate random i/o error 2024-08-12 12:21:07 +08:00
kailixu
7e1bbd7459 enh: simulate random i/o error 2024-08-12 12:13:26 +08:00
Hongze Cheng
3460a202fc
Merge pull request #26790 from taosdata/enh/TD-30988-3.0
fix: refactor return code
2024-07-26 20:33:50 +08:00
kailixu
9de0e4ee64 fix: refactor return code 2024-07-25 16:20:10 +08:00
dapan1121
3ac26cc32a fix: config read issue 2024-07-25 13:48:22 +08:00
dapan1121
4ef485dbf9 fix: shell read file issue 2024-07-25 08:55:01 +08:00
dapan1121
47c5958cb2 fix: pread return code issue 2024-07-24 17:25:31 +08:00