Commit graph

204 commits

Author SHA1 Message Date
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
Hongze Cheng
e2b48e4397 enh: add more code 2025-02-27 15:06:49 +08:00
Jinqing Kuang
eb5d463490 feat(stream)[TS-5469]. add support for window event notifications in stream processing
- Introduce new syntax to specify notification type and destination address
- Collect relevant event information during window computations
- Implement websocket-based notification delivery to the specified address
2025-01-21 17:39:46 +08:00
Hongze Cheng
288dc33f97 enh: seperate tsdb async tasks to different thread pools 2024-12-19 17:48:11 +08:00
kailixu
53645e86e1 enh: compile problem in release mode 2024-12-17 09:47:08 +00:00
Hongze Cheng
b6b9c65b99 more code 2024-12-13 20:59:39 +08:00
Hongze Cheng
921704e043 more code 2024-12-13 15:28:15 +08:00
Hongze Cheng
dea8d6fd62 fix some code 2024-12-13 15:03:01 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
dmchen
42e0d1fc81 fix/create-db-log-and-return-code 2024-12-09 10:42:24 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
dmchen
a7fdabb6d7 ehn/vnode-open-log 2024-11-20 17:27:35 +08:00
Minglei Jin
3905c94f03 vnode/tcs: use tcs instead of s3 interface 2024-10-10 16:34:37 +08:00
Hongze Cheng
0e1ef424fa remove more void 2024-09-26 11:27:01 +08:00
Hongze Cheng
53caf9f018 ehn: remove void 2024-09-26 10:43:16 +08:00
Hongze Cheng
e16af0e45c more 2024-09-24 18:04:58 +08:00
Hongze Cheng
3adcde6c28 fix CI problems 2024-09-24 13:06:24 +08:00
Hongze Cheng
645160d251 ehn: remove void 2024-09-24 10:06:30 +08:00
Hongze Cheng
f18c1d8710 enh: error code handle 2024-09-10 14:35:43 +08:00
Hongze Cheng
6bc44239c0 enh: remove void in tsdb 2024-09-10 10:05:38 +08:00
Hongze Cheng
982b6a9368
Merge pull request #27323 from taosdata/fix/TD-31520-3.0-use-global-counter
Fix/td 31520-3.0-use-global-counter
2024-08-22 13:31:41 +08:00
dmchen
bdabe66aab fix/TD-31520-use-global-counter 2024-08-20 03:48:42 +00:00
Hongze Cheng
820661f192 enh: remove some asserts 2024-08-20 10:43:28 +08:00
Hongze Cheng
9792683b7d handle some of return -1 2024-08-14 17:50:20 +08:00
Hongze Cheng
566bab1fb2 fix: disable process write request when vnode is in snapshot mode 2024-08-08 18:25:43 +08:00
Hongze Cheng
8ef31bc186 enh: refactor return code 2024-07-29 20:14:15 +08:00
Hongze Cheng
cc10d70e5e enh: refactor return code 2024-07-29 13:54:50 +08:00
WANG MINGMING
de7d7bcb4f
Merge branch '3.0' into opti/TD-31017-tq-server 2024-07-25 17:29:22 +08:00
wangmm0220
e0483d00fe fix:[TD-31017]process return value in vnode for tmq 2024-07-25 13:31:18 +08:00
Hongze Cheng
6340b50e75 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-30987-17 2024-07-25 13:16:03 +08:00
Hongze Cheng
c55db1d8f7 enh: refact return code 2024-07-25 11:45:15 +08:00
wangmm0220
3f2278ebcf fix:[TD-31017]process return value in vnode for tmq 2024-07-24 17:56:29 +08:00
kailixu
cd8a54cbf7 enh: return error code 2024-07-21 11:43:39 +08:00
Minglei Jin
568799a6a3 fix(wal/level): enable alter replica from fake walLevel 1 2024-06-12 15:16:58 +08:00
Hongze Cheng
f729072044 enh: reduce compact block write time 2024-05-23 17:57:07 +08:00
dmchen
62bc1074c0 fix monitor memory 2024-04-19 10:44:08 +00:00
Minglei Jin
a407f76165 Merge branch '3.0' into enh/TD-28945 2024-04-08 10:55:47 +08:00
Minglei Jin
d5e9169769 cos/multi-write: dnode part including mnode/vnode/tsdb 2024-04-08 10:31:49 +08:00
Shungang Li
3a656c3595 feat: support 2 replica with arbitrator 2024-03-19 09:30:35 +08:00
dmchen
34cda13494 enable switch 2024-02-27 10:57:32 +00:00
dmchen
cf753cf2e0 fix/TD-28860 2024-02-27 09:24:23 +00:00
dmchen
d9af07de6f new table structure 2024-01-24 09:44:44 +00:00
Hongze Cheng
65ccc4aa48 feat: backgroud task priority 2023-11-29 18:01:31 +08:00
wangmm0220
159873692c feat:checkpoint bakeup using rsync 2023-11-02 20:13:29 +08:00
Benguang Zhao
959f8105ee enh: require command to trigger repairing vnodes on replaced disks 2023-10-19 18:55:12 +08:00
Benguang Zhao
a515f8a94f feat: use vnode config info if existing during vnodeCreate 2023-10-19 11:18:57 +08:00
Benguang Zhao
a95f6e6862 feat: support restore dnode with vnodes of replaced disks for primary dirs 2023-10-19 11:18:57 +08:00
Benguang Zhao
094cf408df enh: prepare vnode dir again in vnodeOpen 2023-10-19 11:18:57 +08:00
Benguang Zhao
eb4e2aa58f feat: restore incomplete fsm state with maxVerValid via snapshot replication 2023-10-19 11:04:36 +08:00
Benguang Zhao
4d55488495 feat: use SSnapshotParam as a parameter to vnodeSnapReaderOpen 2023-10-19 10:37:34 +08:00