Commit Graph

28301 Commits

Author SHA1 Message Date
Haojun Liao 7370daa6e0 fix(stream): record the start failure tasks. 2023-11-07 16:39:56 +08:00
Haojun Liao e38e526dda fix(stream):reset the starting flag for the followers. 2023-11-07 16:39:12 +08:00
Haojun Liao 207b53f3f6 fix(stream): fix errors in scan-history, introduced by refactor 2023-11-07 16:19:09 +08:00
dapan1121 604c701290 Merge remote-tracking branch 'origin/feat/TS-4122' into feat/TD-24802 2023-11-07 15:59:01 +08:00
wangjiaming0909 6cc40fa66c fix: last(ts2), ts2, ts caused data err 2023-11-07 15:53:30 +08:00
slzhou 433d3b7354 fix: select tags const from table 2023-11-07 15:47:36 +08:00
kailixu 5f4aa0c445 Merge branch 'enh/TD-23769-3.0x' of github.com:taosdata/TDengine into enh/TD-23769-3.0x 2023-11-07 15:46:33 +08:00
liuyao 467c27c758 recover flush mark 2023-11-07 15:45:38 +08:00
dapan1121 51f1798474
Merge pull request #23514 from taosdata/szhou/3.0/fix/TD-27089
fix: tag scan mode when no columns after const optimization
2023-11-07 15:13:52 +08:00
wade zhang 4e70df5856
Merge pull request #23560 from taosdata/fix/TS-4187
fix(cache/reader): use int64 max instead of uint
2023-11-07 14:56:47 +08:00
kailixu ac62714492 Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-07 14:20:38 +08:00
liuyao e972ab16fe recover flush mark 2023-11-07 14:11:08 +08:00
Haojun Liao acd20506f6
Merge pull request #23542 from taosdata/fix/TD-27041
adj builtin function
2023-11-07 13:43:23 +08:00
dapan1121 3d1afe7adf
Merge pull request #23547 from taosdata/fix/3.0/TD-27013
fix: cast error msg
2023-11-07 13:35:41 +08:00
Benguang Zhao c851774a02 enh: improve user error of redistribute vgroup with TSDB_CODE_MND_REQ_REJECTED 2023-11-07 12:04:42 +08:00
wade zhang 9a342efd85
Merge pull request #23513 from taosdata/feat/TS-4094
feat: add dynamic configuration
2023-11-07 11:23:21 +08:00
dapan1121 eca1b1aeab fix: stmt query execution mode issue 2023-11-07 11:20:08 +08:00
shenglian-zhou aaa7b45dc3
Merge branch '3.0' into szhou/3.0/fix/TD-27089 2023-11-07 11:07:15 +08:00
slzhou d574b97015 fix: tbname can not contain dot 2023-11-07 11:03:42 +08:00
dapan1121 c2ec373557 Merge remote-tracking branch 'origin/3.0' into feat/TD-24802 2023-11-07 10:09:10 +08:00
liuyao e6fffe58a5 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-27041 2023-11-07 09:49:06 +08:00
dapan1121 0ed4d1507f feat: support non_sort mode 2023-11-07 09:23:06 +08:00
Haojun Liao 8fa4acd685
Merge pull request #23555 from taosdata/fix/ly_test
release row buff pos
2023-11-07 09:12:16 +08:00
dapan1121 0e7433e3b0
Merge pull request #23553 from taosdata/szhou/fix/3.0/TD-27152
fix: use the right target name
2023-11-07 09:04:42 +08:00
Bob Liu 1b9be71d55 fix(excutor): group agg operator copy from hash table directly 2023-11-07 08:51:03 +08:00
Haojun Liao 96f9264906 fix(stream): add null ptr check. 2023-11-07 00:38:02 +08:00
Haojun Liao 1312b9ea36 fix(stream): fix error. 2023-11-06 23:44:01 +08:00
Haojun Liao 4d8548e938 refactor: do some internal refactor. 2023-11-06 23:42:16 +08:00
kailixu f5d796a081 chore: print stream state 2023-11-06 19:53:09 +08:00
Haojun Liao 312dbc1caa refactor: do some internal refactor. 2023-11-06 19:49:25 +08:00
Haojun Liao 1f09d3a46b fix(stream): fix error. 2023-11-06 19:46:47 +08:00
Haojun Liao d9474016fc fix(stream): exec scan-history in timer. 2023-11-06 18:55:53 +08:00
liuyao 4ce81f25da session window max delay 2023-11-06 17:45:18 +08:00
kailixu 2f4c732cfb Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-06 17:32:04 +08:00
Benguang Zhao 8f1e3197b2 enh: print lastApplyTerm of snap sender in format of int64 2023-11-06 17:31:31 +08:00
kailixu dc5284a19c chore: add debug info 2023-11-06 17:27:36 +08:00
Haojun Liao 6b1889284b fix(stream): record the start failure tasks. 2023-11-06 15:45:44 +08:00
Minglei Jin ec908fa4d0 fix(cache/reader): use int64 max instead of uint 2023-11-06 15:34:28 +08:00
wangjiaming0909 04a1f2ef4d feat: cache scan for select last(c), ts/c 2023-11-06 15:26:12 +08:00
wangmm0220 dffaac55ea fix:move cos from util to common 2023-11-06 14:57:32 +08:00
Minglei Jin 31ce6453c2 fix(cmake/s3): make cmake config portable 2023-11-06 14:17:27 +08:00
slzhou 6136b1d018 fix: fix tbname or error 2023-11-06 13:49:01 +08:00
liuyao 1f523abff5 release row buff pos 2023-11-06 13:40:53 +08:00
Haojun Liao 69863febe6 fix(stream):reset the starting flag for the followers. 2023-11-06 13:17:13 +08:00
slzhou 1153e5ddc2 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-06 13:15:25 +08:00
slzhou 5495e1ceac fix: use the right target name 2023-11-06 12:33:09 +08:00
Haojun Liao bfd14076d7 fix(stream): fix dead-lock. 2023-11-06 12:05:47 +08:00
Haojun Liao d41fd27189 fix(stream): restart tasks in stream threads, instead of write thread. 2023-11-06 11:57:21 +08:00
slzhou 88c8463e18 fix: process logic or conditions 2023-11-06 11:06:22 +08:00
Haojun Liao 0e44950a37 enh(stream): execute scan history by using time slice 1s. 2023-11-06 09:21:33 +08:00
Haojun Liao 1f756f58f6 fix(stream): add need update node into update node list. 2023-11-06 09:21:33 +08:00
Haojun Liao 680eb5674e refactor: do some internal refactor. 2023-11-06 09:15:49 +08:00
dapan1121 0c4040b48e
Merge pull request #23541 from taosdata/fix/TS-4219.3.0
fix: insert syntax error caused coredump
2023-11-06 08:48:46 +08:00
kailixu 7e8c123fca chore: rsma code optimization 2023-11-06 08:46:04 +08:00
dapan1121 faf7001828
Merge pull request #23532 from taosdata/szhou/continue-coing
enhance: insert into super table performance improvement
2023-11-06 08:43:33 +08:00
Haojun Liao d440da0d8c enh(stream): execute scan history by using time slice 1s. 2023-11-05 01:26:53 +08:00
Haojun Liao c71f6713a7 fix(stream): add need update node into update node list. 2023-11-05 01:24:23 +08:00
Haojun Liao e13f003b90 refactor: do some internal refactor. 2023-11-05 01:23:23 +08:00
kailixu 411151d671 fix: buffer overflow/buffer use after free/memory leak 2023-11-04 08:44:26 +08:00
wangmm0220 b1515dd069 fix:add windows support 2023-11-03 17:56:34 +08:00
liuyao 7c38344642 adj builtin function 2023-11-03 17:53:36 +08:00
wangmm0220 5a6c3f2b04 fix:add windows support 2023-11-03 17:45:37 +08:00
dapan1121 6c4f94661b fix: insert syntax error caused core 2023-11-03 17:43:08 +08:00
Haojun Liao 3415ba5195
Merge pull request #23528 from taosdata/fix/liaohj
enh(tsdb): on-demand open stt file reader.
2023-11-03 17:29:55 +08:00
wangmm0220 16f8c1f628 fix:add windows support 2023-11-03 17:17:43 +08:00
wangmm0220 572dd8ec39 fix:add windows support 2023-11-03 17:14:04 +08:00
slzhou 9a33f0d59a Merge branch '3.0' of github.com:taosdata/TDengine into szhou/3.0/fix/TD-27089 2023-11-03 16:51:53 +08:00
shenglian zhou 893f7cc080 enhance: prepare for or processing 2023-11-03 16:35:43 +08:00
wangmm0220 7a39b32961 fix:add windows support 2023-11-03 16:33:48 +08:00
wangjiaming0909 741f8b0083 fix: cast error msg 2023-11-03 16:31:28 +08:00
kailixu 77eadc59dc Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-03 16:26:07 +08:00
slzhou e1ea15c8f2 enhance: improve performance 2023-11-03 16:13:35 +08:00
liuyao e8945cedd8 fix issue 2023-11-03 16:03:23 +08:00
Haojun Liao d3ddaaa9f3 other(tsdb): adjust some log info. 2023-11-03 15:08:25 +08:00
Haojun Liao de5c4d8d5d other(tsdb): adjust some log info. 2023-11-03 15:07:40 +08:00
kailixu c95fc014a8 enh: rsma checkpoint 2023-11-03 14:57:36 +08:00
kailixu a48968e5e8 enh: rsma checkpoint 2023-11-03 14:33:45 +08:00
Shungang Li c6f5e2a9bd enh: add dynamic configuration 2023-11-03 14:28:02 +08:00
shenglian zhou 81af550763 Merge branch 'szhou/tbname-prune-vgroup' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-11-03 14:12:15 +08:00
shenglian zhou bab886b229 enhance: refact code 2023-11-03 14:12:04 +08:00
Haojun Liao 34403534ed Merge branch '3.0' into fix/3_liaohj 2023-11-03 14:06:58 +08:00
slzhou 75d542c758 fix: performance improvement 2023-11-03 14:03:25 +08:00
liuyao b1d1e2c778 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 14:02:59 +08:00
Benguang Zhao 2cf6b3c1e4 fix: release duplicate msgs in syncSnapBufferRecv 2023-11-03 14:01:39 +08:00
Haojun Liao b4d14d3847 fix(tsdb): fix error during add on-demand opening stt file reader. 2023-11-03 13:51:18 +08:00
Haojun Liao 675c9ca613 enh(tsdb): on-demand open stt file reader. 2023-11-03 13:51:18 +08:00
Haojun Liao 53b2158c54 refactor: do some internal refactor. 2023-11-03 13:51:17 +08:00
dapan1121 0af6f2fb0e
Merge pull request #23530 from taosdata/fix/TD-27080
fix: return error response while fetching in quick response mode
2023-11-03 13:43:03 +08:00
wade zhang 717ddf5107
Merge pull request #23501 from taosdata/FIX/TD-26596-3.0
fix: set ack of response properly in syncSnapSendRsp
2023-11-03 11:57:24 +08:00
wangmm0220 5bd0745a76 fix:add config for checkpoint 2023-11-03 11:46:21 +08:00
wangmm0220 0a1f1085fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26060 2023-11-03 11:33:50 +08:00
wangmm0220 3ac11eba0e fix:modify upload checkpoint interface 2023-11-03 11:33:18 +08:00
dapan1121 bb48b457ca fix: return error response while fetching in quick response mode 2023-11-03 11:28:16 +08:00
Haojun Liao c980e2030c fix(tsdb): fix error during add on-demand opening stt file reader. 2023-11-03 11:04:32 +08:00
slzhou 52608cf84d fix: performace improvement 2023-11-03 10:38:43 +08:00
Haojun Liao 0acf4f1795 enh(tsdb): on-demand open stt file reader. 2023-11-03 10:35:05 +08:00
dapan1121 92240d7f95
Merge pull request #23505 from taosdata/fix/3.0/TS-4052
fix: nano seconds database error
2023-11-03 10:27:40 +08:00
Hongze Cheng 1ff3f96b08
Merge pull request #23465 from taosdata/fix/TD-26189-last-tier-write
enh(tsdb/retention): enable last tier write
2023-11-02 21:21:38 -05:00
shenglian zhou 55e8607206 fix: calc const optimization only when not tag scan 2023-11-03 10:17:23 +08:00
Benguang Zhao 456c8d23f3 fix: set cursor properly in syncSnapBufferRecv 2023-11-03 10:09:07 +08:00
Haojun Liao 9d77351bb2 refactor: do some internal refactor. 2023-11-03 09:30:50 +08:00
liuyao 31ad73f6d1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 09:12:17 +08:00
Haojun Liao ff5d69352f
Merge pull request #23493 from taosdata/fix/3_liaohj
fix(stream): add unsupport trans.
2023-11-03 09:07:33 +08:00
Haojun Liao 70388bafd2
Merge pull request #23523 from taosdata/fix/liaohj
fix(stream): fix deadlock in transfer state.
2023-11-03 09:07:23 +08:00
liuyao ba09b3de28 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-03 08:56:42 +08:00
dapan1121 67ba0f56e7
Merge pull request #23512 from taosdata/fix/TD-27094
fix: adjust view not exist log level
2023-11-03 08:55:45 +08:00
kailixu d9ed63473c Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-03 08:37:41 +08:00
kailixu 6c944bb192 enh: skip rsma_task during load stream tasks 2023-11-02 20:32:54 +08:00
wangmm0220 159873692c feat:checkpoint bakeup using rsync 2023-11-02 20:13:29 +08:00
liuyao 389117b806 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 20:07:12 +08:00
wade zhang a3723b74ed
Merge pull request #23497 from taosdata/FIX/audit-db-resource-3.0
db and resource
2023-11-02 19:33:40 +08:00
wade zhang dc581a83a1
Merge pull request #23495 from taosdata/fix/audit-db-resource-main
db and resource
2023-11-02 19:33:25 +08:00
Haojun Liao b3d57e4a2d fix(stream): not transfer state if state is not appropriate. 2023-11-02 19:31:35 +08:00
Haojun Liao 7a32b3a209 fix(stream): not transfer state if state is not appropriate. 2023-11-02 19:12:36 +08:00
kailixu fa5d896787 enh: rsma checkpoint 2023-11-02 18:56:36 +08:00
Benguang Zhao ce4fb52926 enh: resend end msg on timeout in snapshotReSend 2023-11-02 18:56:00 +08:00
Benguang Zhao 995a1e1f8e enh: send rsp on duplicate msgs in syncSnapBufferRecv 2023-11-02 18:41:25 +08:00
Benguang Zhao 3221aef1a3 refact: improve code with syncSnapSendMsg 2023-11-02 18:41:25 +08:00
Benguang Zhao 7852b2cecf fix: set ack of response properly in syncSnapSendRsp 2023-11-02 18:41:25 +08:00
Haojun Liao c4079332ff fix(stream):update the log level. 2023-11-02 18:18:04 +08:00
Haojun Liao 706f1e4744 fix(stream): fix deadlock in transfer state. 2023-11-02 18:18:04 +08:00
Haojun Liao 0a227e807f refactor: set different tq level. 2023-11-02 18:18:04 +08:00
Haojun Liao 48aff868b6 fix(stream):update the log level. 2023-11-02 18:16:47 +08:00
Haojun Liao 39175dc03b fix(stream): fix deadlock in transfer state. 2023-11-02 18:07:36 +08:00
Hongze Cheng 4cf97ef6ae
Merge pull request #23520 from taosdata/fix/TD-27057
fix: invalid read when file is deleted
2023-11-02 04:49:49 -05:00
liuyao f6ff356b81 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 17:45:50 +08:00
Haojun Liao 3aed8c29ae refactor: set different tq level. 2023-11-02 17:12:20 +08:00
Hongze Cheng faea18c38f fix: invalid read when file is deleted 2023-11-02 16:59:11 +08:00
liuyao 52083cd694 event window and partition by 2023-11-02 15:52:55 +08:00
kailixu 2d597659bc enh: rsma checkpoint 2023-11-02 15:20:54 +08:00
liuyao 330b04a8bc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-02 14:36:13 +08:00
dapan1121 be6a6976db fix: adjust view not exist log level 2023-11-02 14:34:19 +08:00
dapan1121 e0f49f8000 fix: remove user table/view privilege issue 2023-11-02 14:14:26 +08:00
Haojun Liao f5fa3edeba
Merge pull request #23503 from taosdata/fix/liaohj
fix(stream): fix dead lock.
2023-11-02 13:52:50 +08:00
kailixu 722777f8c9 enh: rsma checkpoint 2023-11-02 13:15:31 +08:00
kailixu 96b5024347 enh: rsma checkpoint 2023-11-02 13:05:36 +08:00
kailixu 698fb804f9 enh: disable update tbUidList during reboot 2023-11-02 12:54:23 +08:00
Minglei Jin 1cd1284520 config/pcache: default page cache to 4096 2023-11-02 12:43:06 +08:00
Hongze Cheng 609c2bccf3
Merge pull request #23507 from taosdata/fix/core_fix
fix: possible coredump
2023-11-01 22:21:21 -05:00
kailixu 76536e1c82 enh: rsma logic 2023-11-02 11:03:18 +08:00
Haojun Liao c48c801e19 fix(stream): return error code. 2023-11-02 11:02:40 +08:00
Haojun Liao 95efa07e92 fix(stream): add full unsupported event filtering. 2023-11-02 11:02:39 +08:00
Haojun Liao 05b3d51803 fix(stream): add qualified status in assert 2023-11-02 11:02:39 +08:00
Haojun Liao 420825c62f fix(stream): return error code. 2023-11-02 10:22:03 +08:00
Minglei Jin 46d3be1f08 config/page-cache-size: new parameter for pcache size 2023-11-02 10:10:03 +08:00
dapan1121 66c257a5d0
Merge pull request #23372 from taosdata/szhou/continue-coing
continued ci test for insert stb
2023-11-02 10:01:21 +08:00
kailixu 9649e87cab fix: rsma checkpoint 2023-11-02 09:44:43 +08:00
Haojun Liao 351a31302f fix(stream): add full unsupported event filtering. 2023-11-02 09:43:48 +08:00
Minglei Jin d0327e07b8 tsdb/pg-cache: use pgno for cache key instead of blkno 2023-11-02 09:42:19 +08:00
wangjiaming0909 b71a013b8d fix: nano seconds database error 2023-11-02 09:36:46 +08:00
Haojun Liao e14d42c01e fix(stream): add qualified status in assert 2023-11-02 08:46:18 +08:00
Haojun Liao dc8a90c864 fix(stream): fix memory leak. 2023-11-02 08:13:11 +08:00
Haojun Liao 79e971385f fix(stream): fix memory leak. 2023-11-02 08:11:51 +08:00
Haojun Liao df7633650e fix(stream): fix memory leak. 2023-11-01 20:35:45 +08:00
Hongze Cheng a6ee7c4685 fix: possible coredump 2023-11-01 20:34:47 +08:00
Haojun Liao e1b3e00b3d fix(stream): fix memory leak. 2023-11-01 20:10:20 +08:00
kailixu 3803f952f9 chore: rsma checkpoint verify 2023-11-01 20:05:00 +08:00
Haojun Liao 6dc468c55f fix(stream): fix dead-lock 2023-11-01 19:38:13 +08:00
Haojun Liao fa7ebf63ea refactor: do some internal refactor. 2023-11-01 19:38:13 +08:00
Haojun Liao 9156e8449d fix(stream): fix deference null ptr. 2023-11-01 19:38:13 +08:00
Haojun Liao 7cf90dde5c refactor: do some internal refactor. 2023-11-01 19:38:13 +08:00
Haojun Liao 00f029e44f refactor: add some logs. 2023-11-01 19:38:12 +08:00
Haojun Liao 385e699cc2 fix(stream): do some internal refactor. 2023-11-01 19:38:12 +08:00
Haojun Liao bd12ae88e1 fix(stream):fix the bug when event in waiting list not fulfilled. 2023-11-01 19:38:12 +08:00
Haojun Liao 9a9c1d689d fix(stream): add lock log. 2023-11-01 19:38:12 +08:00
Haojun Liao e7609d8e56 fix(stream): fix dead-lock 2023-11-01 19:09:21 +08:00
Haojun Liao ae25f09c45 refactor: do some internal refactor. 2023-11-01 18:03:44 +08:00
Minglei Jin 52fd71ce13 config/block-size: default to -1 to enable page cache 2023-11-01 18:00:31 +08:00
Haojun Liao 899d13b4ae fix(stream): fix deference null ptr. 2023-11-01 17:25:59 +08:00
Haojun Liao 246ed4e022 refactor: do some internal refactor. 2023-11-01 17:19:21 +08:00
liuyao 505c44d9aa Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-11-01 16:50:46 +08:00
dm chen 14eb345c8c
Update mndUser.c 2023-11-01 16:37:45 +08:00
kailixu c32e60d199 chore: more code for rsma checkpoint 2023-11-01 16:27:41 +08:00
Haojun Liao 12bc4f32cf refactor: add some logs. 2023-11-01 16:12:15 +08:00
kailixu 59be62c96e chore: set stream input checkpoint 2023-11-01 15:34:17 +08:00
Haojun Liao 034546a490
Merge pull request #23445 from taosdata/fix/TD-26685-new
fix:print log if assert & check epoch when update epoch
2023-11-01 15:32:40 +08:00
Haojun Liao f76417535c
Merge pull request #23451 from taosdata/fix/TD-26685-3.0
fix:print log if assert & check epoch when update epoch
2023-11-01 15:32:25 +08:00
Haojun Liao 971bd0b834
Merge pull request #23452 from taosdata/fix/TD-26756-3.0
fix:[TD-25756]return error if table not exist
2023-11-01 15:32:12 +08:00
Haojun Liao a22c84617f
Merge pull request #23491 from taosdata/fix/ly_test
session window max delay
2023-11-01 15:31:46 +08:00
dmchen 0ab4e809c5 db and resource 2023-11-01 15:12:45 +08:00
Minglei Jin f10d1ebdc5 Merge branch '3.0' into fix/TD-26189-last-tier-write 2023-11-01 15:06:22 +08:00
dmchen bbfecb7383 db and resource 2023-11-01 07:04:20 +00:00
Minglei Jin 6f0fa5d47e tsdb/retention: remove incorrect right brace 2023-11-01 14:56:57 +08:00
slzhou 4a2c52783b Merge branch '3.0' of github.com:taosdata/TDengine into szhou/insert-stb-tbname 2023-11-01 14:10:02 +08:00
Haojun Liao 778c29b808 fix(stream): do some internal refactor. 2023-11-01 14:07:18 +08:00
Haojun Liao e4aeea176b fix(stream):fix the bug when event in waiting list not fulfilled. 2023-11-01 13:59:51 +08:00
Haojun Liao 4ae1250494
Merge pull request #23480 from taosdata/enh/changeQueueMain
change NumOfTaskQueueThreads size
2023-11-01 13:26:29 +08:00
slzhou bd64b9102d fix: fix address sanitizer error 2023-11-01 13:25:54 +08:00
Haojun Liao 5ff89bc098 fix(stream): add lock log. 2023-11-01 13:19:53 +08:00
kailixu ab266c712f chore: checkpoint for rsma stream state 2023-11-01 12:29:54 +08:00
Haojun Liao 0cf0ff3bbf
Merge pull request #23455 from taosdata/fix/liaohj
refactor: do some internal refactor.
2023-11-01 12:01:54 +08:00
Haojun Liao 3f561fb8e4 fix(stream): remove invalid assert. 2023-11-01 11:43:02 +08:00
Haojun Liao 3e6c89d8eb fix(stream): add unsupport trans. 2023-11-01 11:43:02 +08:00
Minglei Jin 0f5a124cb1 config/block-size: enable dynamic config for debugging 2023-11-01 11:08:39 +08:00
Minglei Jin 221afff9ee vnode/write: remove keep modify code block 2023-11-01 11:00:47 +08:00
Minglei Jin 64644d673b
Merge branch '3.0' into fix/TD-26189-last-tier-write 2023-11-01 10:53:55 +08:00
yihaoDeng af7e33e5c5 change NumOfTaskQueueThreads size 2023-11-01 10:51:26 +08:00
Minglei Jin a61502411d tsdb/pg-cache: new page cache for tsdb s3 read file page 2023-11-01 10:49:05 +08:00
dapan1121 6305353290 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-11-01 10:38:50 +08:00
kailixu 1530fe0c49 Merge branch '3.0' into enh/TD-23769-3.0x 2023-11-01 09:52:16 +08:00
liuyao e8aa1555ca session window max delay 2023-11-01 09:48:53 +08:00
kailixu ad1e6accd4 chore: build checkpoint for rsma 2023-11-01 09:45:58 +08:00
Haojun Liao 7359f98eca
Merge pull request #23428 from taosdata/fix/3_liaohj
other: merge refactor into 3.0
2023-11-01 09:44:31 +08:00
slzhou efb0c61cac fix: fix compilation error 2023-11-01 08:43:29 +08:00
shenglian zhou 42a7553fe0 enhance: refactor getStbRowValues 2023-11-01 08:35:38 +08:00
shenglian zhou 7636f09bfb enhance: refactor getStbRowValues 2023-11-01 08:32:31 +08:00
Haojun Liao 0fb4cfd94f fix(stream): remove invalid assert. 2023-11-01 00:33:17 +08:00
Haojun Liao 639d5cde47 fix(stream): add unsupport trans. 2023-10-31 23:14:02 +08:00
yihaoDeng 21b5ea6915 fix:print log if assert & check epoch when update epoch 2023-10-31 20:49:15 +08:00
yihaoDeng 55e66eac3c fix:print log if assert & check epoch when update epoch 2023-10-31 20:47:08 +08:00
kailixu e6684fa5de enh: rsma retetion and stream state 2023-10-31 20:26:42 +08:00
wade zhang b7ea04bdf4
Merge pull request #23475 from taosdata/enh/TD-26910
enh: new errcode TSDB_CODE_MND_NO_ENOUGH_VNODES
2023-10-31 20:05:34 +08:00
Shungang Li c98228eff9 enh: new errcode TSDB_CODE_MND_NO_ENOUGH_VNODES 2023-10-31 20:03:52 +08:00
dapan1121 701a148ad1 feat: init merge operator 2023-10-31 19:59:36 +08:00
dapan1121 018f4e8e89
Merge pull request #23481 from taosdata/enh/optimizePermissionDeniedError
enh: optimize permission denied error message
2023-10-31 19:52:01 +08:00
Haojun Liao 294c59150c fix(stream): add jump out loop by checking task status. 2023-10-31 19:31:28 +08:00
Haojun Liao 4694859325 fix(stream): add jump out loop by checking task status. 2023-10-31 19:31:00 +08:00
dapan1121 91df56fcf0 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-31 18:44:54 +08:00
dapan1121 c9c8c01df9 fix: change error code to retry table meta 2023-10-31 18:39:39 +08:00
dapan1121 d40cc27abc
Merge pull request #23464 from taosdata/enh/TD-26638-3.0
enh: use placeholder '-' for interval of 1st retention level
2023-10-31 18:36:43 +08:00
slzhou 041ef1ef83 enhance: colvals of table data cxt is not used in insert stb syntax 2023-10-31 17:05:37 +08:00
Haojun Liao a1aa2380ae other: merge 3.0 2023-10-31 16:42:51 +08:00
Haojun Liao 0b18192b23 fix(stream): fix error in finishing event handling. 2023-10-31 16:40:16 +08:00
Haojun Liao 762cfef498 fix(stream): adjust the stop condition for stream tasks. 2023-10-31 16:40:16 +08:00
Haojun Liao 4c0242a58d fix(stream): fix error in finishing event handling. 2023-10-31 16:39:14 +08:00
dapan1121 c4e1faae36
Merge pull request #23432 from taosdata/szhou/bi-mode-tag-scan
enhance: bi mode tag scan
2023-10-31 15:44:53 +08:00
liuyao 696294c208 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-31 15:41:04 +08:00
liuyao b9e05ab1ec update data 2023-10-31 15:40:42 +08:00
wangmm0220 17a58697fa fix:print log if assert & check epoch when update epoch 2023-10-31 15:37:59 +08:00
wangmm0220 fc228d65f2 fix:print log if assert & check epoch when update epoch 2023-10-31 15:36:40 +08:00
wangmm0220 e92460105c fix:print log if assert & check epoch when update epoch 2023-10-31 15:36:32 +08:00
wade zhang 76c9b9afc5
Merge pull request #23377 from taosdata/FIX/TD-26596-3.0
feat: support pipelining of snap replication
2023-10-31 15:19:07 +08:00
slzhou 8d2d473cbc Merge branch 'szhou/insert-stb-tbname' into szhou/continue-coing 2023-10-31 15:18:47 +08:00
slzhou c8767f7614 enhance: tbname token optimization 2023-10-31 14:44:06 +08:00
dapan1121 67333c2e17
Merge pull request #23477 from taosdata/enh/TD-27019
enh: disable telemetry in enterprise version by default
2023-10-31 14:28:05 +08:00
yihaoDeng bd480f251c change NumOfTaskQueueThreads size 2023-10-31 14:12:44 +08:00
dapan1121 bc746641c0 Merge remote-tracking branch 'origin/3.0' into enh/optimizePermissionDeniedError 2023-10-31 14:11:23 +08:00
dapan1121 9db353f05d enh: optimize permission denied error msg 2023-10-31 13:59:44 +08:00
wade zhang 25b09b467f
Merge pull request #23439 from taosdata/feat/TD-26971-3.0
TD-26971
2023-10-31 13:53:49 +08:00
wade zhang 9cea0e60de
Merge pull request #23437 from taosdata/feat/TD-26971-main
TD-26971
2023-10-31 13:53:32 +08:00
slzhou 1686c70a60 fix: not use ctb meta from hash of stmt node 2023-10-31 13:14:21 +08:00
Haojun Liao 0ca85a4c03
Merge pull request #23424 from taosdata/refact/streamsm
refactor: do some internal refactor.
2023-10-31 12:48:22 +08:00
Haojun Liao e01c7f3cfd fix(stream): adjust the stop condition for stream tasks. 2023-10-31 11:51:47 +08:00
dapan1121 72a866988b enh: disable telemetry in enterprise version 2023-10-31 11:42:00 +08:00
kailixu 28cd8f4915 enh: file duration for rsma 2023-10-31 11:38:33 +08:00
dapan1121 aabd2bd739 fix: create view table meta issue 2023-10-31 11:23:33 +08:00
Hongze Cheng ac3df85d8a Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26684 2023-10-31 11:23:23 +08:00
Hongze Cheng 16bccef75a
Merge pull request #23407 from taosdata/feat/TS-4180
feat: alloc disk acorrding to avail disk space
2023-10-30 22:15:39 -05:00
shenglian zhou 45ae3727a7 fix: performace improvement 2023-10-31 10:48:10 +08:00
Haojun Liao fc70fa053c fix(tsdb): fix syntax error. 2023-10-31 10:45:14 +08:00
Haojun Liao 88469568b8 fix(stream): handle failure during checkpoint 2023-10-31 10:45:14 +08:00
Haojun Liao 6a7ba0f5f5 fix(tsdb): handle the case where stt not exists, possibly exists while the stt-trigger is 1. 2023-10-31 10:45:14 +08:00
Haojun Liao 00626de6e4 fix(tsdb): fix error in decide if data buffer overlaps with stt files/block-files. 2023-10-31 10:45:13 +08:00
Haojun Liao cb43299faa fix(tsdb): avoid to read duplicated rows in buf. 2023-10-31 10:45:13 +08:00
Haojun Liao 635243f01a refactor: do some internal refactor. 2023-10-31 10:45:12 +08:00
Haojun Liao 6e2240a3d1 fix(stream): fix the deadlock. 2023-10-31 10:45:12 +08:00
Haojun Liao 0c982093cd fix(stream): enable the set of fill-history task to be un-init. 2023-10-31 10:45:12 +08:00
Haojun Liao 86dfc52a6e fix(stream): add event check when handling the end of event. 2023-10-31 10:45:12 +08:00
Haojun Liao 8b9bc988f1 fix(tsdb): fix syntax error. 2023-10-31 10:42:34 +08:00
Haojun Liao 72f3e4446d fix(stream): handle failure during checkpoint 2023-10-31 10:38:17 +08:00
Haojun Liao eaf76854f6 fix(tsdb): handle the case where stt not exists, possibly exists while the stt-trigger is 1. 2023-10-31 09:29:24 +08:00
dapan1121 7d5708f224 fix: case issue and authentication issue 2023-10-31 09:15:40 +08:00
slzhou e800c993dd fix: set scan tags when bi mode 2023-10-31 07:37:56 +08:00
kailixu b03baaed2c chore: revert the code change 2023-10-30 19:49:50 +08:00
kailixu 89651626e3 chore: reopen rsma stream commit 2023-10-30 19:45:18 +08:00
dmchen fe044051c8 memory leak 2023-10-30 19:36:27 +08:00
dmchen 5120d25297 memory leak 2023-10-30 11:34:34 +00:00
Minglei Jin 867ce92dcc tsdb/file-rw: fix log msg 2023-10-30 19:28:18 +08:00
dapan1121 b2fea84a3a fix: case issue and bugs 2023-10-30 19:14:31 +08:00
dapan1121 658ea7c429
Merge pull request #23426 from taosdata/fix/TD-26930/xsren/superTime
fix: interval more than 1000 years
2023-10-30 17:55:53 +08:00
liuyao 5b74bf87b1 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 17:55:14 +08:00
kailixu 59dd4eaa39 Merge branch 'enh/TD-26638-3.0' of https://github.com/taosdata/TDengine into enh/TD-26638-3.0 2023-10-30 17:51:56 +08:00
kailixu 4a5b4b51e2 chore: remove obsolete codes 2023-10-30 17:51:42 +08:00
Minglei Jin 800cbfbb05 tsdb/file: new s3flag in mem 2023-10-30 17:36:49 +08:00
Haojun Liao 6e118c7963 fix(stream): fix memory leak. 2023-10-30 17:28:57 +08:00
kailixu da4fac4204 test: update test case for retentions 2023-10-30 17:04:09 +08:00
dmchen 0f40e1dbb9 memory leak 2023-10-30 16:59:12 +08:00
dmchen 40c9622df5 memory leak 2023-10-30 08:57:07 +00:00
dapan1121 1517fe0ff0 fix: ut case issue 2023-10-30 16:44:10 +08:00
Haojun Liao ed07486405 fix(tsdb): fix error in decide if data buffer overlaps with stt files/block-files. 2023-10-30 16:40:09 +08:00
Haojun Liao bc1c2a879a fix(tsdb): avoid to read duplicated rows in buf. 2023-10-30 16:12:08 +08:00
slzhou e9a7f6e322 fix: invalid schema error 2023-10-30 15:54:10 +08:00
dmchen be0a85a0ff memory leak 2023-10-30 15:22:54 +08:00
Minglei Jin 84d2f9c379 tsdb/upload: delay data file uploading 2023-10-30 15:22:34 +08:00
dmchen 6172b820ac memory leak 2023-10-30 07:19:08 +00:00
Haojun Liao fdf3f210ac refactor: do some internal refactor. 2023-10-30 14:39:24 +08:00
Haojun Liao 3275452bce fix(stream): fix the deadlock. 2023-10-30 14:38:51 +08:00
kailixu 5e99b69512 Merge branch '3.0' into enh/TD-26638-3.0 2023-10-30 14:09:41 +08:00
dapan1121 0a97f18d72
Merge pull request #23344 from taosdata/feat/3.0/TS-4052
feat: support to_timestamp/to_char
2023-10-30 14:04:33 +08:00
kailixu c77153cb81 enh: use placeholder '-' for interval of 1st retention level 2023-10-30 14:02:31 +08:00
Haojun Liao 15d217fc3e fix(stream): fix memory leak. 2023-10-30 13:29:35 +08:00
dapan1121 63534d29c0 fix: remove column list from systable 2023-10-30 13:20:03 +08:00
Haojun Liao b0700d6095 Merge branch '3.0' into fix/3_liaohj 2023-10-30 11:57:54 +08:00
Haojun Liao 93232a0e14 fix(stream): enable the set of fill-history task to be un-init. 2023-10-30 11:48:51 +08:00
liuyao 1a37f19c82 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-30 11:43:23 +08:00
dapan1121 6f0b634f95 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 10:24:16 +08:00
Haojun Liao 19c5882cbe fix(stream): add event check when handling the end of event. 2023-10-30 10:22:24 +08:00
Benguang Zhao 70e261f662 enh: terminate snap replication on timeout 2023-10-30 10:14:26 +08:00
dapan1121 53e9c483c9
Merge pull request #23422 from taosdata/enh/TD-25879-3.0x
enh: dmodule API dependence and grant process
2023-10-30 10:13:28 +08:00
slzhou 4b6f927e6a fix: add test case for bi tag scan 2023-10-30 10:11:57 +08:00
dapan1121 1b7a6bccdf
Merge pull request #23430 from taosdata/enh/TD-26641-3.0
enh: only float/double allowed for sum/avg of rsma
2023-10-30 10:08:55 +08:00
Minglei Jin 4fede02da4 tsdb/retention: remove s3 evict cache hook 2023-10-30 10:06:42 +08:00
dapan1121 8650c5d4b0
Merge pull request #23392 from taosdata/feat/3.0/TS-4044
feat: support all utf8 characters as alias
2023-10-30 10:04:37 +08:00
slzhou 4367975ade Merge branch '3.0' of github.com:taosdata/TDengine into szhou/bi-mode-tag-scan 2023-10-30 09:50:38 +08:00
wangmm0220 34b4de82d0 fix:conflict from 3.0 2023-10-30 09:49:19 +08:00
facetosea 55f6d2b7a9 use TSDB_MAX_KEEP 2023-10-30 09:42:06 +08:00
wangmm0220 e5bc2bfe6e fix:[TD-25756]return error if table not exist 2023-10-30 09:34:00 +08:00
Haojun Liao 980f6fc46e fix(stream): pause the task when they are still in uninit status. 2023-10-30 09:32:40 +08:00
Haojun Liao 1bbad532a7 fix(stream): add more check. 2023-10-30 09:32:40 +08:00
Haojun Liao 91121974d7 fix(stream): do nodeUpdate trans only after check if vnodes are all ready. 2023-10-30 09:32:40 +08:00
Haojun Liao 48202a1e45 fix(stream): set the trans exec sequentially. 2023-10-30 09:32:40 +08:00
Haojun Liao 076b533ba3 fix(stream): fix race condition when state transferring. 2023-10-30 09:32:40 +08:00
Haojun Liao 1a1b9f5ea3 fix(stream): set the trans exec sequentially. 2023-10-30 09:32:40 +08:00
Haojun Liao 85befa10b9 fix(stream): avoid clear the restart flag . 2023-10-30 09:32:39 +08:00
wangmm0220 770c88200f fix:print log if assert & check epoch when update epoch 2023-10-30 09:19:31 +08:00
Haojun Liao f708ddb792 fix(stream): pause the task when they are still in uninit status. 2023-10-30 09:09:21 +08:00
slzhou 8c2deef1e6 Merge branch '3.0' of github.com:taosdata/TDengine into szhou/continue-coing 2023-10-30 08:54:31 +08:00
dapan1121 972e10a238 Merge remote-tracking branch 'origin/3.0' into feat/TD-25204 2023-10-30 08:45:29 +08:00
Haojun Liao 790d869494 fix(stream): add more check. 2023-10-29 22:57:33 +08:00
kailixu 22d6b95585 enh: dm init API 2023-10-29 21:13:18 +08:00
Haojun Liao da6e3cb293 fix(stream): do nodeUpdate trans only after check if vnodes are all ready. 2023-10-29 17:37:10 +08:00
Haojun Liao 1e696287d8 fix(stream): set the trans exec sequentially. 2023-10-29 02:45:47 +08:00
Haojun Liao 3c07c3ec2f fix(stream): fix race condition when state transferring. 2023-10-29 02:27:27 +08:00
kailixu 3f65773222 enh: send grant to dnodes online and in async mode 2023-10-29 02:18:47 +08:00
Haojun Liao 3bf3d00d90 fix(stream): set the trans exec sequentially. 2023-10-27 23:45:50 +08:00
Haojun Liao c7285c0ede fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:41:57 +08:00
Haojun Liao 4c267b538f fix(stream): add expired epset node list for stream tasks in hb to mnode. 2023-10-27 23:05:41 +08:00
dapan1121 9801d5d7b7 fix: desciribe view and memory issues 2023-10-27 19:28:22 +08:00
wangmm0220 e77fefa056 fix:print log if assert & check epoch when update epoch 2023-10-27 19:16:01 +08:00
kailixu eae1b4eb03 chore: relationship between interval/keep 2023-10-27 19:15:23 +08:00
Benguang Zhao c3f9cae36b refact: improve code of syncNodeOnSnapshot 2023-10-27 18:55:30 +08:00
Hongze Cheng a7f3041ff3 more fix 2023-10-27 17:59:27 +08:00
Benguang Zhao 4163a3be7c feat: resend snap replication of data on timeout 2023-10-27 17:58:26 +08:00
Hongze Cheng 4a2fccc788 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-26684 2023-10-27 17:54:23 +08:00
Hongze Cheng cdb1d8296d feat: concurrency on fileset 2023-10-27 17:48:19 +08:00
liuyao ad6d38439b refect 2023-10-27 17:47:25 +08:00
dmchen 43e6dec6c2 TD-26971 2023-10-27 17:39:50 +08:00
dmchen 34c4ffde26 TD-26971 2023-10-27 09:30:30 +00:00
liuyao d46231d013 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/TD-21898 2023-10-27 17:15:06 +08:00
Minglei Jin 8c6f452f09 tsdb/write: make last tier writable to mem 2023-10-27 15:51:52 +08:00
wangjiaming0909 cf158ab428 feat: support all utf8 characters as alias 2023-10-27 15:23:26 +08:00
slzhou 15aedb8d8c fix: fix bugs of pWhere is null 2023-10-27 15:16:40 +08:00
xsren b422c29d4e fix interval limit on us/ns db 2023-10-27 15:16:03 +08:00
kailixu ac72466429 chore: naming optimization 2023-10-27 15:11:35 +08:00
Haojun Liao 62cc33715c fix(stream): fix deadlock. 2023-10-27 15:05:36 +08:00
Haojun Liao 0c2079a963 fix(stream): fix deadlock. 2023-10-27 15:03:21 +08:00
shenglian zhou 865b28c6bd Merge branch '2.0' of github.com:taosdata/TDengine into szhou/tbname-prune-vgroup 2023-10-27 14:49:56 +08:00
shenglian zhou 1bda5a7223 enhance: use tbname cond to set vgroup list of table node 2023-10-27 14:47:56 +08:00
kailixu 4ea44c429d chore: code optimization 2023-10-27 14:41:17 +08:00
kailixu dc8cb7a99e fix: memory leak 2023-10-27 14:36:01 +08:00