Commit Graph

295 Commits

Author SHA1 Message Date
WANG MINGMING 3d053e2c9b
feat(stream): optimize client logic of creating stream if with history (#30059)
* feat:[TS-5617]use last_row cache mode if creating stream in fill_history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* feat(stream): optimize client logic of creating stream if with history

* fix: heap use after free

* feat: add log

* fix: ci case error

* fix: compile error in windows

* fix: ci case error

* fix: heap user after free

* fix: memory leak

* fix: ci case error

* fix: ci case error

* fix: ci case error

---------

Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 13:55:52 +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 f6a472ae68 fix:decouple get mload 2025-02-27 19:05:06 +08:00
Shengliang Guan 40e246059e
Merge pull request #29178 from taosdata/fix/main/TD-33227
Fix(cfg):can not restart taosd  cause cfg trans exec failed.
2024-12-17 15:25:10 +08:00
xiao-77 474113da4e Move rebuild config sdb to after restored. 2024-12-17 11:22:38 +08:00
yihaoDeng 10f2094bd4 Merge remote-tracking branch 'origin/main' into enh/TD-32951 2024-12-17 08:33:43 +08:00
yihaoDeng d586026e25 telemetry refactor 2024-12-15 18:01:21 +08:00
yihaoDeng cd4f92ebf2 telemetry refactor 2024-12-14 21:27:37 +08:00
xiao-77 a79fbfd318 Merge branch '3.0' into enh/3.0/TS-5007 2024-12-12 09:49:17 +08:00
Shengliang Guan ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Zhixiao Bao 405d924a6f
Merge branch '3.0' into enh/3.0/TS-5007 2024-12-10 14:32:43 +08:00
yihaoDeng a5e3f54ca2 remove invalid ptr 2024-12-09 15:44:57 +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
wangmm0220 2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
xiao-77 cf8cea4c2d Merge branch '3.0' into enh/3.0/TS-5007 2024-11-25 14:47:38 +08:00
wangmm0220 69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
xiao-77 4b8feab900 fix mnd config persist. 2024-11-18 19:52:41 +08:00
dmchen 31f5055f21 fix/TS-5639-check-mnode-leader 2024-11-18 19:06:46 +08:00
xiao-77 9b9b3e8e96 Write configs to mnd sdb. 2024-11-18 12:05:08 +08:00
wangmm0220 7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +08:00
xiao-77 4a03483683 add prepare func. 2024-11-15 14:39:10 +08:00
xiao-77 cc3f4504bf Add mnd init cfg and mnd cfg trans. 2024-11-14 17:20:50 +08:00
Shengliang Guan 03814cfe5a refact: rename version to td_version 2024-11-04 15:16:15 +08:00
Shengliang Guan 4527e96d2b
Merge pull request #27907 from taosdata/enh/opt-transport
Enh: RPC transport optimization
2024-10-22 09:56:48 +08:00
Shengliang Guan 25d43c139c
Merge pull request #28363 from taosdata/feature/TS-5530
feat: data analysis
2024-10-21 19:51:24 +08:00
yihaoDeng a7035daf17 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-21 14:06:35 +08:00
xiao-77 ca7f490e6d fix invaild snapshotVer while repair wal meta file 2024-10-15 16:53:15 +08:00
yihaoDeng c4a8248f14 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-15 14:24:12 +08:00
Shengliang Guan 3003e7286e feat: data analysis 2024-10-15 10:00:38 +08:00
Shengliang Guan 9f05ca5ee8 revert: data analysis 2024-10-14 23:27:11 +08:00
yihaoDeng 69eaed772e Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-11 14:36:31 +08:00
yihaoDeng 486b559167 Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-10-10 18:13:10 +08:00
dmchen 1e87baf730 fix/TS-5507-config-generate-ley-and-add-more-log 2024-10-10 03:49:07 +00:00
Shengliang Guan ef39c9c41e
Merge pull request #28265 from taosdata/feat/anode1
feat: anode
2024-10-09 18:48:55 +08:00
Shengliang Guan a5b5bd61f6 feat: anode 2024-10-09 17:20:13 +08:00
lyh250-666 676f8759e2 enh:modify error code passing 2024-10-09 15:37:00 +08:00
yihaoDeng 84b1bc4f3a Merge remote-tracking branch 'origin/3.0' into enh/opt-transport 2024-09-24 17:45:11 +08:00
Hongze Cheng 8b723beeb4
Merge pull request #27999 from taosdata/enh/TD-31891-mnd-5
remove mndMain.c and mndProfile.c
2024-09-23 19:10:38 +08:00
xiao-77 55d4d812e1 fix ci error 2024-09-23 15:43:21 +08:00
yihaoDeng 66ec564700 fix invalid read 2024-09-23 11:33:20 +08:00
xiao-77 abc55063cd fix ci error 2024-09-23 11:33:06 +08:00
xiao-77 1e61539838 fix ci scan 2024-09-20 18:14:18 +08:00
yihaoDeng 6ba0c720da fix invalid read 2024-09-20 17:45:27 +08:00
xiao-77 1f91e78b53 remove mndMain.c and mndProfile.c 2024-09-20 15:38:02 +08:00
yihaoDeng cca3319292 Merge branch '3.0' into enh/opt-transport 2024-09-15 08:14:45 +08:00
lyh250-666 726b133721 modify error code passing 2024-09-12 07:46:30 +00:00
yihaoDeng 8823358ca7 opt parameter 2024-09-12 14:38:21 +08:00
dmchen 6640860749 fix/TD-31686-remove-void-arrayput-mnode 2024-08-28 07:54:24 +00:00
Hongze Cheng 6ddce80e91 enh: refactor the log 2024-08-23 11:30:57 +08:00