Commit graph

161 commits

Author SHA1 Message Date
Kaili Xu
fde63d139e
feat(mac): sod mandatory and mac[manual-only] (#35121) 2026-04-22 20:26:42 +08:00
Alex Duan
b64bdd2f26
fix: windows pList not locked and add more info to minidump file (#35080) 2026-04-15 09:10:39 +08:00
Yihao Deng
9d746e0730
fix compile error (#34803) 2026-03-17 13:49:08 +08:00
Hongze Cheng
3401aa8f98
feat: add data force repair mode (#34753) 2026-03-16 10:21:17 +08:00
Zhixiao Bao
5eafbe2b60
feat: support encrypt bse , mnode , stream checkpoint. (#34197) 2026-01-20 10:29:21 +08:00
Zhixiao Bao
216c8d4afd
feat: support encryption of configuration files, data files and metadata files (#33801) 2025-12-26 17:58:46 +08:00
dongming chen
b804d817b9
feat(TS-7270): internal dep (#33873) 2025-12-10 18:56:48 +08:00
dongming chen
643dfcb4fc
feat(TS-7270): encrypt algr (#33783) 2025-12-05 13:26:28 +08:00
Bomin Zhang
9f091b38e9
fix ci return value check issue (#33489) 2025-11-06 18:51:55 +08:00
Simon Guan
58bdc656c8 Merge branch '3.3.6' into merge/3.3.6tomain 2025-11-05 14:35:39 +08:00
dongming chen
2e1be8f777
enh(TD-38474): modify sdb data (#33457) 2025-11-04 09:26:24 +08:00
Bomin Zhang
876979b5f5
feat[ts-6107]: shared storage (#31552)
* add API to use s3 as shared storage

* support using local file system as shared storage

* upload file to shared storage

* support read, compact and drop

* finish basic mnode & vnode msg processing

* follower sync migration state

* implement mnode transaction, and improve log

* send migration progress msg to dnode to avoid deadlock

* implement following migration

* remove mcount

* avoid redo migration on startup

* avoid follower deadlock when leader is down

* trigger migrate by timer,  avoid compact after migration

* comment out the usage of 'tcs' functions in stream

* change config item prefix from s3 to ss

* change db option prefix from s3 to ss

* rename s3 data struct, function, file to ss

* rename s3 macro to ss

* update s3 sql to ss

* rename remaining s3 items to ss

* check ss configruation, improve s3 retry

* grant object storage -> shared storage,  check ssEnabled

* fix memory leaks

* update build options

* omit sensitive information when dump config

* fix backward compatibility issue

* fix issues found in ci-checks

* fix some failed test cases

* avoid follower timeout and improve log

* fix: follower timeout because migration status not updated

* refuse migration if there's an in progress one

* fix ss test case

* remove garbage files and other minor improvement

* fix failed test cases

* update unit test

* fix failed test case

* fix failed test case

* update document

* update document and fix failed test cases

* fix minor issues in code, test and document

* check new commit after migration task is scheduled

* fix several issus

1. migrate information cannot be dropped sometimes because progress response was put into read queue.
2. memory leak in rare cases
3. data corruption in rare cases
4. failed test case

* add shared storage upgrade tool

* fix compile error
2025-07-14 16:33:53 +08:00
factosea
d67081c55f fix: taosd cmd args 2025-04-29 10:36:23 +08:00
danielclow
48598af3cc
add slash before period
add / before . so users can copy the url directly
2025-04-11 15:54:00 +08:00
chenhaoran
363b8e5d83 fix: update support link in error message for unsupported platform initialization 2025-04-07 17:10:17 +08:00
chenhaoran
37c9800482 fix: update support link in error message for unsupported platform initialization 2025-04-07 16:26:36 +08:00
Simon Guan
28c9473513
refactor: adjust qid for connector log (#30577) 2025-04-01 16:34:33 +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
Hongze Cheng
4c6098e290 feat: revert taosd -r option 2025-03-12 11:25:17 +08:00
Hongze Cheng
b01ed3bb80 more code 2025-02-24 15:32:46 +08:00
Alex Duan
c99e59fa94 fix:merge main branch 2025-02-14 18:16:05 +08:00
Shengliang Guan
8da407e67d fix: compilation failures after enabling the JEMALLOC_ENABLED option 2025-02-14 14:21:20 +08:00
Alex Duan
d3e1e53569 fix: adjust oem name only with cus_name.h define 2025-02-13 14:12:34 +08:00
factosea
5c60015cad fix: write crash log in new thread 2025-01-09 12:37:25 +08:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
yihaoDeng
abc4a3768f opt code 2024-12-09 14:48:21 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
kailixu
c8df537dbf log: enable log output only on linux 2024-12-03 14:52:35 +08:00
kailixu
4f33875f16 chore: disable log output on windows platform 2024-12-03 12:25:24 +08:00
kailixu
60450f3e24 test: test case for log output and rotate 2024-12-03 11:13:14 +08:00
kailixu
1e8a2ab839 test: add test case for log output 2024-12-03 07:03:53 +08:00
kailixu
57afdc6612 fix: compile problem of log rotate on windows 2024-12-01 14:51:12 +08:00
kailixu
b4e6e2dfa8 enh: support specify log output by -o option 2024-11-29 13:40:33 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
dapan1121
371094cc13 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-08 10:13:20 +08:00
dapan1121
e4c87a024b fix: memory free not found issues 2024-11-08 09:58:32 +08:00
dapan1121
dd2ab5b361 fix: ut issues 2024-11-07 16:46:18 +08:00
dapan1121
c5c85efeb5 enh: adjust mode and retire policy 2024-11-06 19:26:14 +08:00
Shengliang Guan
03814cfe5a refact: rename version to td_version 2024-11-04 15:16:15 +08:00
Minglei Jin
fe8b6c823e
Merge branch '3.0' into feat/TS-5215-2 2024-10-22 10:12:34 +08:00
Shengliang Guan
618cdb9a69 minor changes 2024-10-21 20:03:58 +08:00
Minglei Jin
4401b5e568 Merge branch '3.0' into feat/TS-5215-2 2024-10-21 10:48:37 +08:00
dapan1121
2f293b8e4a Merge remote-tracking branch 'origin/3.0' into fix/32m.1017 2024-10-17 11:35:05 +08:00
Hongze Cheng
b56701e05c fix: remove invalid error code check and add meta data recover and compact function 2024-10-16 16:31:30 +08:00
Hongze Cheng
46995ea6b9 fix: remove invalid error code check and add repair meta function 2024-10-16 14:36:44 +08:00
Minglei Jin
082710fc3e Merge branch '3.0' into feat/TS-5215-2 2024-10-16 10:02:12 +08:00
Minglei Jin
96cc55a164
Merge branch '3.0' into feat/TS-5215-2 2024-10-15 13:58:29 +08:00
dmchen
8cd92624ae fix/TD-32547-memleak 2024-10-14 09:10:06 +00:00