Commit graph

18026 commits

Author SHA1 Message Date
Simon Guan
d02196a231
refactor: adjust some logs (#30245)
* refactor: adjust wal log infos

* refactor: adjust some log's level

* refactor: adjust some log's level

* fix: add traceId for sync module

* refactor: adjust log level

* refactor: adjust log level

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* docs: update keywords

* fix: compile errors in windows

* docs: minor changes

* docs: minor changes

* refactor: minor changes

* docs: fminro changes

* docs: format

* refactr: remove uncessory logs

* docs: format doc
2025-03-18 17:55:36 +08:00
Simon Guan
ddc05f168e
refactor: adjust the log to track the data writing process on the server via QID (#30195)
* refactor: adjust wal log infos

* refactor: adjust some log's level

* refactor: adjust some log's level

* fix: add traceId for sync module

* refactor: adjust log level

* refactor: adjust log level

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* refactor: adjust log levels

* fix: compile errors in windows

* refactor: minor changes
2025-03-18 16:21:44 +08:00
WANG MINGMING
3bc6635de3
feat[TS-6115]: support deletion of topics with active consumers. (#30232)
* feat[TS-6115]: drop topic & consumer group in force

* feat[TS-6115]: drop topic & consumer group in force

* feat[TS-6115]: drop topic & consumer group in force
2025-03-18 14:11:00 +08:00
Simon Guan
7edd97a321 fix: compile errors 2025-03-17 22:57:06 +08:00
Simon Guan
87fbdd24ad fix: compile errors 2025-03-17 22:54:12 +08:00
Simon Guan
cf8d7cd0ac Merge branch 'main' into merge/mainto3.0 2025-03-17 21:42:42 +08:00
Yihao Deng
2151c5cae0
update telemInterval (#29703) 2025-03-17 17:42:24 +08:00
dongming chen
03fe3e5430
fix: [TD-34000] remove lock when send heartbeat reply main (#30123)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

* fix: TD-34000-remove-lock-when-send-heartbeat-reply

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 17:13:54 +08:00
Haojun Liao
dfe32225de chore: merge main. 2025-03-17 14:51:11 +08:00
Haojun Liao
ab92886820
fix(stream): reduce the consensus checkpoint id trans. (#30105)
* fix(stream): reduce the consensus checkpoint id trans.

* refactor(stream): add some logs.

* refactor(stream): set the max checkpoint exec time 30min.

* refactor(stream): add checkpoint-consensus trans conflict check.

* refactor(stream): remove unused local variables.

* fix(stream): fix syntax error.

* fix(stream): 1. fix free memory error 2. continue if put result into dst hashmap failed.

* fix issue

* fix issue

* fix(mnd): follower mnode not processes the timer event.

* fix(stream): print correct error msg.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): truncate long subtable name

* fix(stream): add buffer len.

* refactor(stream): update some logs.

* fix issue

* refactor(stream): update some logs.

* refactor(stream): update some logs.

* fix(stream): check return value.

* fix(stream): fix syntax error.

* fix(stream): check return value.

* fix(stream): update the timer check in mnode.

* fix(stream): add restart stage tracking.

* fix(stream): track the start task stage for meta.

* fix(stream): fix error in log.

* refactor(stream): adjust log info.

* fix mem issue

* fix(stream): check the number of required tasks for consensus checkpointId.

* fix(stream): lock the whole start procedure.

* fix(stream): add lock during start all tasks.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): update logs.

* fix(stream): fix dead-lock.

* fix(stream): fix syntax error.

* fix(stream): not drop the scan-history task.

* fix(stream): fix syntax error.

* fix(stream): wait for executor stop before restarting.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): add some logs.

* fix(stream): disable some logs.

* fix(stream): reset the start info if no task left.

---------

Co-authored-by: 54liuyao <54liuyao@163.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
2025-03-17 10:20:17 +08:00
Jinqing Kuang
ac23a4fc55
feat(stream): support stream processing for virtual tables (#30144)
* enh: add client processing

* enh: add mnode vtables processing

* enh: add mnode vtable processing

* enh: add normal child vtable support

* fix: compile issues

* fix: compile issues

* fix: create stream issues

* fix: multi stream scan issue

* fix: remove debug info

* fix: agg task and task level issues

* fix: correct task output type

* fix: split vtablescan from agg

* fix: memory leak issues

* fix: add limitations

* Update 09-error-code.md

* Update 09-error-code.md

* fix: remove usless case

* feat(stream): extract original table data in source scan task

Implemented functionality in the source task to extract data
corresponding to the virtual table from the original table using WAL.
The extracted data is then sent to the downstream merge task for further
processing.

* feat(stream): multi-way merge using loser tree in virtual merge task

Implemented multi-way merge in the merge task using a loser tree to
combine data from multiple original table into a single virtual table.
The merged virtual table data is then pushed downstream for further
processing.  Introduced memory limit handling during the merge process
with configurable behavior when the memory limit is reached.

* fix(test): remove useless cases

---------

Co-authored-by: dapan1121 <wpan@taosdata.com>
Co-authored-by: Pan Wei <72057773+dapan1121@users.noreply.github.com>
2025-03-15 17:06:48 +08:00
Jing Sima
410324746b
feat:[TS-4897] virtual table (#30098)
* feat: [TS-4897] Support create/drop/alter/show/describe vtable

* feat: [TS-4897] Support vtable's query

* feat: [TS-4897] Support create virtual supertable

* feat: [TS-4897] Support explain analyze / where / count(*) and only select ts of vtable.

* feat: [TS-4897] Add create test and fix bugs

* feat: [TS-4897] Add alter/drop test and fix bugs

* feat: [TS-4897] Add describe/show test and fix bugs

* feat: [TS-4897] Add auth test and fix bugs

* feat: [TS-4897] Fix meta/catalog/cache bugs

* feat: [TS-4897] Support select tag from virtual child table

* feat: [TS-4897] Add select test and fix plenty of bugs

* feat: [TS-4897] Add optimize rule for vtable scan / support create vtable cross database / remove enterprise constraint / fix bugs.

* feat: [TS-4897] Fix 'schema is old'

* feat: [TS-4897] Support virtual stable query

* feat: [TS-4897] Add tests and Fix bugs

* feat: [TS-4897] resolve conflict.
2025-03-15 14:10:46 +08:00
liuyao
2de6736160
feat(stream): add new trigger continuous_window_close (#30125)
* opt stream build twa result

* opt force window close memory

* feat(stream):optimize new interval and scan operator

* adj log

* opt code

* opt code

* fill history

* fix issue for fill history

* add ci

* feat(stream): add new stream nonblock interval operator

* adjust code

* use new scan operator

* use new scan operator

* add log

* fix issue

* recover stream scan next function

* fix issue

* fix issue

* fix issue

* ignore disorder data

* fix issue

* fix issue for interval sliding

* fix issue

* fix ci issue

* fix ci issue

* fix ci issue

* add semi && final nonblock interval operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* refactor(stream): track the msgId for each upstream tasks.

* fix(stream): fix race condition.

* fix(stream): update the task last msgId when putting into input queue succ.

* fix issue

* fix issue

* put recalculate data to rocksdb

* fix issue

* fix issue

* enh(query)[TD-33071]: add support for saving and restoring tsdbReader scan progress

- Implement functionality to save scan progress during tsdbReader operations
- Enable resuming scans from the last saved position

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* add rec interval check

* enh(stream):add recalculate tasks.

* enh(stream): support the re-calculate the tasks.

* fix issue && do refactor

* do refactor

* fix issue

* fix issue

* update backend opt

* add new interface

* add new session operator

* support blob

* add new session operator

* fix issue

* add rec state for rec task

* fix invalid read

* add new session window

* enh(stream): update the stream tasks backend.

* new session operator

* add pull data

* fix(stream): fix error in expand stream backend.

* fix issue

* fix issue

* fix issue

* merge code

* fix issue

* fix(stream): check for null ptr.

* fix(stream): add more check.

* fix issue

* fix issue

* fix issue

* add debug code

* fix issue

* fix issue

* fix issue

* set rec end flag

* fix(stream): opt re-calculate stream tasks.

* fix issue

* fix issue

* add new operator

* enh(stream): dispatch recalculate block to agg tasks.

* fix issue

* fix issue

* fix(stream): adjust filter.

* fix issue

* refactor

* refactor(stream): adjust the recalculate end block.

* fix issue

* fix(stream): set correct create trigger block.

* fix issue

* fix(stream): fix error in build recalculate end block.

* fix(stream): check null ptr.

* add stream client && fix issue

* fix mem leak

* fix(stream): free msg.

* add stream client

* fix(stream): fix error.

* add stream client && fix issue

* add stream client

* refactor(stream): set the recalculate task complete.

* add wend and group_id for session window dest table

* feat(stream): refactor and set the recalcul agg task complete.

* add cfg for adapter

* fix issue

* add state && event operator

* feat(stream): support fill-history task.

* add new fill operator

* fix(stream): set correct backend when updating fill-history task to recalculate task.

* add new fill operator

* fix(stream): s2025-03-06 11:10:31.272
et ops always open in scan tsdb

* fix(stream):set the correct taskType for sink task.

* new fill operator

* adj stream fill operator

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* fix issue

* adj test

* fix issue

* fix(stream): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(steam): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix(stream): fix issue

* fix: ut com error

* fix(stream): fix mem leak and adjust operator type check rule

* fix(stream): fix mem leak and adjust test case

* refactor code

* fix(stream): free items.

* fix(stream): free fix memory leak.

* fix(stream): fix syntax error.

* fix: ignore unexpect block

* fix: adjust op type

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Jinqing Kuang <kuangjinqingcn@gmail.com>
Co-authored-by: yihaoDeng <luomoxyz@126.com>
2025-03-14 20:14:01 +08:00
Yihao Deng
0806cca09e
fix(query): fix ins_usage error on multi storage (#30134)
* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* fix calc disk usage error

* add test case

* add test case

* add test case

* add test case

* add test case

* add test case

* refactor code

* refactor code

* refactor code

* refactor code

* refactor code

* refactor code
2025-03-14 18:11:39 +08:00
wangjiaming
f50fcb85b8
feat(decimal): support decimal data type (#30060)
* decimal: create table

* decimal: add test case decimal.py

* decimal: add decimal.c

* support input decimal

* decimal test

* refactor svalue

* fix test cases

* add decimal unit test

* add decimal test cmake

* support insert and query decimal type

* define wide integer, support decimal128

* support decimal128 divide

* set decimal type expr res types

* scalar decimal

* convert to decimal

* fix decimal64/128 from str and to str

* fix decimal from str and decimal to str

* decimal simple conversion

* unit test for decimal

* decimal conversion and unit tests

* decimal + - * /

* decimal scalar ops and comparision

* start to refactor GET_TYPED_DATA

* support decimal max func, cast func

* refactor GET_TYPED_DATA interface

* decimal scalar comparision

* start to implement sum for decimal

* support sum and avg for decimal type

* decimal tests

* add decimal test

* decimal add test cases

* decimal use int256/int128

* decimal testing

* fix decimal table meta and add tests for decimal col streams

* fix create stream and create tsma

* test insert decimal values

* decimal from str

* test decimal input

* test parse decimal from string

* add taos_fetch_field_e api

* decimal insert tests

* test decimal operators

* decimal operator test

* feat:support decimal in raw block

* decimal operator tests

* decimal test

* feat:support decimal in raw block

* feat:support decimal in raw block

* feat:add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* decimal test operators

* decimal operator test

* test decimal operators

* test decimal compare operators

* decimal unary operator test

* decimal col with decimal col oper test

* test decimal col filtering

* fix decimal float operator test

* decimal test where filtering

* fix decimal filtering

* fix decimal order by

* fix decimal op test

* test decimal agg funcs

* test decimal functions

* remove assert

* fix ci build for ret check

* fix decimal windows build

* fix ci ret check

* skip decimal ret check

* skip decimal ret check

* fix decimal tests

* fix decimal ci test

* decimal test

* fix(tmq): heap user after free

* fix(tmq): double free

* fix(tmq): double free

* fix decimal tests

* fix(decimal): decimal test ci build

* fix(decimal): windows build

* fix(decimal): decimal test build

* fix(decimal): fix decimal build and tests

* fix(decimal): fix decimal tests

* fix(decimal): fix taos_fetch_fields_e api

* fix(decimal): fix decimal taos_fetch_fields_e api

* fix(decimal): rebase 3.0

* fix(decimal): fix decimal functions

* fix(decimal): fix decimal test case memory leak

* fix(decimal): fix decimal tests

* fix(decimal): fix decimal test case

* fix(decimal): fix decimal tests

* feat(decimal): fix unit tests

* feat(decimal): fix deicmal unit test

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 18:08:07 +08:00
Zhixiao Bao
af7e34e189
feat(keep): support keep on super table level. (#30097)
* Feat: support use keep while create super table.

* Test(keep): add test for create super table with keep option.

* Feat(keep): Add tmsg for create keep.

* Feat(keep): support alter table option keep.

* Fix(keep): Add baisc test for alter table option.

* Fix(keep): memory leek.

* Feat(keep): add keep to metaEntry&metaCache and fix earliestTs with stn keep.

* Test(keep): add some cases for select with stb keep.

* Fix: fix ci core while alter stb.

* Feat(keep): delete expired data in super table level.

* Feat: remove get stb keep while query.

* Fix : build error.

* Revert "Fix : build error."

This reverts commit 0ed66e4e84.

* Revert "Feat(keep): delete expired data in super table level."

This reverts commit 36330f6b4c.

* Fix : build errors.

* Feat : support restart taosd.

* Fix : alter table comment problems.

* Test : add tests for super table keep.

* Fix: change sdb stb reserve size.

* Test: add more tests.

* Feat: Disable normal tables and sub tables from setting the keep parameter

* Fix: add more checks to avoid unknown address.

* Docs: Add docs for stable keep.

* Fix: some review changes.

* Fix: review errors.
2025-03-14 16:10:13 +08:00
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
kailixu
4791f4e9da chore: remove void to make CI pass 2025-03-12 17:16:20 +08:00
Hongze Cheng
4c6098e290 feat: revert taosd -r option 2025-03-12 11:25:17 +08:00
Hongze Cheng
28201e635e Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-03-12 09:55:19 +08:00
Haojun Liao
90aa27ee23 fix(stream): handle TDMT_STREAM_CHKPT_EXEC in stream queue. 2025-03-11 13:57:31 +08:00
Haojun Liao
d24bc139a5 chore: merge 3.0 2025-03-10 18:31:56 +08:00
Simon Guan
4a73af6e18
Merge pull request #30088 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-03-10 14:39:59 +08:00
Simon Guan
dde312787c
Merge pull request #30054 from taosdata/fix/TD-32218-3
fix(tdb): restrict tdb allocation from buffer pool
2025-03-10 13:50:36 +08:00
Simon Guan
abaf48ae15 Merge branch '3.0' into merge/mainto3.0 2025-03-10 11:07:48 +08:00
Simon Guan
1170955b95 Merge branch 'main' into merge/mainto3.0 2025-03-10 11:05:52 +08:00
Haojun Liao
2eeb13591c
Merge branch 'main' into fix/checkpoint 2025-03-10 10:15:23 +08:00
Simon Guan
f60219e2f0
Merge pull request #30035 from taosdata/enh/TD-33960-improve-sync-log
enh: [TD-33960] improve-sync-log
2025-03-10 10:03:16 +08:00
Hongze Cheng
eb5ff7317d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-03-07 16:47:48 +08:00
Hongze Cheng
0c48a3ab25 fix: open meta invalid state handle 2025-03-07 16:47:04 +08:00
Simon Guan
8fa8fc2a0c
Merge pull request #29934 from taosdata/enh/TS-5650/showLike
enh: show variables like
2025-03-07 16:37:19 +08:00
Minglei Jin
a94d6aef03 fix(tdb): restrict tdb allocation from buffer pool 2025-03-07 14:29:29 +08:00
xinsheng Ren
4edddd6038
Merge branch '3.0' into enh/TS-5650/showLike 2025-03-07 10:29:35 +08:00
Simon Guan
609ff730c4 refactor: jemalloc options 2025-03-07 10:03:43 +08:00
Simon Guan
6250adb3b1 refactor: rename udfd to taosudf 2025-03-06 22:20:52 +08:00
Haojun Liao
95e75196e2 chore: merge main. 2025-03-06 18:45:21 +08:00
Simon Guan
c00d772492
Merge pull request #29649 from taosdata/feat/TS-5927-long-password
feat:[TS-5927]long-password
2025-03-06 17:25:48 +08:00
Simon Guan
c642f5e6e0
Merge pull request #30033 from taosdata/fix/TS-6078-main
fix(query): change error log to warning when failed to acquire tsdb reader
2025-03-06 17:19:03 +08:00
Simon Guan
2c3099b840
Merge pull request #30010 from taosdata/fix/checkfh
fix(stream): not remove local checkpoint dir, log the checkpoint size.
2025-03-06 17:13:55 +08:00
dmchen
952053598c enh: TD-33960-improve-sync-log 2025-03-06 14:47:44 +08:00
Jinqing Kuang
7a7aacd6cc fix(query): change error log to warning when failed to acquire tsdb reader
Jira: https://jira.taosdata.com:18080/browse/TS-6066
2025-03-06 14:23:00 +08:00
Simon Guan
9023f2f505
Merge pull request #30022 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-03-05 19:44:38 +08:00
Simon Guan
f9681cce1d
Merge pull request #30000 from taosdata/enh/3.0/TD33165
enh(insert): use cache to improve auto create table performance.
2025-03-05 18:52:22 +08:00
Simon Guan
6fa7a7bb99
Merge pull request #29996 from taosdata/fix/droptask
feat(stream): add timeout parameter.
2025-03-05 18:49:23 +08:00
Simon Guan
34120a38c5 Merge branch '3.0' into merge/mainto3.0 2025-03-05 18:12:55 +08:00
Simon Guan
292b0cb317 Merge branch 'main' into merge/mainto3.0 2025-03-05 18:10:31 +08:00
Haojun Liao
24882459e3 chore: merge main 2025-03-05 13:40:44 +08:00
dongming chen
e5fb75797a
Merge branch '3.0' into feat/TS-5927-long-password 2025-03-05 12:15:12 +08:00
yihaoDeng
d1ded07b43 fix(index): fix return error 2025-03-05 11:07:59 +08:00
yihaoDeng
a4b738b3c6 enh(index): opt error code 2025-03-05 11:04:39 +08:00
Simon Guan
6656460320
Merge pull request #29988 from taosdata/fix/chkptq
fix(stream):check the maximum allowed forecast rows, add one test case
2025-03-05 09:29:01 +08:00
Haojun Liao
eb0553b737 refactor: do some internal refactor. 2025-03-04 18:45:29 +08:00
Haojun Liao
936f0af929 fix(analytics): check return value. 2025-03-04 17:04:07 +08:00
Haojun Liao
2eea385485 fix(analytics): check return value. 2025-03-04 15:29:54 +08:00
Zhixiao Bao
45d05761ae
Merge branch '3.0' into enh/3.0/TD33165 2025-03-04 14:46:51 +08:00
Haojun Liao
c186d31c7d fix(analytics): check return value. 2025-03-04 14:30:48 +08:00
Simon Guan
1a9f75e663 Merge branch '3.0' into fix/internal 2025-03-04 13:47:03 +08:00
Simon Guan
b74b038f4f Merge branch '3.0' into merge/mainto3.0 2025-03-04 11:32:29 +08:00
Simon Guan
16ada1f0d3 Merge branch 'main' into merge/mainto3.0 2025-03-04 11:24:13 +08:00
xiao-77
e2b18a7182 End(insert):Use cache to improve auto create table performance. 2025-03-04 10:04:58 +08:00
Haojun Liao
19f09d679d feat(stream): add timeout parameter. 2025-03-03 23:05:14 +08:00
Simon Guan
65d5fd0578
Merge pull request #29975 from taosdata/enh/stopall
refactor(stream): stop all tasks before drop vnodes.
2025-03-03 20:01:56 +08:00
Haojun Liao
f563a35b3f fix(stream):check the maximum allowed forecast rows, add one test case, and do some internal refactor. 2025-03-03 17:27:05 +08:00
Haojun Liao
f59d25f1a5 fix(stream): fix syntax error. 2025-03-03 16:27:54 +08:00
Haojun Liao
ac667164ed refactor: do some internal refactor. 2025-03-03 16:20:58 +08:00
Haojun Liao
dfd1beaead chore: merge main 2025-03-03 14:29:10 +08:00
Simon Guan
7326e3d8bc Merge branch '3.0' into merge/mainto3.0 2025-03-03 14:01:51 +08:00
Simon Guan
6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Simon Guan
f88c249fa4
Merge pull request #29946 from taosdata/fix/remove-sync-heartbeat-lock
fix: remove sync heartbeat lock
2025-03-03 13:52:16 +08:00
Simon Guan
eee9976a44
Merge pull request #29958 from taosdata/fix/TD-33872-improve-status-sync-heartbeat
fix: [td-33872] improve status sync heartbeat
2025-03-03 13:51:44 +08:00
Simon Guan
d7207861bb Merge remote-tracking branch 'origin/3.0' into fix/internal 2025-03-03 10:43:07 +08:00
factosea
6da2e6f547 fix: test case 2025-03-02 22:48:21 +08:00
factosea
e91014f807 feat: show variables like 2025-03-02 22:48:05 +08:00
Haojun Liao
06ba3027b1 fix(stream): check return value. 2025-03-02 12:06:19 +08:00
Haojun Liao
a71f414d97 refactor(stream): stop all tasks before drop vnodes. 2025-03-02 02:06:14 +08:00
Haojun Liao
d2d7279f0d fix(stream): fix memory leak if error occurs. 2025-03-01 19:22:26 +08:00
Haojun Liao
c9f9540530 fix(stream): fix memory leak. 2025-03-01 15:34:09 +08:00
Haojun Liao
f8cc9648f6 fix(stream): fix memory leak. 2025-03-01 15:33:31 +08:00
dmchen
b0f62f4f91 fix:statusseq 2025-03-01 12:51:09 +08:00
dmchen
3fb2476b81 fix:statusseq 2025-03-01 12:50:28 +08:00
dmchen
65773866ca fix:remove-send-status-lock 2025-03-01 01:02:30 +08:00
dmchen
ccd4b19c5f fix:remove-send-status-lock 2025-03-01 00:53:04 +08:00
dmchen
092e8e4488 fix:remove-send-status-lock 2025-03-01 00:52:11 +08:00
dmchen
6d2925b832 fix/remove-get-queue-size-when-print-heartbeat-log 2025-03-01 00:22:42 +08:00
dmchen
3359483836 fix:decouple get mload 2025-03-01 00:22:40 +08:00
dmchen
774c512148 fix:add-status-timestamp 2025-03-01 00:22:37 +08:00
dmchen
48787ba1aa fix/move-status-to-new-queue 2025-03-01 00:22:35 +08:00
Haojun Liao
c726420081 Merge branch 'main' into fix/droptask 2025-02-28 19:42:35 +08:00
Haojun Liao
8c3035cf24 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:47:43 +08:00
Haojun Liao
e1c4451f81 fix(stream): avoid lock in timer to avoid sync operation blocks. 2025-02-28 17:46:54 +08:00
Simon Guan
43ca6d5f9e refactor: adjust some logs 2025-02-28 16:49:46 +08:00
Haojun Liao
5f6ecab854 fix(stream): check the return values. 2025-02-28 15:05:00 +08:00
dmchen
45cdd871db fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 14:15:20 +08:00
Haojun Liao
6e1206bbc1 fix(stream): add some logs. 2025-02-28 13:55:37 +08:00
Haojun Liao
951b469b10 fix(stream): add some logs. 2025-02-28 13:55:24 +08:00
Haojun Liao
14ef25101d fix(stream): adjust log. 2025-02-28 13:55:09 +08:00
Haojun Liao
3e55f8edfe fix(stream): follower nodes not restart tasks. 2025-02-28 13:54:26 +08:00
Haojun Liao
ed03b3a22c fix(stream): try starting task even the inputQ is full. 2025-02-28 13:48:05 +08:00
Simon Guan
24fae6adbb
Merge pull request #29900 from taosdata/fix/checkfh
refactor(stream): scan wal is driven by time, instead of insert events.
2025-02-28 13:42:43 +08:00
Hongze Cheng
0174d7404d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-28 13:26:53 +08:00
dmchen
aa7cb880bb fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:53:18 +08:00
dmchen
1237e762c1 fix/remove-get-queue-size-when-print-heartbeat-log 2025-02-28 11:52:27 +08:00
Simon Guan
aa1bf309ea
Merge pull request #29959 from taosdata/fix/droptask
refactor(stream): create task epset update trans out of lock
2025-02-28 11:00:58 +08:00
Simon Guan
ed2d3b258d Merge branch '3.0' into merge/mainto3.0 2025-02-28 09:11:14 +08:00
Simon Guan
f5429637fa Merge branch 'main' into merge/mainto3.0 2025-02-28 09:11:10 +08:00
dmchen
2d4697d32f fix:decouple get mload 2025-02-27 19:17:54 +08:00
dmchen
4dd0622594 fix:decouple get mload 2025-02-27 19:07:33 +08:00
dmchen
f6a472ae68 fix:decouple get mload 2025-02-27 19:05:06 +08:00
Hongze Cheng
0d2ca243b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-27 17:18:33 +08:00
dmchen
d435bbae1d fix:add-status-timestamp 2025-02-27 15:54:07 +08:00
dmchen
55f58d743f fix/move-status-to-new-queue 2025-02-27 15:54:06 +08:00
Simon Guan
5d777f9bcf
Merge pull request #29654 from taosdata/feat/TS-5805-force-assign-leader
Feat/ts 5805 force assign leader
2025-02-27 15:42:27 +08:00
dmchen
7eeb800213 fix:add-status-timestamp 2025-02-27 15:29:52 +08:00
dmchen
1f6c4df422 fix/move-status-to-new-queue 2025-02-27 15:26:06 +08:00
dmchen
93992f3d6e fix:add-status-timestamp 2025-02-27 15:22:33 +08:00
Haojun Liao
45dfa0f12e refactor(stream): create task epset update trans out of lock, to avoid blocking mnode-read thread. 2025-02-27 15:18:01 +08:00
Hongze Cheng
e2b48e4397 enh: add more code 2025-02-27 15:06:49 +08:00
Haojun Liao
7b56df0adc refactor(stream): create task epset update trans out of lock, to avoid blocking mnode-read thread. 2025-02-27 14:51:26 +08:00
Hongze Cheng
b3ae5df8ac enh: more code 2025-02-27 14:06:30 +08:00
dmchen
5635b285cd feat/TS-5805-force-assign-leader-fix-check 2025-02-27 03:17:21 +00:00
dmchen
031f176aa1 fix/move-status-to-new-queue 2025-02-27 11:02:18 +08:00
Simon Guan
7f10288df1 Merge branch '3.0' into fix/internal 2025-02-27 10:04:34 +08:00
Simon Guan
76ad364b93 enh: adjust some logs 2025-02-27 09:55:11 +08:00
Simon Guan
b91dd10846 enh: add log level to each log entry 2025-02-27 09:55:11 +08:00
wangmm0220
ef13df2e3d feat:[TD-33798]modify metadata logic for tmq 2025-02-27 09:55:11 +08:00
wangmm0220
a823efb3c4 feat:[TD-33798]modify metadata logic for tmq 2025-02-27 09:55:11 +08:00
wangmm0220
ebc8a2e433 fix:[TD-337958]send batch metadata & remove data if subscribe only meta 2025-02-27 09:55:11 +08:00
Haojun Liao
899d2cef20 fix(stream): not discard stream msg 2025-02-27 00:39:30 +08:00
Haojun Liao
786ee101cd other: merge main. 2025-02-27 00:18:25 +08:00
Haojun Liao
bf1f162aa0 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:36 +08:00
Haojun Liao
012ee53d35 fix(stream): drop task in synch model in write thread. 2025-02-27 00:15:31 +08:00
Haojun Liao
45b0e47a19 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-27 00:15:03 +08:00
Haojun Liao
7319f544c2 refactor(stream): drop task in async ways 2025-02-27 00:14:34 +08:00
Haojun Liao
c14ba08d7c refactor(stream): drop task in async ways 2025-02-27 00:12:11 +08:00
Hongze Cheng
df96529e0d Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-26 15:09:54 +08:00
Simon Guan
ac056f153f
Merge pull request #29871 from taosdata/fix/TS-6028-check-column-name
fix:[TS-6028]check-column-name
2025-02-26 14:00:45 +08:00
dongming chen
0ce087f2b3
Merge branch '3.0' into feat/TS-5805-force-assign-leader 2025-02-26 13:57:36 +08:00
dmchen
ebd2e657c6 fix/TS-6028-check-column-name-fix-review 2025-02-26 01:30:33 +00:00
dmchen
26f3adcf6a fix/TS-6028-check-column-name-fix-review 2025-02-25 10:27:32 +00:00
Hongze Cheng
b26166b48d support meta_only option 2025-02-25 17:57:25 +08:00
Hongze Cheng
d48547ed64 more code 2025-02-25 16:48:43 +08:00
Shengliang Guan
e429264432
Merge pull request #29884 from taosdata/enh/killtrans
enh(stream): auto kill checkpoint trans that last long time
2025-02-25 11:29:49 +08:00
Hongze Cheng
f85ddb6633 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-25 09:47:38 +08:00
Shengliang Guan
8a324a45d5
Merge pull request #29885 from taosdata/feat/TD-33798
feat:[TD-33798]send batch metadata & remove data if subscribe only meta
2025-02-24 19:32:26 +08:00
Hongze Cheng
9a95abd26d more code 2025-02-24 16:32:09 +08:00
wangmm0220
e87541efaa feat:[TD-33798]modify metadata logic for tmq 2025-02-24 16:18:27 +08:00
Shengliang Guan
8fccf318ab
Merge pull request #29902 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-02-24 15:47:21 +08:00
Hongze Cheng
b01ed3bb80 more code 2025-02-24 15:32:46 +08:00
Hongze Cheng
b048c597dc more code 2025-02-24 14:41:56 +08:00
Shengliang Guan
3a1d06f4d7
Merge pull request #29354 from taosdata/enh/TS-5255/colsFunc2
enh: ts5255/cols func2
2025-02-24 14:19:37 +08:00
Haojun Liao
91271f3fa4 refactor: do some internal refactor. 2025-02-24 13:53:28 +08:00
Haojun Liao
4d21d5e055 fix(stream): fix memory leak. 2025-02-24 13:50:38 +08:00
Haojun Liao
c7d9a1cd73 fix(stream): fix memory leak. 2025-02-24 13:48:21 +08:00
Hongze Cheng
f8a0dc8fe0 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-24 09:49:31 +08:00
Haojun Liao
97071f1d29 other: add some logs. 2025-02-24 09:42:15 +08:00
Haojun Liao
514a63ab37 fix(stream): fix the error in check scan interval 2025-02-24 00:40:16 +08:00
Haojun Liao
00edb8e612 fix(stream): adjust init tmr position. 2025-02-23 16:27:18 +08:00
Haojun Liao
787590b6c9 fix(stream): adjust init tmr position. 2025-02-23 16:25:17 +08:00
Haojun Liao
b4de2d16b6 fix(stream): add some logs. 2025-02-23 16:18:49 +08:00
Haojun Liao
f4c3fdedbd fix(stream): add some logs. 2025-02-23 16:18:19 +08:00
Haojun Liao
4ff74ab2ea fix(stream): adjust log. 2025-02-23 15:37:59 +08:00
Haojun Liao
8c0ead7c61 refactor: add some comments. 2025-02-23 11:03:49 +08:00
Haojun Liao
2fdb31a41a fix(stream): adjust scan timer 2025-02-23 10:49:13 +08:00
Haojun Liao
f1c4d2734f fix(stream): follower nodes not restart tasks. 2025-02-23 10:43:56 +08:00
Haojun Liao
e378b5cb8a fix(stream): adjust scan timer 2025-02-23 03:42:44 +08:00
Haojun Liao
9018970135 refactor: do some internal refactor. 2025-02-23 01:39:00 +08:00
Haojun Liao
034c907ee1 refactor: do some internal refactor. 2025-02-23 01:38:05 +08:00
Shengliang Guan
3a739beaa5 Merge branch 'main' into merge/mainto3.0 2025-02-22 20:07:40 +08:00
Haojun Liao
a8d50f28a6 fix(stream): disable error injection. 2025-02-22 14:19:44 +08:00
Haojun Liao
56f1c80018 fix(stream): disable error injection. 2025-02-22 14:18:44 +08:00
Haojun Liao
4d62c60aaf fix(stream): fix syntax error. 2025-02-22 14:17:19 +08:00
Haojun Liao
6c92474afd fix(stream): fix syntax error. 2025-02-22 14:16:46 +08:00
Haojun Liao
a9b5d0fbf0 fix(stream): update function return value. 2025-02-22 14:13:42 +08:00
Haojun Liao
9bd8b532ad fix(stream): update function return value. 2025-02-22 14:12:38 +08:00
Haojun Liao
0ec8e1e202 refactor(stream): remove comments. 2025-02-22 12:38:19 +08:00
Haojun Liao
0f89421b62 refactor(stream): scan wal is driven by time, instead of insert events. 2025-02-22 12:38:03 +08:00
Haojun Liao
b5fdb44193 refactor(stream): remove comments. 2025-02-22 12:35:37 +08:00
Haojun Liao
09b6642e45 refactor(stream): scan wal is driven by time, instead of insert events. 2025-02-22 12:33:32 +08:00
Haojun Liao
ea549364d4 fix(stream): free array and check the return values. 2025-02-21 16:38:26 +08:00
Hongze Cheng
93e17112e1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5445-3.0 2025-02-21 15:22:22 +08:00
dmchen
6a81665ffa fix/TS-6028-check-column-name-add-case 2025-02-21 14:51:40 +08:00
wangmm0220
e594c2bbd5 feat:[TD-33798]modify metadata logic for tmq 2025-02-21 11:49:17 +08:00
Haojun Liao
2228a9fc33
Merge branch 'main' into fix/checkfh 2025-02-21 11:11:36 +08:00
dmchen
cdb11dd497 fix/TS-6028-column-name-fix-cases 2025-02-21 10:10:44 +08:00
Haojun Liao
ecc667c22b
Revert "refactor(stream): drop task in async ways" 2025-02-21 01:10:18 +08:00
wangmm0220
7b5edade95 fix:[TD-337958]send batch metadata & remove data if subscribe only meta 2025-02-20 19:50:37 +08:00
Haojun Liao
9d5735703b Merge branch 'fix/checkfh' into fix/checkpoint 2025-02-20 18:28:46 +08:00
Haojun Liao
bea8fe42db fix(stream): check status before scan history. 2025-02-20 18:28:19 +08:00
Haojun Liao
66697ee188 fix(stream): check status before scan history. 2025-02-20 18:22:45 +08:00
Shengliang Guan
2bee60a41a Merge branch 'main' into merge/mainto3.0 2025-02-20 18:12:02 +08:00
Hongze Cheng
b980bb35bc more code 2025-02-20 18:08:20 +08:00
dmchen
078c7bdc31 fix/TS-6028-check-column-name 2025-02-20 17:33:48 +08:00
Haojun Liao
22c05fde79 Merge branch 'enh/killtrans' into fix/checkpoint 2025-02-20 17:28:13 +08:00
Haojun Liao
6d5984421f refactor(stream): update the long trans threshold. 2025-02-20 17:27:41 +08:00
Haojun Liao
85c164c855 other: merge main. 2025-02-20 17:25:48 +08:00
Haojun Liao
0a672f1b96 refactor(stream): update logs. 2025-02-20 16:55:10 +08:00
Haojun Liao
6766e6db53 refactor(stream): add checkpoint queue to handle chkpt. 2025-02-20 16:13:33 +08:00
Haojun Liao
55f03f2187 fix(stream): try starting task even the inputQ is full. 2025-02-20 16:07:05 +08:00
Haojun Liao
99d6086c5a enh(stream): kill too long checkpoint trans. 2025-02-20 15:07:24 +08:00
Shengliang Guan
42bafc0d47
Merge pull request #29848 from taosdata/fix/ly_stream
fix(tsma):drop invalid state for tsma
2025-02-20 15:04:03 +08:00
Shengliang Guan
0a9f5086f0
Merge pull request #29775 from taosdata/fix/analysis
refactor(stream): drop task in async ways
2025-02-20 13:38:53 +08:00
54liuyao
870fe1c071 fix(tsma):drop invalid state for tsma 2025-02-20 11:52:04 +08:00
Shengliang Guan
86ea533b36 Merge branch '3.0' into merge/mainto3.03 2025-02-20 11:38:43 +08:00
Shengliang Guan
d0eb99809f Merge branch 'main' into merge/mainto3.03 2025-02-20 11:38:41 +08:00
Shengliang Guan
f16ae7abe1
Merge pull request #29809 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-02-20 10:27:20 +08:00
Haojun Liao
3048654484 refactor(stream): kill too long checkpoint trans. 2025-02-20 10:01:30 +08:00
Shengliang Guan
4e064b5aec
Merge pull request #29823 from taosdata/feat/TS-5928
fix:[TS-5928]add consumer parameters
2025-02-19 19:22:26 +08:00
Shengliang Guan
f2f8cb1648 Merge branch '3.0' into merge/mainto3.03 2025-02-19 17:00:41 +08:00
Shengliang Guan
d13f9448eb
Merge pull request #29730 from taosdata/feat/3.0/TS-5584
Feat(sync):Add restore progress to the "show vnodes" command, and add…
2025-02-19 16:30:27 +08:00
wangmm0220
fc3995a10c fix:[TS-5776]add test case 2025-02-19 11:12:13 +08:00
Haojun Liao
7d617a7cde
fix(stream): fix the invalid start task condition
1. Get the basic checkpointId, and wait for 10 s, it's allowed to go.  2. All tasks have the same checkpointId, go immedidately.
2025-02-19 00:39:01 +08:00
Shengliang Guan
6735e5e948
Merge pull request #29822 from taosdata/kjq/enh-code-clarity
enh(stream): add options to control message and frame size
2025-02-18 18:59:28 +08:00
Shengliang Guan
8bee0e7030
Merge pull request #29666 from taosdata/feat/TS-5776
fix:[TS-5776]add raw type from consumer
2025-02-18 17:53:52 +08:00
wangmm0220
bdfa67e4a9 fix:[TS-5928]add consumer parameters 2025-02-18 17:32:00 +08:00
Jinqing Kuang
a48095d467 enh(streams): add options to control message and frame size
Add options to allow users to specify message and frame size limits for
event notifications.
2025-02-18 17:20:38 +08:00
Shengliang Guan
b43aaa5f8a Merge branch '3.0' into merge/mainto3.02 2025-02-18 16:48:55 +08:00
Zhixiao Bao
05112546fd
Merge branch '3.0' into feat/3.0/TS-5584 2025-02-18 16:07:47 +08:00
wangmm0220
f824a75f4d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-18 15:28:10 +08:00
wangmm0220
07e4265dde fix:[TS-5776]error in create table time 2025-02-18 15:21:51 +08:00
Shengliang Guan
92eb6038e2
Merge pull request #29762 from taosdata/feat/TS-5469-3.0
feat(stream)[TS-5469]: add more stream event notifications
2025-02-18 15:14:58 +08:00
wangmm0220
9dcac195cb fix:[TS-5776]error in ci 2025-02-18 11:20:42 +08:00
Shengliang Guan
63fc5dea34 Merge branch '3.0' into merge/mainto3.0 2025-02-18 10:29:16 +08:00
xiao-77
d071f40328 Fix review errors. 2025-02-18 09:31:15 +08:00
wangmm0220
6f2ccfc3b2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-17 17:41:25 +08:00
wangmm0220
bf5dc63a30 fix:[TS-5776]add test case 2025-02-17 17:40:54 +08:00
Linhe Huo
a0090b5cdf
Merge pull request #29763 from taosdata/enh/TD-33678-3.0
enh: unified oem --version output 3.0
2025-02-17 10:41:33 +08:00
Linhe Huo
f21ffcb510
Merge pull request #29764 from taosdata/enh/TD-33678-MAIN
fix: oem taosdump taosBenchmark --version support -main
2025-02-17 10:41:06 +08:00
Shengliang Guan
6dedab4bba
Merge pull request #29784 from taosdata/fix/TS-6017-3.0m
fix: timeseries statistics and test case
2025-02-17 10:25:44 +08:00
wangmm0220
3da00b7c74 fix:[TS-5776]add raw type from consumer 2025-02-17 10:13:49 +08:00
Haojun Liao
c4cd6dd62d fix(stream): drop task in synch model in write thread. 2025-02-17 10:06:09 +08:00
Shengliang Guan
596e381e0e
Merge pull request #29779 from taosdata/fix/metanull
fix(stream): access value after null ptr check.
2025-02-17 09:36:09 +08:00
Jinqing Kuang
fc2d2672b9 feat(stream)[TS-5469]: add more stream event notifications
- Add event notifications for all window types
- Implement window invalidation notifications
- Add statistics for event notification delivery
2025-02-16 11:07:16 +08:00
wangmm0220
47a6836c27 fix:[TS-5776]add raw type from consumer 2025-02-16 00:15:01 +08:00
Haojun Liao
465e5eabd7 fix(stream): drop task in synch model in write thread. 2025-02-15 23:20:05 +08:00
Haojun Liao
0a101fc3c1 fix(stream): add missing release 2025-02-15 00:05:24 +08:00
Haojun Liao
57a2471cc6 fix(stream): add missing release 2025-02-15 00:03:33 +08:00
Haojun Liao
8848ae61a4 fix(stream): add missing release 2025-02-15 00:00:45 +08:00
Haojun Liao
25cdfa5ee9 refactor(stream): add long exec stream queue for history tasks in step1 and re-calculate task execution. 2025-02-14 18:34:20 +08:00
Alex Duan
c99e59fa94 fix:merge main branch 2025-02-14 18:16:05 +08:00
kailixu
5fa20d8cb3 Merge branch 'main' into fix/TS-6017-3.0m 2025-02-14 17:02:47 +08:00
wangmm0220
39f77e45fc fix:[TS-5776]add raw type from consumer 2025-02-14 16:54:53 +08:00
kailixu
6885b942b1 fix: timeseries statistics and test case 2025-02-14 16:53:32 +08:00
wangmm0220
f16f21897e fix:[TS-5776]add raw type from consumer 2025-02-14 16:12:00 +08:00
Shengliang Guan
6f001ece03
Merge pull request #29778 from taosdata/fix/internal
fix: compilation failures after enabling the JEMALLOC_ENABLED option
2025-02-14 15:42:24 +08:00
Haojun Liao
73ec4af4a7 Merge branch 'main' into fix/analysis 2025-02-14 15:37:11 +08:00
wangmm0220
d67de02a31 fix:[TS-5776]add raw type from consumer 2025-02-14 15:09:32 +08:00
Shengliang Guan
d6bd52ece7
Merge pull request #29750 from taosdata/enh/streamqueue
refactor(stream): add more operation handled in ctrl queue, and limit the stream input q size
2025-02-14 15:02:23 +08:00
Shengliang Guan
8da407e67d fix: compilation failures after enabling the JEMALLOC_ENABLED option 2025-02-14 14:21:20 +08:00
dmchen
cc3b883a43 feat/TS-5927-long-password-compatable 2025-02-14 06:04:22 +00:00
Haojun Liao
03041d0f61 other: merge main 2025-02-14 10:18:19 +08:00
dmchen
8f2370f3fa feat/TS-5927-long-password-fix-case 2025-02-14 01:12:09 +00:00
Haojun Liao
43d45e9f9a refactor(stream): drop task in async ways 2025-02-13 23:43:07 +08:00
Haojun Liao
fd96b096ea refactor(stream): drop task in async ways 2025-02-13 23:41:06 +08:00
kailixu
e3aaab405d fix: timeseries statistics and test case 2025-02-13 18:55:28 +08:00
dmchen
55e12e520b feat/TS-5927-long-password-encrypt-pass 2025-02-13 07:45:42 +00:00
Alex Duan
d3e1e53569 fix: adjust oem name only with cus_name.h define 2025-02-13 14:12:34 +08:00
kailixu
61a606a410 fix: timeseries calculation when create table 2025-02-13 14:03:54 +08:00
wangmm0220
daea0ec61a fix:[TS-5776]add raw type from consumer 2025-02-13 13:54:54 +08:00
Alex Duan
22ca66b25c fix: restore cur_name.h 2025-02-13 13:16:39 +08:00
Alex Duan
400254820c fix: remove cur_name.h content to tdef.h and del cur_name.h 2025-02-13 13:00:46 +08:00
Zhixiao Bao
e71c03a90f
Merge branch '3.0' into feat/3.0/TS-5584 2025-02-13 10:17:58 +08:00
dongming chen
2fd8792c7a
Merge branch '3.0' into feat/TS-5927-long-password 2025-02-12 15:26:41 +08:00
xiao-77
359399f1cd feat rename some names. 2025-02-12 14:49:59 +08:00
dmchen
b422e2b2f2 feat/TS-5805-force-assign-leader-msg-type 2025-02-12 06:29:24 +00:00
dongming chen
0350f46ba4
Merge pull request #29756 from taosdata/3.0
3.0
2025-02-12 14:00:02 +08:00
Shengliang Guan
67b678f9f0
Merge pull request #29746 from taosdata/merge/mainto3.02
merge: from main to 3.0 branch
2025-02-12 13:57:36 +08:00
Shengliang Guan
54c8a2be0a
Merge pull request #29310 from taosdata/fix/TS-5805-check-arb
fix/TS-5805-check-arb
2025-02-12 13:46:06 +08:00
dmchen
d128c3927d fix/TS-5805-check-arb-fix-comment 2025-02-12 02:04:13 +00:00
xiao-77
bdcec392b4 Merge remote-tracking branch 'origin/3.0' into feat/3.0/TS-5584 2025-02-12 09:56:23 +08:00
xiao-77
a1a3f83283 Add unapplied to show vnodes. 2025-02-12 09:55:36 +08:00
wangmm0220
878bac1556 fix:[TS-5776]avoid memcpy fo DataRspObj 2025-02-11 18:04:53 +08:00
xiao-77
b62d8d37b1 Feat(sync):Use remaining time to replace progress. 2025-02-11 15:51:05 +08:00
Shengliang Guan
cd52401303 Merge branch 'main' into merge/mainto3.02 2025-02-11 15:15:35 +08:00
Haojun Liao
81b718ec69 refactor(stream): handle retrieve chkpt trigger in ctrl queue. 2025-02-11 13:07:06 +08:00
dmchen
635b4a5cb1 fix/TS-5805-check-arb-trans-compatable 2025-02-11 02:56:12 +00:00
Haojun Liao
267f7d3b08 refactor(stream): limit the maximum number of consensus checkpoint trans. 2025-02-11 10:31:11 +08:00
Haojun Liao
d08a81cc98 fix(stream): fix bug in limiting concurrent checkpoints 2025-02-10 19:24:37 +08:00
Haojun Liao
6c7a8e9774 refactor(stream): allow ready stream to start checkpoint procedure. 2025-02-10 19:24:36 +08:00
Haojun Liao
9ad6fd170b fix(stream): update the process queue. 2025-02-10 19:24:36 +08:00
Shengliang Guan
dae17cd1b0
Merge pull request #29718 from taosdata/enh/streamqueue
refactor(stream): notify close stream in main thread
2025-02-10 18:44:27 +08:00
Hongze Cheng
3d081041ba fix: invalid pointer 2025-02-10 18:38:27 +08:00
xiao-77
fbe65197d6 Feat(sync):Add restore progress to the "show vnodes" command, and add the applied index to the "show vgroups" command. 2025-02-10 15:58:25 +08:00
Hongze Cheng
d537b2f8b6 adjust api code 2025-02-10 15:56:23 +08:00
dmchen
b1dc31a2bd fix/TS-5805-check-arb-add-column 2025-02-10 06:57:50 +00:00
Hongze Cheng
b2bfbebfb1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TS-5794-3.0 2025-02-10 14:29:13 +08:00
dmchen
946a0c1bb5 fix/TS-5805-check-arb-remve-useless-code 2025-02-10 02:58:42 +00:00
Shengliang Guan
f5c0d5ffaa
Merge pull request #29704 from taosdata/fix/main/TS-5974
Fix(cfg):fix some configs' errors and remove some configs from global config list.
2025-02-10 10:13:54 +08:00
dongming chen
240a8b5d5b
Merge pull request #29723 from taosdata/3.0
3.0
2025-02-10 09:56:12 +08:00
Haojun Liao
694b6385d5 refactor(stream): adjust reset and mark failed Id. 2025-02-09 21:40:33 +08:00
Haojun Liao
ec954bf408 refactor(stream): record the dropped stream. 2025-02-09 21:13:10 +08:00
Haojun Liao
cb7e2cb1e0 refactor(stream): record the elapsed time for close stream tasks. 2025-02-09 01:42:25 +08:00
Haojun Liao
a2dcba10a7 refactor(stream): 1) notify closing in main thread. 2) not saving the halt status. 2025-02-09 01:42:24 +08:00
xiao-77
adfab1f2b6 Fix some review errors. 2025-02-08 18:51:39 +08:00
xiao-77
4011d01148 Fix some review errors. 2025-02-08 17:42:48 +08:00
xiao-77
7707e5d8dd Fix some review errors. 2025-02-08 17:37:15 +08:00
Jinqing Kuang
d32cf8bcb8 fix(query)[TS-5984]. correct data block filtering logic in tsdbReader
When scanning a table with a primary key, tsdbReader could load
irrelevant data blocks outside the query time range, causing errors
when returning results.

This fix improves filtering logic to ensure only valid blocks are
read and adds test verification.
2025-02-08 17:32:25 +08:00
xiao-77
a2f11f21c9 Fix review problems. 2025-02-08 17:07:55 +08:00
Hongze Cheng
499cf0c294 more code 2025-02-08 14:34:22 +08:00
Hongze Cheng
f2dafd9362 more code 2025-02-08 11:24:45 +08:00
Shengliang Guan
1c8b1520d6 Merge branch 'main' into merge/mainto3.02 2025-02-08 11:12:14 +08:00
Hongze Cheng
708fa269b5 more code 2025-02-08 11:10:17 +08:00
xiao-77
72f228fa97 Fix build errors. 2025-02-07 18:52:54 +08:00
Hongze Cheng
cfb8cdb991 more code 2025-02-07 18:52:53 +08:00
xiao-77
2cbb7a7814 Fix sdb config compare errors. 2025-02-07 18:49:00 +08:00
wangmm0220
94b74cc20f Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-5776 2025-02-07 18:25:08 +08:00
Haojun Liao
68faa300af fix(stream): fix memory leak. 2025-02-07 11:11:22 +08:00
Shengliang Guan
a004d95996 Merge branch '3.0' into merge/mainto3.02 2025-02-06 13:46:36 +08:00
yihaoDeng
14bc7b03bc feat:add test logic 2025-02-05 18:20:02 +08:00
factosea
fbe345a82e fix: cols funcs, sub query 2025-02-05 15:26:03 +08:00
Haojun Liao
a5cdf3320c refactor(stream): handle stream check in ctrl queue. 2025-02-05 15:03:30 +08:00
Haojun Liao
0f04f47337 refactor(stream): dispatch req handled in ctrl queue. 2025-02-05 15:03:24 +08:00
Haojun Liao
fa2229c453 refactor(stream): dispatch rsp handled in ctrl queue. 2025-02-05 15:03:10 +08:00
Haojun Liao
5e130c4d53 enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-02-05 14:57:15 +08:00
Shengliang Guan
e1cd2735a6
Merge pull request #29639 from taosdata/feat/3.0/TS-5795
Enh(tsdb):print fid while data file corrupted.
2025-02-05 09:41:28 +08:00
Haojun Liao
79284e7414 Merge branch 'main' into fix/disp_lost 2025-01-24 17:15:22 +08:00
Haojun Liao
093233203d
Revert "refactor(stream): do some internal refactor ." 2025-01-24 17:11:15 +08:00
wangmm0220
b5edb79d48 fix:[TS-5776]add raw type from consumer 2025-01-24 16:55:53 +08:00
dmchen
2b4d4162a7 feat/TS-5805-force-set-assign 2025-01-24 08:50:04 +00:00
Shengliang Guan
3089e3d904
Merge pull request #29544 from taosdata/fix/tag
refactor(stream): do some internal refactor .
2025-01-24 16:27:22 +08:00
Linhe Huo
bc0570f9ad
Merge pull request #29632 from taosdata/enh/analysis
enh(analysis): enable community edition to support anodes.
2025-01-24 15:33:16 +08:00
wangmm0220
902d067776 fix:[TS-5776]add raw type from consumer 2025-01-24 14:56:00 +08:00
wangmm0220
7fad4bceb0 fix:[TS-5776]add raw type from consumer 2025-01-24 13:44:56 +08:00
Pan Wei
d6633a27ac
Merge pull request #29651 from taosdata/fix/addMetaDebugLog.m
fix: add table meta validation error and debug log
2025-01-24 09:54:36 +08:00
Haojun Liao
2f6977dfda Merge branch 'main' into enh/analysis 2025-01-23 18:55:32 +08:00
dmchen
d9401fd75d feat/TS-5805-add-sql-command 2025-01-23 09:37:07 +00:00
dmchen
3c5b8037e3 feat/TS-5927-long-password 2025-01-23 08:46:29 +00:00
dapan1121
bd450fe751 fix: add meta debug log 2025-01-23 16:12:54 +08:00
Haojun Liao
963e397984 fix(stream): update logs. 2025-01-23 14:45:47 +08:00
Hongze Cheng
3405a007bd enh: accelerate tsdb snapshot when data are all in stt file 2025-01-23 14:23:54 +08:00
Haojun Liao
6cc3b5da0e fix(stream): add upper bound for the time of waiting for creating table. 2025-01-23 13:37:41 +08:00
Haojun Liao
6c4dc665e0 fix(stream): wait for queue to be empty. 2025-01-23 13:37:06 +08:00
Haojun Liao
e5e57923cd fix(stream): add upper bound for the time of waiting for creating table. 2025-01-23 13:18:56 +08:00
Shengliang Guan
f6f08fa846
Merge pull request #29615 from taosdata/fix/disp_lost
fix(stream): check the checkpoint-report transId and checkpointId
2025-01-23 09:47:36 +08:00
Haojun Liao
55ca679571 fix(analysis): fix compiling error on windows. 2025-01-23 09:06:55 +08:00
Haojun Liao
989c20078a refactor: do some internal refactor. 2025-01-23 00:32:46 +08:00
Haojun Liao
883b1b79a2 enh(analysis): add the algorithm in telemetry report. 2025-01-23 00:29:18 +08:00
Shengliang Guan
3bbecbbba4
Merge pull request #29626 from taosdata/fix/TS-5932
fix: invalid subtable in tbname list
2025-01-22 17:24:03 +08:00
xiao-77
362aac2de1 Enh(tsdb):print fid while data file corrupted. 2025-01-22 16:46:10 +08:00
wangmm0220
7c5c9f6245 fix:[TS-5776]add raw type from consumer 2025-01-22 16:38:37 +08:00
Shengliang Guan
8c0600649f
Merge pull request #29623 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2025-01-22 16:36:17 +08:00
Haojun Liao
d6dc966ed1 fix(analysis): fix compiler error on windows. 2025-01-22 15:12:43 +08:00
Haojun Liao
9f2c448e36 fix(stream): fix error in check node update trans. 2025-01-22 14:05:40 +08:00
Haojun Liao
30358f1297 fix(stream): fix error in check node update trans. 2025-01-22 12:52:30 +08:00
Haojun Liao
84580286ce enh(analysis): enable community edition to support anodes. 2025-01-22 11:11:06 +08:00
Haojun Liao
2f065062c3 fix(stream): adjust position of checking trans. 2025-01-21 19:04:14 +08:00
Haojun Liao
88a94919c4 fix(stream): check for nodeupdate trans before create streams. 2025-01-21 18:41:52 +08:00
dapan1121
89cea7859a fix: invalid subtable in tbname in clause issue 2025-01-21 17:41:37 +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
Haojun Liao
0ea46585f4 fix(stream): update checkpoint-info after check the failed checkpointId, and update the consensus-checkpoint id in mnode. 2025-01-21 16:29:00 +08:00
Shengliang Guan
7e9453385c Merge branch 'main' into merge/mainto3.0 2025-01-21 16:06:24 +08:00
xiao-77
a4e88660db fix(rpc):use tsApplyMemoryAllowed to control memory alloc while apply msg. 2025-01-21 11:33:08 +08:00
Haojun Liao
df6ec3afc2 fix(stream): check null ptr. 2025-01-21 11:21:53 +08:00
Haojun Liao
08092aeb0c fix(stream): not clear task list if check failed, and add more checks. 2025-01-21 10:27:39 +08:00
Haojun Liao
7900c725d5 fix(stream): fix syntax error. 2025-01-21 09:15:27 +08:00
Haojun Liao
efd33aa4d7 fix(stream): check the checkpoint-report transId and checkpointId, and identify the expired checkpoint-report info. 2025-01-21 01:25:53 +08:00
Haojun Liao
84eaed0bbb fix(stream): fix invalid read. 2025-01-19 00:13:58 +08:00
Haojun Liao
b4a6523aa6 fix(stream): fix invalid read. 2025-01-18 01:35:24 +08:00
Haojun Liao
c93fe999ba refactor(stream): injection error. 2025-01-18 01:26:49 +08:00
Haojun Liao
6274eea7c4 fix(stream): adjust the free stream meta position and check the close flag of streamMeta before starting scan wal. 2025-01-17 19:15:08 +08:00
Haojun Liao
05a27eb7b0 fix(stream): fix memory leak. 2025-01-12 01:50:54 +08:00
Shengliang Guan
e48b48f93c Merge branch 'main' into merge/mainto3.0 2025-01-10 12:07:40 +08:00
Shengliang Guan
ad6e9c46d8
Merge pull request #29534 from taosdata/fix/TD-31605/crashLogMain
fix: ts31605, write crash log
2025-01-10 11:22:59 +08:00
factosea
bd9ec86061 crash log: safe code 2025-01-10 06:10:20 +08:00
Haojun Liao
3223cc0287 other: add todo 2025-01-09 18:37:05 +08:00
Hongze Cheng
74c7420c1d
Merge pull request #29527 from taosdata/fix/main/TD-33457
Test(cfg): add alter config to compatibility.py and fix some memory leak.
2025-01-09 17:22:07 +08:00
Shengliang Guan
4b770867d4 Merge branch '3.0' into merge/mainto3.0 2025-01-09 13:43:03 +08:00
Shengliang Guan
c62e189496 Merge branch 'main' into merge/mainto3.0 2025-01-09 13:38:37 +08:00
xiao-77
c3e025713b Rename some vars. 2025-01-09 13:38:20 +08:00
xiao-77
c1732ba41d Fix asan problems at ci test. 2025-01-09 13:36:23 +08:00
Shengliang Guan
081c902c64
Merge pull request #29520 from taosdata/fix/TD-32471-main
fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL
2025-01-09 13:33:48 +08:00
Shengliang Guan
18e562bdc1
Merge pull request #29519 from taosdata/fix/TD-32471
fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL
2025-01-09 13:33:27 +08:00
Hongze Cheng
dbfb910bff
Merge pull request #29522 from taosdata/fix/TS-5853-main
enh: add strict message check for submit message
2025-01-09 13:18:38 +08:00
factosea
5c60015cad fix: write crash log in new thread 2025-01-09 12:37:25 +08:00
Hongze Cheng
c2528b8535 more code 2025-01-09 11:11:19 +08:00
xiao-77
9eb1239783 Fix mem leak. 2025-01-09 10:50:23 +08:00
Haojun Liao
30039bb53b enh(stream): add ctrl queue to handle hb rsp, to avoid hb rsp not being confirmed if all stream threads are occupied. 2025-01-09 09:17:08 +08:00
Shengliang Guan
fe4555f060
Merge pull request #29517 from taosdata/fix/tag
fix(stream): check the stream task last ready timestamp before start the checkpoint procedure.
2025-01-08 18:29:55 +08:00
Hongze Cheng
a881103c86 more code 2025-01-08 18:13:10 +08:00
Shengliang Guan
37eb686d7c
Merge pull request #29502 from taosdata/fix/main/TD-33457
Fix(cfg): resolve dynamic configuration update failure after rolling …
2025-01-08 17:31:13 +08:00
Hongze Cheng
00b0a46060 enh: add strict message check for submit message 2025-01-08 17:29:32 +08:00
wangmm0220
ba9892bae0 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2025-01-08 16:50:38 +08:00
wangmm0220
3ac57587b2 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2025-01-08 15:54:34 +08:00
xiao-77
742e3251b7 Remove unused rpcRsp. 2025-01-08 15:51:58 +08:00
xiao-77
4a5d575894 Fix unhandle msg. 2025-01-08 15:45:58 +08:00
Haojun Liao
130ad28d2c fix(stream): check stream task status before start checkpoint. 2025-01-08 15:31:15 +08:00
xiao-77
430e62aab6 Fix double free. 2025-01-08 14:55:37 +08:00
dmchen
8c74242391 fix/TS-5651-refactor 2025-01-08 01:56:55 +00:00
xiao-77
b46bd98f6d Fix mem leak. 2025-01-08 09:29:46 +08:00
xiao-77
e597baa345 Fix mnode = 3 , trans stuck. 2025-01-07 22:01:33 +08:00
xiao-77
77359f26b3 Fix(cfg): resolve dynamic configuration update failure after rolling upgrade to 3.3.5.0 2025-01-07 15:26:01 +08:00
Hongze Cheng
bb01c4d763 fix: compile issue 2025-01-07 15:13:26 +08:00
Hongze Cheng
4587beb849 fix: meta entry snapshot problem for old version 2025-01-07 14:09:29 +08:00
Shengliang Guan
a5aa5678a9
Merge pull request #29495 from taosdata/merge/mainto3.0
merge: from main to 3.0
2025-01-07 13:36:07 +08:00
Shengliang Guan
899fc5db62 Merge branch 'main' into merge/mainto3.0 2025-01-07 09:20:47 +08:00
Shengliang Guan
ee89a84ff2
Merge pull request #29449 from taosdata/fix/TS-5651-skip-sync-heartbeat-main
fix:[TS-5651]skip-sync-heartbeat
2025-01-06 13:44:54 +08:00
Shengliang Guan
b81ade633f
Merge pull request #29478 from taosdata/fix/TD-33440-3.0m
fix: eliminate duplicated read locks in one thread
2025-01-06 13:34:19 +08:00
Shengliang Guan
810c8d368b
Merge pull request #29468 from taosdata/fix/TD-33435-3.0
fix: snapshot.py failed
2025-01-04 16:23:40 +08:00
kailixu
c69215576d fix: eliminate duplicated read locks in one thread 2025-01-03 19:00:06 +08:00
Shengliang Guan
187682790e
Merge pull request #29436 from taosdata/fix/TD-32471
fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL
2025-01-03 17:49:14 +08:00
Hongze Cheng
55a27061da fix: possible snapshot.py fail 2025-01-03 15:51:59 +08:00
Hongze Cheng
1dd1efd0b0 fix: snapshot.py failed 2025-01-03 15:02:33 +08:00
Shengliang Guan
1024bfdc43 Merge branch '3.0' into merge/mainto3.0 2025-01-02 17:37:00 +08:00
Shengliang Guan
0b62edf67a Merge branch 'main' into merge/mainto3.0 2025-01-02 17:36:21 +08:00
Shengliang Guan
0bbbab1bfa
Merge pull request #29447 from taosdata/fix/tag
fix(stream): fix dead-lock caused by invalid repeatly unlock.
2025-01-02 14:02:35 +08:00
dmchen
ad4bf2a136 fix/TS-5651-skip-sync-heartbeat 2025-01-02 02:17:29 +00:00
dmchen
bc6502d47b fix/TS-5651-skip-sync-heartbeat 2025-01-02 02:13:24 +00:00
Haojun Liao
055441d8fb fix(stream): fix dead-lock caused by invalid repeatly unlock. 2025-01-02 09:55:05 +08:00
WANG MINGMING
6edb45b42b
Merge branch '3.0' into fix/TD-32471 2024-12-31 16:55:45 +08:00
wangmm0220
226701ad14 fix:[TD-32471]set error code to terrno if tmq_consumer_poll return NULL 2024-12-31 16:48:23 +08:00
Shengliang Guan
fcc07c0bcd
Merge pull request #29427 from taosdata/fix/TD-33396
fix:[TD-33396]add log for tmq
2024-12-31 16:45:37 +08:00
wangmm0220
85aad90d3a fix:[TD-33396]add log for tmq 2024-12-31 11:22:56 +08:00
Shengliang Guan
fcca5e7c2e
Merge pull request #29381 from taosdata/fix/liaohj
test: add test cases and fix related bugs.
2024-12-31 11:10:34 +08:00
wangmm0220
b63787aa09 fix:[TD-33396]add log for tmq 2024-12-30 17:23:11 +08:00
Haojun Liao
f03e2305e0 fix(stream): add logs and set the reset-stream rsp. 2024-12-30 14:26:20 +08:00
Shengliang Guan
d22bcdddae Merge branch 'main' into merge/mainto3.0 2024-12-29 22:22:01 +08:00
Shengliang Guan
e53600fee2
Merge pull request #29380 from taosdata/fix/tag
fix(stream): check if the altered tag value table
2024-12-29 22:16:11 +08:00
Shengliang Guan
0312435deb
Merge pull request #29390 from taosdata/enh/TS-4994-more-test-case
Enh/ts 4994 more test case
2024-12-29 22:14:40 +08:00
Shengliang Guan
973166fdb9 Merge branch '3.0' into merge/mainto3.0 2024-12-29 19:57:16 +08:00
Shengliang Guan
9a1b80847a
Revert "Revert "Revert "Revert "Enh:[td 29974]improve trans"""" 2024-12-29 19:40:32 +08:00
Shengliang Guan
63e3e33f14
Revert "Revert "Revert "Enh:[td 29974]improve trans""" 2024-12-29 19:37:58 +08:00
kailixu
b0fa490dd6 test: add test case for auto compact 2024-12-29 15:13:38 +08:00
Haojun Liao
a73ad9642a fix(stream): check if the altered tag value table should be added into stream/tq scan table list. 2024-12-28 21:25:40 +08:00
Shengliang Guan
ec2c8c435e
Revert "Enh:[td 29974]improve trans" 2024-12-27 22:26:43 +08:00
Hongze Cheng
a72c46a7fc more cases 2024-12-27 17:44:05 +08:00
54liuyao
0bf9fb1e31 add reset stream 2024-12-27 15:11:19 +08:00
Shengliang Guan
912fcb13bf
Merge pull request #29351 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-27 09:06:35 +08:00
Hongze Cheng
ed9e3397be
Merge pull request #29347 from taosdata/enh/TS-4994-enh
enh: compact more enh
2024-12-27 08:49:24 +08:00
Shengliang Guan
2bff7a835c
Merge pull request #29165 from taosdata/enh/TD-29974-improve-trans
Enh:[td 29974]improve trans
2024-12-26 22:49:32 +08:00
Hongze Cheng
098ab9f4b4 enh: change some documents 2024-12-26 18:25:23 +08:00
xiao-77
8fd42c034a Fix(cfg):use write thread to update dnode config. 2024-12-26 14:34:38 +08:00
Shengliang Guan
bc17e0aa9a
Merge pull request #29328 from taosdata/fix/TS-5812-main
fix[TS-5812]:add params check
2024-12-26 11:35:06 +08:00
54liuyao
f6500b3551 ci(test):delete invalid code&& add ci 2024-12-26 11:16:02 +08:00
dmchen
1aec478c45 fix/TS-5805-check-arb 2024-12-26 03:06:33 +00:00
Shengliang Guan
173e6191f3
Merge pull request #29331 from taosdata/fix/fixMetaDeadlock
fix dead lock
2024-12-26 10:04:12 +08:00
yihaoDeng
ae168b2560 fix dead lock 2024-12-25 19:14:52 +08:00
wangmm0220
25dc5d7b5c fix[TS-5812]:add params check 2024-12-25 17:53:34 +08:00
wangmm0220
a95304a857 fix[TS-5812]:add params check 2024-12-25 11:59:48 +08:00
dmchen
1bc47199be fix/TS-5805-check-arb 2024-12-25 02:43:51 +00:00
dmchen
d3ab816838 fix/TS-5805-check-arb-updatetime 2024-12-25 02:10:21 +00:00
dmchen
0da606c7fb show code 2024-12-24 12:14:47 +00:00
Hongze Cheng
a89dd27ec1
Merge pull request #29309 from taosdata/enh/TD-33263-3.0-1
ehn: remove useless code
2024-12-24 20:03:08 +08:00
dongming chen
c6f3ac65dc
Merge branch '3.0' into enh/TD-29974-improve-trans 2024-12-24 19:15:27 +08:00
Hongze Cheng
91a9bc30e2
Merge pull request #29228 from taosdata/fix/TD-33284-compact-coverage
Fix/td 33284 compact coverage
2024-12-24 19:01:42 +08:00
dmchen
150dd5af3f fix/TS-5805-check-arb 2024-12-24 10:50:56 +00:00
Hongze Cheng
b32f05bb7c ehn: remove useless code 2024-12-24 18:28:37 +08:00
Shengliang Guan
3c807c59af
Merge pull request #29302 from taosdata/merge/mainto3.0
merge: from main to 3.0
2024-12-24 17:45:15 +08:00
Shengliang Guan
8e5d6d1acd
Merge pull request #29293 from taosdata/fix/code_error
fix:error rewrite if terrno is not 0
2024-12-24 13:35:00 +08:00
wangmm0220
20c1e28d0c fix:[TD-33272]add test case 2024-12-24 10:08:02 +08:00
wangmm0220
f9976c75ef fix:error rewrite if terrno is not 0 2024-12-24 09:54:05 +08:00
wangmm0220
e65a3802a2 fix:[TD-33272]add test case 2024-12-24 09:21:09 +08:00
Haolin Wang
493a23a480 fix: free unallocated memory in tsdbRowClose() 2024-12-24 08:38:35 +08:00
wangmm0220
4b62a9a587 fix:[TD-33272]add test case 2024-12-23 19:30:36 +08:00
wangmm0220
6244712887 fix:[TD-33272]add test case 2024-12-23 18:12:47 +08:00
wangmm0220
1d29d52662 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-33272 2024-12-23 16:17:30 +08:00
wangmm0220
a1e20680f7 fix:[TD-33272]add test case 2024-12-23 15:57:49 +08:00
dongming chen
48b24804d4
Merge pull request #29275 from taosdata/3.0
3.0
2024-12-23 13:53:16 +08:00
Jinqing Kuang
4f71d4a3f5 enh(query)[TD-33268]. add unit tests to increase test coverage 2024-12-22 14:23:05 +08:00
Shengliang Guan
d02e9b0dc7
Merge pull request #29239 from taosdata/feat/main/TS-5649
Feat(cfg):support dyn alter disable create file.
2024-12-21 09:51:42 +08:00
Shengliang Guan
92b09f9fc7 fix: check void 2024-12-20 23:50:38 +08:00
Shengliang Guan
d34c6cc1e5 Merge branch 'main' into merge/3.0tomain 2024-12-20 18:13:02 +08:00
Shengliang Guan
1a176e6e94
Merge pull request #29229 from taosdata/enh/TS-5749-3.0
enh: seperate tsdb async tasks to different thread pools
2024-12-20 17:57:23 +08:00
wangmm0220
d927e8c31a fix:[TD-33272]refactor code 2024-12-20 16:50:49 +08:00
Shengliang Guan
b6b14f7a1a
Merge pull request #29236 from taosdata/fix/contrib
enh: skip password check if create user with is_import options
2024-12-20 15:12:51 +08:00
dmchen
9715bb59fe fix/TD-33294-compact-coverage-fix-case 2024-12-20 11:33:26 +08:00
Shengliang Guan
2dda013646 enh: skil password check if create user with is_import 2024-12-20 10:13:53 +08:00
xiao-77
93500cf96e Feat support alter dataDir disable. 2024-12-20 09:16:54 +08:00
Hongze Cheng
8b77ac9a03 fix: windows compile issue 2024-12-20 08:41:41 +08:00
Hongze Cheng
288dc33f97 enh: seperate tsdb async tasks to different thread pools 2024-12-19 17:48:11 +08:00
Minglei Jin
e389583334 fix num ptr crash 2024-12-19 15:20:25 +08:00
Hongze Cheng
18fb01264d change some apis 2024-12-19 14:51:21 +08:00
xiao-77
4edc23057d Fix err update at free pMgmt. 2024-12-19 14:15:42 +08:00
xiao-77
2f2de2978d Fix core at dmConfigThreadFp. 2024-12-19 14:12:55 +08:00
Minglei Jin
8f5d5e7b59 fix(tsdb/cache del): remove commit w.r.t del 2024-12-19 13:47:21 +08:00
Shengliang Guan
ab58fdd6da
Merge pull request #29213 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-19 11:15:30 +08:00
Shengliang Guan
3040260bfe
Merge pull request #29181 from taosdata/fix/TD-33225-main
fix:[TD-33225]remove the limitation when creating index or modifing col…
2024-12-18 21:07:03 +08:00
wangmm0220
c7615868b0 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-32166 2024-12-18 17:37:02 +08:00
wangmm0220
c2baa7e177 fix:ci error 2024-12-18 17:36:06 +08:00
54liuyao
8e434ba0e4 Merge branch 'main' of https://github.com/taosdata/TDengine 2024-12-18 09:25:04 +08:00
dongming chen
69980ac5a8
Merge pull request #29194 from taosdata/3.0
3.0
2024-12-18 08:33:58 +08:00
Shengliang Guan
aa8fb1d9b1 Merge branch '3.0' into merge/3.0tomain 2024-12-17 23:59:11 +08:00
Shengliang Guan
988f30f255 Merge remote-tracking branch 'origin/main' into merge/mainto3.0 2024-12-17 23:49:35 +08:00
Hongze Cheng
3497aab1d6
Merge pull request #29185 from taosdata/enh/TD-32406-main
enh: memory safe function
2024-12-17 21:56:31 +08:00
Shengliang Guan
fe543fd58c Merge branch 'main' into merge/mainto3.0 2024-12-17 19:32:54 +08:00
dmchen
6f124e7b23 enh/TD-29974-improve-trans-fix-case 2024-12-17 10:36:12 +00:00
54liuyao
e6ac454303 Merge branch 'main' of https://github.com/taosdata/TDengine 2024-12-17 18:02:36 +08:00
54liuyao
63a6428e34 fix(stream):adjust status of ins_streams 2024-12-17 17:59:53 +08:00
kailixu
53645e86e1 enh: compile problem in release mode 2024-12-17 09:47:08 +00:00
kailixu
0f3617187f Merge branch 'main' into enh/TD-32406-main 2024-12-17 09:42:06 +00:00
Shengliang Guan
cdfd618157
Merge pull request #29107 from taosdata/fix/liaohj
fix(stream): record the failure of dispatch msg, and set the update nodeId
2024-12-17 17:41:45 +08:00
Shengliang Guan
36e2d7d741 Merge branch '3.0' into merge/mainto3.0 2024-12-17 15:42:50 +08:00
Shengliang Guan
c7a05b0798
Merge pull request #29169 from taosdata/fix/query.remain
fix: query remain issues
2024-12-17 15:27:19 +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
kailixu
9fd2d86ae3 enh: memory safe function 2024-12-17 07:11:16 +00:00
wangmm0220
5972054c2d fix:[TD-33225]remove the limition when creating index or modifing column compression if there is a topic/stream/tsma 2024-12-17 14:33:44 +08:00
dmchen
134d593458 enh/TD-29974-improve-trans-fix-case 2024-12-17 14:23:44 +08:00
dmchen
26507e6faa enh/TD-29974-improve-trans-fix-case 2024-12-17 11:32:38 +08:00
xiao-77
474113da4e Move rebuild config sdb to after restored. 2024-12-17 11:22:38 +08:00
dmchen
4b6eec21f4 enh/TD-29974-improve-trans-fix-case 2024-12-17 09:54:54 +08:00
xiao-77
6eb183a032 Fix(cfg):only write sdb on leader. 2024-12-17 09:50:18 +08:00
Haojun Liao
d2146a2efb other: merge main 2024-12-17 09:23:13 +08:00
yihaoDeng
10f2094bd4 Merge remote-tracking branch 'origin/main' into enh/TD-32951 2024-12-17 08:33:43 +08:00
yihaoDeng
638b0ab7f0 Merge remote-tracking branch 'origin/main' into enh/TD-32951 2024-12-16 21:41:53 +08:00
Shengliang Guan
4c1499ebeb
Merge pull request #29122 from taosdata/enh/3.0/TD-31709
Replace unsafe memory functions with safe versions in wal&sync&mnode.
2024-12-16 21:37:33 +08:00
Shengliang Guan
9becb9ca5a
Merge pull request #29041 from taosdata/enh/TD-29367-3.0
Enh/TD-29367-3.0
2024-12-16 21:33:20 +08:00
Shengliang Guan
7e2a6f1686
Merge pull request #29129 from taosdata/fix/TD-33191
fix(tsdb/cache): fix invalid param caused by column mismatching
2024-12-16 19:04:56 +08:00
dapan1121
7be31eea30 fix: query remain issues 2024-12-16 18:40:27 +08:00
Hongze Cheng
169bb122e6 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 17:35:44 +08:00
Hongze Cheng
fe84704bdb Merge branch 'enh/TD-29367-3.0-cache' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 17:35:35 +08:00
Hongze Cheng
dc883e95ce fix: ci problem 2024-12-16 17:35:04 +08:00
dmchen
ce86b1d687 change show transtion detial timestamp 2024-12-16 16:30:09 +08:00
Shengliang Guan
84b7e9b312
Merge pull request #28791 from taosdata/fix/TS-4937-2
enh(tsdb/cache): update lru when committing
2024-12-16 15:46:48 +08:00
xiao-77
8a2ae888cc fix ci errors. 2024-12-16 15:41:19 +08:00
xiao-77
9d733c03b4 Fix merge errors. 2024-12-16 14:13:23 +08:00
Haojun Liao
779c1bd8ad refactor(stream): inject the reject dispatch error in stream to test the effect of fix. 2024-12-16 13:53:13 +08:00
xiao-77
b4afa6ff90 Fix merge errors. 2024-12-16 13:44:58 +08:00
Hongze Cheng
1ca396f6d0
Merge pull request #29149 from taosdata/feat/TS-4994-3.0
fix: compile problem of community
2024-12-16 13:24:03 +08:00
Minglei Jin
7aacaf580e meta/tsdb cache: add/drop column with supertables 2024-12-16 11:27:27 +08:00
Shengliang Guan
3311e71cd9
Merge pull request #29152 from taosdata/main
merge: from main to 3.0 branch
2024-12-16 11:27:02 +08:00
Minglei Jin
5b6136ec82 fix(meta/tsdb cache): fix drop sub tables for super table 2024-12-16 11:00:51 +08:00
Hongze Cheng
a2506e4a90 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-16 11:00:10 +08:00
Hongze Cheng
a0cae0ddca more code 2024-12-16 10:59:55 +08:00
kailixu
2fa755d49c fix: compile problem of community 2024-12-16 10:49:58 +08:00
dongming chen
20cc54aaaa
Merge branch 'enh/TD-29974-improve-trans' into dmchen/trans-improve 2024-12-16 10:34:11 +08:00
xiao-77
c4ed102c11 Merge branch '3.0' into enh/3.0/TD-31709 2024-12-16 10:00:02 +08:00
Shengliang Guan
6b49eededd
Merge pull request #29105 from taosdata/fix/3_liaohj
enh: update the mnode epset in stream hb rsp.
2024-12-16 09:23:38 +08:00
Shengliang Guan
5461502ed1
Merge pull request #29106 from taosdata/fix/init_meta
refactor(stream): check mnode when issue the nodeEp update trans.
2024-12-16 09:23:18 +08:00
Minglei Jin
7e6ffb12a8 Merge branch '3.0' into fix/TS-4937-2 2024-12-16 08:43:37 +08:00
Shengliang Guan
90272cf0c7
Merge pull request #29133 from taosdata/enh/TD-32403-3.0
enh: [TD-32403] replace unsafe functions
2024-12-15 18:11:25 +08:00
yihaoDeng
d586026e25 telemetry refactor 2024-12-15 18:01:21 +08:00
Minglei Jin
d18caf6606
Merge branch '3.0' into fix/TS-4937-2 2024-12-15 13:23:17 +08:00
yihaoDeng
0922b28123 update test case 2024-12-15 12:16:24 +08:00
Shengliang Guan
e8fcf16b89
Merge pull request #29138 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-12-15 12:08:55 +08:00
Hongze Cheng
2b4046ecf8 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-15 11:28:37 +08:00
Hongze Cheng
72abbd0e5b Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-15 11:25:48 +08:00
Hongze Cheng
37c1be4818 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-14 23:51:25 +08:00
yihaoDeng
cd4f92ebf2 telemetry refactor 2024-12-14 21:27:37 +08:00
Hongze Cheng
5086bfae48 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-14 20:06:14 +08:00
Hongze Cheng
5cac78d10b fix: compile issue 2024-12-14 20:00:09 +08:00
Hongze Cheng
14f2db2bde Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-14 19:53:27 +08:00
Shengliang Guan
ea96f51ba2 Merge branch '3.0' into merge/mainto3.0 2024-12-14 18:24:39 +08:00
Shengliang Guan
9c15eb7b3b Merge branch 'main' into merge/mainto3.0 2024-12-14 18:20:51 +08:00
Hongze Cheng
389f545a53 more code 2024-12-14 18:06:50 +08:00
Hongze Cheng
161081a0a2 feat: add drop tag index of super table feature 2024-12-14 17:21:17 +08:00
Hongze Cheng
582a40874f feat: replace add index 2024-12-14 17:08:44 +08:00
Hongze Cheng
bdaa3228a2 fix: CI case 2024-12-14 13:12:40 +08:00
Hongze Cheng
b6b9c65b99 more code 2024-12-13 20:59:39 +08:00
Hongze Cheng
c2e3dd4b4e Merge branch 'feat/TS-4994-3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 18:12:58 +08:00
Hongze Cheng
7905c80fd4 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 18:12:53 +08:00
xiao-77
7b921b81d2 Fix ci. 2024-12-13 17:48:51 +08:00
Shengliang Guan
05e6d7f5bb
Merge pull request #29108 from taosdata/fix/TD-33181-main
fix(query)[TD-33181]. reset error code when retry in vnodeGetBufPoolToUse
2024-12-13 17:45:49 +08:00
Minglei Jin
7e7572cd8a not update auxiliaried ts to none 2024-12-13 17:44:26 +08:00
xiao-77
da8dd39bd8 Fix ci problems. 2024-12-13 17:21:30 +08:00
xiao-77
d191caca98 Fix merge errors. 2024-12-13 17:10:47 +08:00
Kaili Xu
60fdd0fe64
enh: calculation of compact time offset 2024-12-13 17:05:46 +08:00
Zhixiao Bao
7aa089e1f9
Merge branch '3.0' into enh/3.0/TD-31709 2024-12-13 17:02:50 +08:00
Hongze Cheng
b2181b4282 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-13 16:48:06 +08:00
Hongze Cheng
a6463884f0 more code 2024-12-13 16:47:05 +08:00
Hongze Cheng
921704e043 more code 2024-12-13 15:28:15 +08:00
xiao-77
c66a834d1e Replace unsafe memory functions with safe versions in wal&sync. 2024-12-13 15:19:29 +08:00
xiao-77
a6e1af6b42 Merge branch '3.0' into enh/3.0/TS-5007 2024-12-13 15:04:36 +08:00
Hongze Cheng
cc4a6608df Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-32403-3.0 2024-12-13 15:03:09 +08:00
Hongze Cheng
dea8d6fd62 fix some code 2024-12-13 15:03:01 +08:00
Shengliang Guan
b11638812b
Merge pull request #29127 from taosdata/fix/main/TD-33179
refact: merge unnecessary code.
2024-12-13 14:38:04 +08:00
Shengliang Guan
3f6ddbcf48
Merge pull request #29124 from taosdata/feat/TD-30268
feat: support query memory pool
2024-12-13 14:37:42 +08:00
Hongze Cheng
8bf5f3f62b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-13 13:54:45 +08:00
xiao-77
19ea042318 Fix some review errors. 2024-12-13 12:32:08 +08:00
Hongze Cheng
8525df81a8 fix: update table column compress 2024-12-13 12:27:40 +08:00
Hongze Cheng
95130d2cac feat: update table options 2024-12-13 12:20:08 +08:00
Hongze Cheng
13a4dcbc53 more code 2024-12-13 12:00:27 +08:00
Minglei Jin
9da0de4d5f fix(tsdb/cache): fix invalid param caused by column mismatching 2024-12-13 11:54:28 +08:00
Shengliang Guan
8136363fbe refact: merge unnecessary code. 2024-12-13 11:14:21 +08:00
Shengliang Guan
925a222366
Merge pull request #29099 from taosdata/fix/main/TD-33179
Enh(mnode):Add sdbCancelFetch and sdbRelease while exit iter.
2024-12-13 11:05:24 +08:00
Hongze Cheng
1247fb614c free resources 2024-12-13 10:49:25 +08:00
Hongze Cheng
69efdda495 fix: compile error 2024-12-13 08:48:30 +08:00
Haojun Liao
e9f398b3f8 fix(test): check null ptr. 2024-12-13 00:15:10 +08:00
Hongze Cheng
8c7b8a8afa feat: refact alter child table tag 2024-12-12 20:33:55 +08:00
xiao-77
f8a6489bb8 Fix ci problems. 2024-12-12 19:31:28 +08:00
Hongze Cheng
3aebca5404 feat: update table column name 2024-12-12 19:05:39 +08:00
Hongze Cheng
823f3b2137 fix: ci case 2024-12-12 18:51:10 +08:00
xiao-77
d6078fd0b7 Enh use tmsg to encode/decode global config. 2024-12-12 17:40:35 +08:00
Hongze Cheng
ff0389d8d9 drop table column 2024-12-12 17:19:06 +08:00
Jinqing Kuang
8605f1c32a fix(query)[TD-33181]. reset error code when retry in vnodeGetBufPoolToUse 2024-12-12 16:56:57 +08:00
wangmm0220
e598486b10 feat:[TD-32166] check input params for tmq 2024-12-12 16:44:14 +08:00
Hongze Cheng
9ce7d0e986 fix: ci cases 2024-12-12 16:38:55 +08:00
Pan Wei
d5aa88165d
Merge branch '3.0' into feat/TD-30268 2024-12-12 13:41:59 +08:00
xiao-77
cdb4bbc23b Fix macos ut failed. 2024-12-12 13:37:56 +08:00
dapan1121
ca15163215 Merge remote-tracking branch 'origin' into feat/TD-30268 2024-12-12 11:41:00 +08:00
Hongze Cheng
01ceb2e90b more code 2024-12-12 11:27:34 +08:00
Hongze Cheng
b1c480afd1 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 11:26:19 +08:00
xiao-77
e2e5f0de4a Add func rebuilt cfg in sdb while add new global cfg. 2024-12-12 11:17:21 +08:00
Kaili Xu
bad8d9dd2f
Merge branch '3.0' into enh/TD-32406-3.0 2024-12-12 10:32:31 +08:00
xiao-77
a79fbfd318 Merge branch '3.0' into enh/3.0/TS-5007 2024-12-12 09:49:17 +08:00
xiao-77
9f692705c7 Fix ci mem leak. 2024-12-12 09:42:56 +08:00
Hongze Cheng
2e4f435467 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-12 08:42:58 +08:00
Hongze Cheng
3ede729a7c feat: replace drop super table api 2024-12-12 08:42:48 +08:00
Hongze Cheng
2763c81f45 fix: memory problem 2024-12-11 21:15:58 +08:00
Shengliang Guan
ebcf538c05 Merge branch 'main' into merge/mainto3.0 2024-12-11 20:12:50 +08:00
Shengliang Guan
2c16747c40 Merge branch '3.0' into merge/mainto3.0 2024-12-11 19:55:04 +08:00
Shengliang Guan
a1d196688e
Merge pull request #29038 from taosdata/enh/useSafySysFunc
Replace unsafe memory functions with safe versions
2024-12-11 19:47:47 +08:00
Shengliang Guan
3fc511c128
Merge pull request #29079 from taosdata/fix/TD-32405
enh(meta): use memory safe functions
2024-12-11 19:29:00 +08:00
dapan1121
2bd493f77b fix: return code issues 2024-12-11 19:18:50 +08:00
Haojun Liao
fa591f4667 other: merge 3.0 2024-12-11 19:07:30 +08:00
Hongze Cheng
982c0665f5 more code 2024-12-11 18:47:47 +08:00
xiao-77
391efd6bb9 Fix ci errors. 2024-12-11 18:36:07 +08:00
Haojun Liao
cfcb85ef94 refactor(stream): update mnode epset in hb. 2024-12-11 17:25:01 +08:00
Minglei Jin
ab10a1815d fix iColHash null condition 2024-12-11 17:20:16 +08:00
Minglei Jin
f676926188 tests/script/api: last query with websocket 2024-12-11 17:18:58 +08:00
Shengliang Guan
448745754c
Merge pull request #29065 from taosdata/fix/create-db-log-and-return-code
fix/create-db-log-and-return-code
2024-12-11 17:18:42 +08:00
Hongze Cheng
4922cade44 feat: refact drop super table 2024-12-11 17:04:26 +08:00
kailixu
f48e0727e6 enh: use memory safe functions 2024-12-11 16:40:11 +08:00
xiao-77
f2e9e91487 Add sdbCancelFetch and sdbRelease while exit iter. 2024-12-11 16:22:29 +08:00
Hongze Cheng
e853de4d3f fix: typo 2024-12-11 16:06:56 +08:00
xiao-77
c50781d089 Send alter msg sync. 2024-12-11 15:46:44 +08:00
Hongze Cheng
fd858372f6 more code 2024-12-11 15:44:42 +08:00
xiao-77
2abb383ec0 Fix ci problems. 2024-12-11 15:11:08 +08:00
Minglei Jin
71d27a369b use check exit instead of goto 2024-12-11 14:36:35 +08:00
xiao-77
40478a9bfa Fix ci problems. 2024-12-11 14:00:38 +08:00
Shengliang Guan
5e59081640 Merge branch 'main' into merge/mainto3.0 2024-12-11 05:42:38 +00:00
Minglei Jin
acfd94c123 tsdb/cache: remove block cache of rocks 2024-12-11 11:39:59 +08:00
Minglei Jin
fd29d6ad44 Merge branch '3.0' into fix/TS-4937-2 2024-12-11 11:20:28 +08:00
xiao-77
99f4aadef1 Fix review errors. 2024-12-11 09:35:35 +08:00
Hongze Cheng
82188ded46 fix: ci case 2024-12-11 09:29:55 +08:00
Haojun Liao
d230082a08 refactor(stream): check mnode when issue the nodeEp update trans. 2024-12-10 22:52:20 +08:00
Hongze Cheng
02ceb83314 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 20:54:59 +08:00
xiao-77
28ea9b9f60 Fix review errors. 2024-12-10 20:13:53 +08:00
yihaoDeng
32c370f368 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-10 19:22:07 +08:00
Shengliang Guan
1553d507e5 enh: add password character rules 2024-12-10 11:08:58 +00:00
kailixu
eaf5978b2c Merge branch '3.0' into feat/TD-30268 2024-12-10 18:49:15 +08:00
xiao-77
ea767b28fe Fix merge errors. 2024-12-10 15:12:01 +08:00
wangmm0220
7f6e0c5980 feat:[TD-32166] fix conflicts from 3.0 2024-12-10 15:09:09 +08:00
wangmm0220
bea48dfe98 feat:[TD-32166] check input params for tmq 2024-12-10 14:45:45 +08:00
Zhixiao Bao
405d924a6f
Merge branch '3.0' into enh/3.0/TS-5007 2024-12-10 14:32:43 +08:00
xiao-77
db2a1a84d3 Fix build errors. 2024-12-10 14:29:12 +08:00
WANG MINGMING
4a3eda51e0
Merge branch '3.0' into feat/TD-32642 2024-12-10 14:11:47 +08:00
xiao-77
430cf9a806 Fix some review errors. 2024-12-10 14:07:31 +08:00
Minglei Jin
1c7ff36dd0 meta: use tstrncpy instead of strcpy 2024-12-10 13:46:00 +08:00
Minglei Jin
92f41ef5c5 enh(meta): use memory safe functions 2024-12-10 11:15:41 +08:00
xiao-77
1ced6069ee Fix some review problems. 2024-12-10 10:39:50 +08:00
Hongze Cheng
4ba185fbfe Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-10 08:41:26 +08:00
Hongze Cheng
71d4274b6b fix: memory leak 2024-12-10 08:41:16 +08:00
xiao-77
37d6af96b0 enh some codes. 2024-12-09 19:36:15 +08:00
Hongze Cheng
4458956f6a fix: check return code 2024-12-09 19:16:42 +08:00
xiao-77
23415cc6d7 Fix some review errors. 2024-12-09 19:07:27 +08:00
Shengliang Guan
b99f32b8f0 Merge branch '3.0' into merge/mainto3.0 2024-12-09 19:06:11 +08:00
Shengliang Guan
e99b888654 Merge branch 'main' into merge/mainto3.0 2024-12-09 19:06:06 +08:00
Hongze Cheng
57f16a6f24 more code 2024-12-09 18:28:29 +08:00
Shengliang Guan
1b7d5e7ce6
Merge pull request #29011 from taosdata/fix/exit-fail-retry-when-follower
fix/exit-fail-retry-when-follower
2024-12-09 17:56:21 +08:00
Shengliang Guan
83c0d38d5c
Merge pull request #29046 from taosdata/fix/skip-trim-during-restore
fix/skip-trim-during-restore
2024-12-09 17:54:59 +08:00
yihaoDeng
a5e3f54ca2 remove invalid ptr 2024-12-09 15:44:57 +08:00
dapan1121
20a8c92d3e Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-09 15:35:35 +08:00
Hongze Cheng
f549bbdeb2 fix: ci cases 2024-12-09 15:09:10 +08:00
yihaoDeng
abc4a3768f opt code 2024-12-09 14:48:21 +08:00
yihaoDeng
32b5ec1da7 opt code 2024-12-09 14:35:12 +08:00
yihaoDeng
b5642faef5 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-09 13:46:45 +08:00
Minglei Jin
f0c997cf80 remove block cache for rocksdb 2024-12-09 11:36:37 +08:00
Minglei Jin
f61dbfc459 Merge branch '3.0' into fix/TS-4937-2 2024-12-09 11:32:37 +08:00
dmchen
4114019580 fix/exit-fail-retry-when-follower 2024-12-09 10:50:36 +08:00
dmchen
a7a25b93fd fix/exit-fail-retry-when-follower 2024-12-09 10:50:25 +08:00
dmchen
42e0d1fc81 fix/create-db-log-and-return-code 2024-12-09 10:42:24 +08:00
Hongze Cheng
5c8ce60dd0 more code 2024-12-08 16:54:30 +08:00
WANG MINGMING
88f0a42cdc
Merge branch '3.0' into feat/TD-32642 2024-12-07 20:43:26 +08:00
Haojun Liao
06f91b64e6 fix(stream): fix syntax error. 2024-12-07 11:51:42 +08:00
yihaoDeng
b9d92bd7b7 use safe sys func 2024-12-06 21:44:23 +08:00
Haojun Liao
85c7d513c5 refactor(stream): remove unused variables. 2024-12-06 19:17:35 +08:00
Haojun Liao
1d700079d4 refactor: 1) add update task nodeep trans for every involved streams. 2) do some internal refactor for conflict check. 2024-12-06 18:56:49 +08:00
Hongze Cheng
9bfdbca110 fix: CI problem 2024-12-06 18:29:01 +08:00
xiao-77
d8c5c65f74 fix recv return code . 2024-12-06 18:17:16 +08:00
Hongze Cheng
a539d1a3ca Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-06 18:11:46 +08:00
dapan1121
d77147d296 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-12-06 17:43:19 +08:00
xiao-77
f79c2333b2 Fix mnode = 3 ,config lost. 2024-12-06 17:38:10 +08:00
Minglei Jin
b3f0b2aa35 fix schema sver updating 2024-12-06 17:27:53 +08:00
Hongze Cheng
76d36ab9fb more code 2024-12-06 16:20:53 +08:00
Minglei Jin
20e4e7cd71 fix skyline init 2024-12-06 15:09:45 +08:00
Hongze Cheng
4804ff63cc fix: more code 2024-12-06 14:46:38 +08:00
Minglei Jin
ec0d8409a3 fix ci issues 2024-12-06 14:25:11 +08:00
xiao-77
36c7d0f146 Fix ci cases. 2024-12-06 14:17:43 +08:00
Haojun Liao
05bfb61ec0 Merge branch 'main' into fix/liaohj 2024-12-06 14:11:54 +08:00
xiao-77
c653daf5dc Fix unit test. 2024-12-06 11:37:45 +08:00
xiao-77
053ad5557f Skip invalid sdb raw. 2024-12-06 11:15:28 +08:00
kailixu
f8343dcaac chore: merge 3.0 and update test case of show_create_db.py 2024-12-06 11:09:22 +08:00
yihaoDeng
66771b41a0 Merge remote-tracking branch 'origin/main' into enh/useSafySysFunc 2024-12-06 10:36:09 +08:00
Shengliang Guan
d774a69e4d
Merge pull request #28998 from taosdata/fix/main/TD-32416
replace unsafe funcs in parser/planner/nodes
2024-12-06 09:55:34 +08:00
Haojun Liao
43ad35f911 refactor: adjust the lock procedure for unregister stream tasks. 2024-12-06 09:20:39 +08:00
Haojun Liao
406e877700 fix(stream): send chkpt-source rsp to mnd even if it is failed. 2024-12-06 00:11:51 +08:00
wangmm0220
0165684131 feat:[TD-32642] merge from 3.0 2024-12-05 23:47:46 +08:00
dapan1121
aa7b0e1a61 fix: async launch trim 2024-12-05 18:41:38 +08:00
Minglei Jin
d88e8d297a release simple hash 2024-12-05 18:35:15 +08:00
kailixu
f57765564d feat: remove obsolete codes 2024-12-05 17:50:10 +08:00
kailixu
03e051ee63 feat: dispatch auto compact 2024-12-05 17:15:23 +08:00
Minglei Jin
2b062ed146 tsdb/cache: merge lru with mem 2024-12-05 17:13:59 +08:00
dmchen
302758db1b fix/skip-trim-during-restore 2024-12-05 17:08:18 +08:00
xiao-77
3a32980577 Fix some ci case errors. 2024-12-05 17:00:57 +08:00
Hongze Cheng
60ffaddc92 fix: CI issue 2024-12-05 16:57:25 +08:00
yihaoDeng
9e7da45d37 use safe sys func 2024-12-05 16:54:10 +08:00
yihaoDeng
c5c56606c4 use safe sys func 2024-12-05 16:35:45 +08:00
Hongze Cheng
a51be1cee3 fix: invalid logic 2024-12-05 14:50:00 +08:00
Hongze Cheng
1f22d43527 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-05 13:43:46 +08:00
Hongze Cheng
96b9e3d20e fix error 2024-12-05 13:41:54 +08:00
kailixu
a6e86619b0 feat: database auto compact 2024-12-05 13:06:53 +08:00
xiao-77
cf5960d847 Fix mem error at mndConfig.c. 2024-12-05 10:58:56 +08:00
kailixu
615f7f395f enh: default compact start and end time if compact interval is not zero 2024-12-05 10:52:11 +08:00
kailixu
a3dc026c0d feat: db auto compact 2024-12-05 10:33:51 +08:00
xiao-77
cb50b1e52c Fix some mem errors and add dmstop while verify failed. 2024-12-05 09:16:10 +08:00
Shengliang Guan
ea96288654
Merge pull request #29033 from taosdata/fix/calculate-vnode-memory-used
fix/calculate-vnode-memory-used
2024-12-04 21:03:26 +08:00
kailixu
f4fc423f34 feat: dispatch db auto compact 2024-12-04 20:09:04 +08:00
xiao-77
dbaa4349ea Merge branch '3.0' into enh/3.0/TS-5007 2024-12-04 19:34:14 +08:00
xiao-77
eb202e556a Fix sdb lost val while kill taosd. 2024-12-04 19:32:21 +08:00
Hongze Cheng
98c7111f13 fix: compile issue 2024-12-04 19:28:35 +08:00
Haojun Liao
6bbfc1aead fix(stream): do rsp for checkpoint reqs. 2024-12-04 19:19:57 +08:00
wangmm0220
f338357477 feat:[TD-32642] add test case for charset 2024-12-04 18:50:52 +08:00
kailixu
4707149369 feat: dispatch auto compact req 2024-12-04 17:50:17 +08:00
Hongze Cheng
23fb0fcc24 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-04 17:39:41 +08:00
Hongze Cheng
3e06712493 refact: create super table code 2024-12-04 17:39:28 +08:00
kailixu
fa3b212980 Merge branch 'feat/TS-4994-3.0' into feat/TS-4994-3.0-auto_compact 2024-12-04 15:47:33 +08:00
kailixu
fb029944a4 feat: auto compact options for db 2024-12-04 15:46:42 +08:00
Minglei Jin
65e6c04a2d tsdb/cache: iterator for mem row 2024-12-04 14:14:54 +08:00
Shengliang Guan
178a95542a
Merge pull request #29016 from taosdata/enh/TD-30933-3.0
enh(log): specify log output and process log rotate periodically
2024-12-04 14:00:53 +08:00
yihaoDeng
215208a985 Replace unsafe memory functions with safe versions 2024-12-04 13:35:11 +08:00
Hongze Cheng
b2eded387f Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-04 13:31:50 +08:00
kailixu
77418f154a feat: db options for auto compact 2024-12-04 10:49:33 +08:00
Minglei Jin
a0509ab93d tsdb/cache: framework for merging lru & mem 2024-12-04 09:57:15 +08:00
dmchen
495e224319 fix/calculate-vnode-memory-used 2024-12-04 09:49:52 +08:00
Haojun Liao
3847ed2dc9 refactor: 1) adjust wal scan interval to be 500ms, 2) record the checkpointVer to be timestamp for force_window_close, 3) do some other internal refactor. 2024-12-04 09:43:51 +08:00
Hongze Cheng
121e99dd77 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-04 09:05:46 +08:00
kailixu
92471c5834 feat: add time range list for auto compact 2024-12-03 17:51:41 +08:00
Hongze Cheng
8120765b24 Make a copy of old code 2024-12-03 17:00:37 +08:00
Hongze Cheng
cc1da2ebc7 Merge branch '3.0' of https://github.com/taosdata/TDengine into enh/TD-29367-3.0 2024-12-03 16:39:52 +08:00
Shengliang Guan
704a395134 Merge branch '3.0' into merge/mainto3.0 2024-12-03 15:52:10 +08:00
Shengliang Guan
84ea0f1ddd Merge branch 'main' into merge/mainto2.0 2024-12-03 15:50:18 +08:00
kailixu
583c4e8bb6 Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 15:28:19 +08:00
kailixu
3e816658af chore: resolve conflicts 2024-12-03 15:27:55 +08:00
Hongze Cheng
3d2a5be1b6 more code 2024-12-03 15:20:27 +08:00
kailixu
c8df537dbf log: enable log output only on linux 2024-12-03 14:52:35 +08:00
Hongze Cheng
25b9de5d51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-03 14:32:03 +08:00
kailixu
4f33875f16 chore: disable log output on windows platform 2024-12-03 12:25:24 +08:00
Shengliang Guan
0829d2219c
Merge pull request #28983 from taosdata/fix/liaohj
refactor: display the time window for force_window_close as the progress.
2024-12-03 11:20:29 +08:00
kailixu
60450f3e24 test: test case for log output and rotate 2024-12-03 11:13:14 +08:00
dmchen
f4aedcf6fd fix/exit-fail-retry-when-follower 2024-12-03 09:58:14 +08:00
dmchen
8b1125e554 fix/exit-fail-retry-when-follower 2024-12-03 09:53:46 +08:00
kailixu
c47cbc42cc Merge branch '3.0' into enh/TD-30933-3.0 2024-12-03 07:04:13 +08:00
kailixu
1e8a2ab839 test: add test case for log output 2024-12-03 07:03:53 +08:00
yihaoDeng
3d92cbb691 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-12-02 19:05:33 +08:00
Hongze Cheng
0e1d731954 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-12-02 17:29:37 +08:00
Shengliang Guan
fb8a10e717
Merge pull request #28958 from taosdata/fix/TD-33037
fix(meta/commit): make begin return code instead of 0
2024-12-02 16:43:02 +08:00
wangjiaming0909
9a01b42bc2 replace unsafe funcs 2024-12-02 16:20:40 +08:00
Shengliang Guan
b0691e997b
Merge pull request #28961 from taosdata/fix/refactor-vnode-management-open-vnode
fix/refactor-vnode-management-open-vnode
2024-12-02 14:22:53 +08:00
kailixu
57afdc6612 fix: compile problem of log rotate on windows 2024-12-01 14:51:12 +08:00
Haojun Liao
67d6458254 fix: check return value. 2024-11-30 00:34:13 +08:00
kailixu
a157caa38d enh: process log rotate every 30 minutes 2024-11-29 18:57:09 +08:00
wangmm0220
d52e9a1c5c feat:[TD-32642] add userApp & userIp for connection support 2024-11-29 17:59:53 +08:00
Minglei Jin
451093188d tsdb/cache: remove uid array when loading from imem 2024-11-29 15:47:49 +08:00
Minglei Jin
d20ef164b3 Merge branch '3.0' into fix/TS-4937-2 2024-11-29 15:15:09 +08:00
Hongze Cheng
9f6f82ff98 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-29 15:10:27 +08:00
yihaoDeng
f7cb4b9b09 update interface 2024-11-29 14:56:29 +08:00
Haojun Liao
dee5017c53 fix(stream): check return value. 2024-11-29 14:03:54 +08:00
yihaoDeng
e495d39220 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-29 13:50:09 +08:00
Haojun Liao
9a9a1828c1 refactor: display the time window for force_window_close. 2024-11-29 13:47:20 +08:00
kailixu
4b2aea8100 Merge branch '3.0' into enh/TD-30933-3.0 2024-11-29 13:41:25 +08:00
kailixu
b4e6e2dfa8 enh: support specify log output by -o option 2024-11-29 13:40:33 +08:00
xiao-77
bcabfa3382 Merge branch '3.0' into enh/3.0/TS-5007 2024-11-29 11:33:38 +08:00
Shengliang Guan
a3f077ce99 Merge branch '3.0' into merge/mainto3.0 2024-11-28 19:22:17 +08:00
Shengliang Guan
fb4486cedb Merge branch 'main' into merge/mainto3.0 2024-11-28 19:21:25 +08:00
xiao-77
e846c5e47b Fix ci errors. 2024-11-28 19:06:27 +08:00
xiao-77
8610a85878 Fix config thread leak. 2024-11-28 16:56:00 +08:00
Shengliang Guan
1c3af7500e
Merge pull request #28953 from taosdata/merge/mainto3.0
merge: from main to 3.0 branch
2024-11-28 16:39:06 +08:00
xiao-77
e67db0f301 Add null check. 2024-11-28 15:47:14 +08:00
yihaoDeng
95a1005e1f update test case and remove invalid code 2024-11-28 15:09:20 +08:00
dmchen
f4116f35f0 fix/refactor-vnode-management-open-vnode 2024-11-28 14:50:45 +08:00
Hongze Cheng
544447c724 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-28 14:50:10 +08:00
Shengliang Guan
ab604c18f9
Merge pull request #28925 from taosdata/feat/updateMultiTag
Feat/updateMultiTag
2024-11-28 14:24:23 +08:00
dapan1121
90b60d9d01 fix: scheduler timer stop issue 2024-11-28 13:56:27 +08:00
Shengliang Guan
fb51956f0a
Merge pull request #28580 from taosdata/fix/TS-5251-add-conflict-check
fix/TS-5251-add-conflict-check
2024-11-28 13:31:01 +08:00
Minglei Jin
cd22ddbdd2 fix(meta/commit): make begin return code instead of 0 2024-11-28 10:53:23 +08:00
Minglei Jin
c60b6d9912 tsdb/cache: close col iter early 2024-11-28 10:44:24 +08:00
xiao-77
5416e73203 Fix some ci errors. 2024-11-28 10:22:16 +08:00
xiao-77
377461152b Fix some ci case failed. 2024-11-28 09:52:55 +08:00
Shengliang Guan
26ba4b1f29 Merge branch '3.0' into merge/mainto3.0 2024-11-27 22:32:50 +08:00
Shengliang Guan
6db8a25c98 Merge branch 'main' into merge/mainto3.0 2024-11-27 22:31:17 +08:00
Hongze Cheng
df8a4ea6dc more code 2024-11-27 18:49:48 +08:00
Hongze Cheng
3ae5a72a4c more code 2024-11-27 17:53:53 +08:00
Shengliang Guan
642a5152f7
Merge pull request #28900 from taosdata/fix/liaohj
fix(stream): check whether dispatch trigger block is expired or not
2024-11-27 15:47:47 +08:00
Haojun Liao
5e49268cd8 Merge branch 'main' into fix/liaohj 2024-11-27 15:44:53 +08:00
xiao-77
4f64bae0de Fix google test case. 2024-11-27 14:59:10 +08:00
wangmm0220
0e2a16d70f feat:[TD-32642] add charset for connection support 2024-11-27 14:25:34 +08:00
xiao-77
08402e60be Fix some mem errors. 2024-11-27 13:54:03 +08:00
xiao-77
90af4457ef Add func sdb set&get float. 2024-11-27 10:50:04 +08:00
yihaoDeng
221eac50ca refactor code 2024-11-27 09:28:01 +08:00
yihaoDeng
a84a849ef7 add test case 2024-11-27 09:12:17 +08:00
yihaoDeng
2aac26e0a9 fix partial failure 2024-11-27 07:56:24 +08:00
yihaoDeng
e87570c036 fix invalid free 2024-11-26 20:50:37 +08:00
kailixu
67924ee55b feat: support auto compact 2024-11-26 19:46:48 +08:00
xiao-77
c6e39b8286 fix heap over flow at obj str. 2024-11-26 19:23:10 +08:00
xiao-77
223e0f55c5 Fix ci error. 2024-11-26 17:05:07 +08:00
xiao-77
d778ada8f9 Add show 2024-11-26 16:08:16 +08:00
Hongze Cheng
9ec73f6ca6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-26 13:23:54 +08:00
Shengliang Guan
135131fb3a
Merge pull request #28921 from taosdata/fix/TD-33008-main
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:41 +08:00
Shengliang Guan
7e8ef8ed98
Merge pull request #28920 from taosdata/fix/TD-33008-3.0
fix(query)[TD-33008]. fix error handling in tsdbCacheRead
2024-11-26 11:56:32 +08:00
Shengliang Guan
c8c208be2f
Merge pull request #28918 from taosdata/fix/TD-33006-3.0
fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
2024-11-26 11:55:28 +08:00
xiao-77
2b3dca319a Fix some ci error. 2024-11-26 10:07:00 +08:00
dmchen
6c820cc79c fix/TS-5251-add-conflict-check-add-case 2024-11-26 10:04:13 +08:00
wangmm0220
2ca9f9c8ce feat:[TD-32642] merge from 3.0 2024-11-26 00:13:43 +08:00
xiao-77
e4416d4935 Fix mem error. 2024-11-25 19:34:48 +08:00
Haojun Liao
99cab90827 refactor: send success rsp to vnode if hb already processed. 2024-11-25 18:46:02 +08:00
xiao-77
1451cfb076 Fix ci file check error. 2024-11-25 16:45:06 +08:00
Minglei Jin
12b0e70a22 tsdb/cache: use macro to check error code 2024-11-25 16:43:42 +08:00
Hongze Cheng
9bac4f4da2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 16:39:22 +08:00
xiao-77
5d2bc35569 Add more log info. 2024-11-25 16:23:34 +08:00
Shengliang Guan
ed3cc87575
Merge pull request #28851 from taosdata/ehn/vnode-open-log
ehn/vnode-open-log
2024-11-25 16:07:24 +08:00
Hongze Cheng
ef2e694a36 more code 2024-11-25 16:05:32 +08:00
Minglei Jin
65698470b7 cache/row iter close: move close to cleanup section 2024-11-25 16:02:58 +08:00
Minglei Jin
270e9f0bcf tsdb/cache: Not lazy init ctxArray 2024-11-25 15:55:40 +08:00
yihaoDeng
4d857b0149 fix mem leak 2024-11-25 15:22:53 +08:00
Jinqing Kuang
513ccaaad8 fix(query)[TD-33008]. fix error handling in tsdbCacheRead
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:11:53 +08:00
Jinqing Kuang
7bbda0c92a fix(query)[TD-33008]. fix error handling in tsdbCacheRead
Fix an issue that a freed null pointer was accessed during error
handling in tsdbCacheRead, which would cause a crash.
2024-11-25 15:09:11 +08:00
Jinqing Kuang
ab7badb0c0 fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
Initialize pointer member variables in tsdbCreateReader to prevent
random memory errors. It addresses a bug where uninitialized pointers
are freed during error cleanup.
2024-11-25 15:01:49 +08:00
Jinqing Kuang
fbc77d1e71 fix(query)[TD-33006]. resolve wild pointer release issue in tsdbCreateReader
Initialize pointer member variables in tsdbCreateReader to prevent
random memory errors. It addresses a bug where uninitialized pointers
are freed during error cleanup.
2024-11-25 14:58:42 +08:00
xiao-77
cf8cea4c2d Merge branch '3.0' into enh/3.0/TS-5007 2024-11-25 14:47:38 +08:00
Hongze Cheng
496d9bb405 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-25 13:39:47 +08:00
yihaoDeng
97e08abe8c support update multi tag 2024-11-25 10:55:28 +08:00
xiao-77
a63c132fba Add config item alter lazy mode. 2024-11-25 10:37:12 +08:00
xiao-77
8ffa8811f5 Rename persistLocalConfig to taosPersistLocalConfig. 2024-11-25 10:24:44 +08:00
yihaoDeng
3027e377fa support update multi tag 2024-11-23 22:18:30 +08:00
Haojun Liao
d397c9a9b7 fix(stream): remove failed task in hash table and array list. 2024-11-22 19:22:37 +08:00
wangmm0220
69da972796 feat:[TD-32642] add timezone logic 2024-11-22 18:31:51 +08:00
Shengliang Guan
f733583117 Merge branch 'main' into doc/internal 2024-11-22 16:30:48 +08:00
xiao-77
db67245af0 Add more dyn configs and fix vesion in mnd bug. 2024-11-22 15:57:18 +08:00
Shengliang Guan
2d13ce5105 refact: rename taos lib name 2024-11-22 15:33:55 +08:00
yihaoDeng
407eeb6620 Unable to 2024-11-22 14:43:11 +08:00
Shengliang Guan
a607951115 Merge branch 'main' into merge/mainto3.0 2024-11-22 13:39:44 +08:00
Shengliang Guan
36deebdde9
Merge pull request #28873 from taosdata/fix/liaohj
fix(analytics): do some internal refactor and fix the error in parse options.
2024-11-22 09:06:13 +08:00
xiao-77
1089f323e4 Add logic to set configs while init dnode. 2024-11-21 16:43:58 +08:00
Haojun Liao
e103d3963b fix(analytics): check return value. 2024-11-21 16:40:06 +08:00
Hongze Cheng
4d6faa8f13 enh: (TD-29367-2) add a new meta handle function called metaHandleEntry2 2024-11-21 16:09:55 +08:00
Hongze Cheng
8991e50eee enh: (TD-29367-1)Add delete entry encode and decode 2024-11-21 15:52:20 +08:00
xiao-77
f46037870d Add version control and persist. 2024-11-21 15:34:32 +08:00
Haojun Liao
af1c0c98bb fix(analytics): do some internal refactor and fix the error in parse the option string. 2024-11-21 15:14:37 +08:00
xiao-77
6b744211ff Add alter dyn code. 2024-11-21 14:30:28 +08:00
Shengliang Guan
ba15fb0644 Merge branch '3.0' into merge/mainto3.0 2024-11-21 11:04:36 +08:00
Shengliang Guan
cfa7d275f2 Merge branch 'main' into merge/mainto3.0 2024-11-21 11:00:00 +08:00
Shengliang Guan
e8d663809d
Merge pull request #28756 from taosdata/fix/main/tsbs_perf_optimization
fix tsbs perf issue
2024-11-21 10:40:47 +08:00
dapan1121
2738d5dd9c fix: code merge issue 2024-11-21 10:30:16 +08:00
dapan1121
164fa67db5 Merge remote-tracking branch 'origin/3.0' into feat/TD-30268 2024-11-21 10:23:57 +08:00
Minglei Jin
4113921448 Merge branch '3.0' into fix/TS-4937-2 2024-11-20 18:41:24 +08:00
Minglei Jin
7947b94b03 tsdb/commit: update lru from imem 2024-11-20 18:40:49 +08:00
dmchen
a7fdabb6d7 ehn/vnode-open-log 2024-11-20 17:27:35 +08:00
wangjiaming0909
9314dfb80c fix not setting step in tsdbread 2024-11-20 14:29:27 +08:00
Hongze Cheng
9e484be276 feat: support alter dnode max_compact_tasks 2024-11-20 14:17:50 +08:00
Hongze Cheng
0d3210a2c9 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-19 14:59:13 +08:00
Minglei Jin
ffab4e8886 tsdb/cache: get first row from imem 2024-11-19 14:36:16 +08:00
Shengliang Guan
82b20df9ab
Merge pull request #28804 from taosdata/fix/TD-32914-free-vnode-after-lock
fix/TD-32914-free-vnode-after-lock
2024-11-19 14:27:42 +08:00
Shengliang Guan
a4b6d9dee0
Merge pull request #28797 from taosdata/enh/TD-32907-3.0
enh: add bypassFlag to facilitate performance testing
2024-11-19 14:24:09 +08:00
Shengliang Guan
bed0792bdb
Merge pull request #28811 from taosdata/fix/TS-5639-check-mnode-leader
fix:[TS-5639]check-mnode-leader
2024-11-19 13:31:09 +08:00
Shengliang Guan
686c20cd9f
Merge pull request #28779 from taosdata/fix/3_liaohj
fix(stream): update the msg encoder.
2024-11-19 11:23:08 +08:00
Hongze Cheng
8b5664f185
Merge pull request #28787 from taosdata/fix/optReturnCode
opt return code
2024-11-19 10:33:09 +08:00
Shengliang Guan
e5fe064034
Merge pull request #28724 from taosdata/test/main/TD-32816
test:add stream and query test cases
2024-11-19 10:17:09 +08:00
dapan1121
a5bd91492d fix: memory leak and dead lock issues 2024-11-19 10:12:45 +08:00
Shengliang Guan
99bebacd8e
Merge pull request #28784 from taosdata/fix/TD-32861-main
fix(query)[TD-32861]. fix that WHERE condition not work in statements with INTERP function
2024-11-19 09:40:28 +08:00
xiao-77
4b8feab900 fix mnd config persist. 2024-11-18 19:52:41 +08:00
Shengliang Guan
6044bb06f1
Merge pull request #28793 from taosdata/fix/main/TD-32883
remove duplicate group by cols
2024-11-18 19:32:16 +08:00
dmchen
31f5055f21 fix/TS-5639-check-mnode-leader 2024-11-18 19:06:46 +08:00
yihaoDeng
45df3ee3b2 reset return code 2024-11-18 18:43:15 +08:00
kailixu
3ebb664953 enh: add bypassFlag to facilitate performance testing 2024-11-18 18:12:39 +08:00
Hongze Cheng
5a85688819 enh: add query filesets sql supoort 2024-11-18 16:57:15 +08:00
Jinqing Kuang
f5c66cec19 fix(query)[TD-32861]. fix that WHERE condition not work with INTERP function
Previously, a statement with INTERP would force underlying TABLE SCAN
operator to scan all data within the RANGE clause, causing the time
range constraint in the WHERE condition to be ignored. This fix ensures
that the TABLE SCAN respects both the RANGE clause and WHERE condition,
improving query accuracy and performance.
2024-11-18 16:08:27 +08:00
kailixu
3225c381e2 enh: add bypassFlag to facilitate performance testing 2024-11-18 15:41:08 +08:00
yihaoDeng
dbb5c9e864 change return code 2024-11-18 14:44:18 +08:00
Hongze Cheng
e97750608e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-18 14:33:43 +08:00
wangjiaming0909
6c18289de0 fix tsbs perf issue 2024-11-18 14:11:21 +08:00
dmchen
7348cbe5ef fix/TD-32914-free-vnode-after-lock 2024-11-18 12:31:38 +08:00
xiao-77
9b9b3e8e96 Write configs to mnd sdb. 2024-11-18 12:05:08 +08:00
Haojun Liao
20ad165ae3 Merge branch 'main' into fix/liaohj 2024-11-16 01:31:50 +08:00
wangmm0220
7aef49638e feat:[TD-32642] add timezone logic 2024-11-15 19:44:03 +08:00
kailixu
748c7f9cf2 enh: add bypassFlag to facilitate performance testing 2024-11-15 19:26:12 +08:00
wangjiaming0909
2be0ca15d8 fix group_partition test 2024-11-15 18:10:44 +08:00
Haojun Liao
9cc2aec9d6 fix(stream): set correct value and open inputQ for stream if reset checkpoint. 2024-11-15 17:12:01 +08:00
Minglei Jin
66535adb70 tsdb/cache: update lru when committing 2024-11-15 17:04:22 +08:00
Hongze Cheng
d343a00d21
Merge pull request #28786 from taosdata/enh/recovery-mode-change
enh: add dangle child table filter in recovery mode
2024-11-15 16:35:09 +08:00
yihaoDeng
2b2377869f Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-15 15:36:05 +08:00
xiao-77
4a03483683 add prepare func. 2024-11-15 14:39:10 +08:00
Hongze Cheng
0c45c80d71 enh: add dangle child table filter in recovery mode 2024-11-15 14:26:53 +08:00
Shengliang Guan
c3619f0f8b
Merge pull request #28739 from taosdata/fix/TD-32863-add-lock-for-allocate-primary-main
fix:[TD-32863]add-lock-for-allocate-primary
2024-11-15 13:51:52 +08:00
Haojun Liao
b74a1bc726 refactor: update logs, and set correct vgId. 2024-11-15 13:48:42 +08:00
happyguoxy
d16e8ee2a7 Merge branch 'main' of github.com:taosdata/TDengine into test/main/TD-32816 2024-11-15 10:33:45 +08:00
Haojun Liao
a79f63caeb Merge branch '3.0' into fix/3_liaohj 2024-11-15 10:28:13 +08:00
Shengliang Guan
527def388d
Merge pull request #28778 from taosdata/main
merge: from main to 3.0 branch
2024-11-15 10:14:22 +08:00
Haojun Liao
fd1996a1d1 fix(stream): fix error in build msg. 2024-11-15 01:27:31 +08:00
Haojun Liao
f65651f6ef fix(stream): update the msg encoder. 2024-11-15 00:19:35 +08:00
yihaoDeng
42065bf2e8 Merge remote-tracking branch 'origin/3.0' into enh/addDiskUsage 2024-11-14 17:44:29 +08:00
Haojun Liao
969db55e9f fix(stream): update the checkpoint report info in SCheckpointReport 2024-11-14 17:42:55 +08:00
Haojun Liao
b88a786fdf fix(stream): set correct error code and open inputq for upstream . 2024-11-14 17:42:49 +08:00
Haojun Liao
c9a120e1d0 Merge branch '3.0' into fix/3_liaohj 2024-11-14 17:42:04 +08:00
Haojun Liao
fba44da577 fix(test): fix error in unit test. 2024-11-14 17:40:47 +08:00
Haojun Liao
187997d5f0 fix(stream): record the failed checkpointId, after receive reset task info. 2024-11-14 17:40:37 +08:00
Haojun Liao
b2b5a14d9d fix(stream): reset task add the failed chkptId info. 2024-11-14 17:38:40 +08:00
xiao-77
cc3f4504bf Add mnd init cfg and mnd cfg trans. 2024-11-14 17:20:50 +08:00
Hongze Cheng
9a9f73273c Merge branch 'feat/TS-4994-3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0-auto_compact 2024-11-14 17:11:17 +08:00
Hongze Cheng
71a1d75ac6 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TS-4994-3.0 2024-11-14 17:09:25 +08:00
yihaoDeng
6ad894b356 support quick cmd 2024-11-14 17:04:11 +08:00
Hongze Cheng
be743733a5 feat: support database auto compact parameters 2024-11-14 17:01:15 +08:00