Commit Graph

12735 Commits

Author SHA1 Message Date
Haojun Liao f26fa32340 other: add some comments. 2023-02-13 13:32:01 +08:00
Haojun Liao c96362d5fc other: merge event branch. 2023-02-13 13:28:16 +08:00
Haojun Liao 2de465b64c
Merge pull request #19947 from taosdata/enh/stream_buffer_param1
Enh/stream buffer param1
2023-02-13 13:27:42 +08:00
Haojun Liao 6a6c649113 fix(query): identify the data blocks from different group. 2023-02-13 13:24:59 +08:00
yihaoDeng 0f803fca10 fix: fix filter error result 2023-02-13 11:40:40 +08:00
dapan1121 df4967614f
Merge pull request #19906 from taosdata/fix/TS-2612
fix(query): fix max/min result inconsistent using with first or last plus interval time window query
2023-02-13 10:57:24 +08:00
Liu Jicong 7a4c8f30db reset default cfg 2023-02-13 10:54:13 +08:00
Haojun Liao b37bf56794 fix(query): add kill check for table merge scan. 2023-02-13 10:12:13 +08:00
Haojun Liao 08126ccde1 fix(query): add kill check for cache scan operator. 2023-02-13 10:07:56 +08:00
Xiaoyu Wang 6483b92f0c
Merge pull request #19923 from taosdata/fix/3.0_merge_main
merge main
2023-02-13 09:48:45 +08:00
Liu Jicong 0cd6bd3d86 Merge branch 'main' into enh/stream_buffer_param 2023-02-13 09:48:02 +08:00
Liu Jicong 1114fef337 add cfg 2023-02-13 09:47:30 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Haojun Liao f6a262eeb1 fix(query): fix invalid write. 2023-02-11 01:56:28 +08:00
Haojun Liao 38df631629 fix(query): set correct table number. 2023-02-11 00:28:10 +08:00
Haojun Liao 2de2733405 fix(query): set correct table number. 2023-02-11 00:27:17 +08:00
Haojun Liao ae7fc15170 fix(query): set correct table number. 2023-02-11 00:11:21 +08:00
Haojun Liao b14afeef0a refactor: do some internal refactor. 2023-02-10 23:40:53 +08:00
Haojun Liao 120ee13d6d refactor: do some internal refactor. 2023-02-10 23:34:03 +08:00
Haojun Liao 595a57dfc9 fix(query): fix a typo 2023-02-10 23:32:16 +08:00
Haojun Liao 1b53f4b0bd
Merge pull request #19919 from taosdata/fix/liaohj
fix(query): add check for table/super table dropped
2023-02-10 23:00:55 +08:00
Haojun Liao 8781f31d17 fix(query): fix a typo. 2023-02-10 19:22:38 +08:00
Haojun Liao a7fdc4bae3 other: merge 3.0 2023-02-10 19:20:24 +08:00
Haojun Liao 6839ed22f2 fix(query): fix bug in tag filter. 2023-02-10 18:28:35 +08:00
Haojun Liao 34891e1fe8
Merge pull request #19907 from taosdata/fix/stream_meta
fix: stream meta
2023-02-10 18:21:26 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Haojun Liao e378668571
Merge pull request #19915 from taosdata/fix/nodisk
ehn(query): dynamic set the initial buffer size for data block from d…
2023-02-10 17:49:46 +08:00
Haojun Liao f6b2da8c06 fix(query): add check for table/super table dropped, when retrieving cache rows. 2023-02-10 16:53:11 +08:00
Haojun Liao c8f1c3b6e4 fix(query): set the max rows as the default block buffer rows. 2023-02-10 16:18:30 +08:00
Haojun Liao 72287a3b5f fix(query): set correct tag value during tag filter and do some internal refactor. 2023-02-10 16:03:11 +08:00
yihaoDeng 8c754bed20 fix: mem leak whene fd excced limit 2023-02-10 14:32:31 +08:00
dapan1121 19903eb00c
Merge pull request #19908 from taosdata/fix/TD-22349
fix: taosd crash issue
2023-02-10 14:23:24 +08:00
Hongze Cheng f523a96c2d fix compact problem 2023-02-10 13:38:21 +08:00
dapan1121 5d526d9269 fix: taosd crash issue 2023-02-10 10:57:50 +08:00
Liu Jicong c8acfc4d54 fix: stream meta 2023-02-10 10:48:26 +08:00
Ganlin Zhao 3d3d15b765 fix(query): fix max/min result inconsistent using with first or last
plus interval time window query
2023-02-10 10:45:52 +08:00
Xiaoyu Wang b2e60da1cf merge main 2023-02-10 10:34:55 +08:00
Haojun Liao c537c6c12f Merge branch 'main' into fix/liaohj 2023-02-10 10:24:43 +08:00
Haojun Liao 443e8e2500 fix(query): add limit/offset for sys table scan operator. 2023-02-10 10:23:41 +08:00
Haojun Liao e46657ada2 fix(query): fix memory leak. 2023-02-10 00:30:56 +08:00
Xiaoyu Wang e595dce463
Merge pull request #19890 from taosdata/enh/3.0_planner_optimize
fix: tsdb reader deadlock
2023-02-09 17:34:32 +08:00
Xiaoyu Wang 86d231ce50
Merge pull request #19872 from taosdata/feat/vnode_compact
feat: data compaction
2023-02-09 16:24:50 +08:00
yihaoDeng 5315500287 fix filter error 2023-02-09 16:09:46 +08:00
Xiaoyu Wang e5a27765a2 fix: tsdb reader deadlock 2023-02-09 15:57:37 +08:00
Haojun Liao 6cf363600b
Merge pull request #19785 from taosdata/fix/TD-21899
fix:auto create table & NULL NONE problem for taosx
2023-02-09 15:31:13 +08:00
Hongze Cheng b24d3049f5 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-09 14:27:30 +08:00
Xiaoyu Wang 402cf13f0f
Merge pull request #19884 from taosdata/fix/TD-22331
fix(mnd/sdbdump): return false with null updateDnodeInfoFp
2023-02-09 13:05:17 +08:00
Xiaoyu Wang fcff07675d merge main 2023-02-09 11:29:38 +08:00
54liuyao 40987fa507 feat:do not check whether the expired data has been update 2023-02-09 11:14:28 +08:00
Minglei Jin ba110e992a fix(mnd/sdbdump): return flase with null updateDnodeInfoFp 2023-02-09 10:50:44 +08:00
Xiaoyu Wang 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang 79440f7a26
Merge pull request #19860 from taosdata/fix/3.0_merge_main
merge main
2023-02-09 09:22:19 +08:00
Haojun Liao a39665800e
Merge pull request #19868 from taosdata/fix/liaohj
fix(query): set correct group table size.
2023-02-08 19:00:55 +08:00
Xiaoyu Wang 57ffc1b540 feat: add ignore update option for create stream 2023-02-08 18:55:42 +08:00
Xiaoyu Wang 98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Xiaoyu Wang c000ed6d81 merge main 2023-02-08 17:55:28 +08:00
Liu Jicong ae4ad7d851 Merge branch 'main' into enh/stream_buffer_param 2023-02-08 16:09:35 +08:00
Haojun Liao d69b57fab9 fix(query): set correct size for the last group. 2023-02-08 15:48:27 +08:00
Benguang Zhao 5ce5dded75 enh: reset wal reader after walReadVer 2023-02-08 14:41:15 +08:00
Haojun Liao 43cce095d0 fix(query): set correct group table size. 2023-02-08 14:26:04 +08:00
Xiaoyu Wang f14ec79c41
Merge pull request #19851 from taosdata/fix/main_bugfix_wxy
fix: keepcolumnname is invalid in nested query
2023-02-08 13:17:49 +08:00
Hongze Cheng 89cc687b42 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 13:17:43 +08:00
Xiaoyu Wang 4ff3b5b370
Merge pull request #19861 from taosdata/feat/3.0_wxy
fix: invild free
2023-02-08 13:17:11 +08:00
Xiaoyu Wang 3b24128e59
Merge pull request #19850 from taosdata/fix/TD-21938-test
fix(tdb/defragment): use nlogn page defragment instead of n^2
2023-02-08 13:16:52 +08:00
Hongze Cheng 5a56e39613 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-02-08 11:15:51 +08:00
Shengliang Guan 4578d0971f
Merge pull request #19854 from taosdata/enh/TD-18702
fix: adjust some log while split
2023-02-08 11:10:22 +08:00
54liuyao bafe5a577e ci:add ci 2023-02-08 10:54:45 +08:00
Xiaoyu Wang 0ec0717263 fix: invild free 2023-02-08 10:35:25 +08:00
Minglei Jin dbdf26538c fix(tdb/page): remove n^2 implementation of page defragment 2023-02-08 09:56:18 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Hongze Cheng a086f83c27 fix: slow TDB page defragment 2023-02-08 09:46:48 +08:00
Xiaoyu Wang 2485fa5045
Merge pull request #19839 from taosdata/fix/TD-22245-tdb
fix(stream/state): switch tdb rollback on to restore from journals
2023-02-08 09:17:45 +08:00
Shengliang Guan 7fdeaf19be Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-02-07 20:29:14 +08:00
Xiaoyu Wang a52371959e feat: add ignore update option for create stream 2023-02-07 19:31:08 +08:00
Xiaoyu Wang e91b9ff47c fix: keepcolumnname is invalid in nested query 2023-02-07 19:05:41 +08:00
Xiaoyu Wang 8b6a50d970 feat: add explain test case 2023-02-07 18:35:42 +08:00
Minglei Jin e3ba07e054 test(tdb/defragment): unit test case for page defragment 2023-02-07 18:25:22 +08:00
Xiaoyu Wang 571e936b4a feat: add explain test case 2023-02-07 17:13:38 +08:00
dapan1121 19508d118f
Merge pull request #19817 from taosdata/feat/TS-2502
feat: support force fill in interval clause
2023-02-07 17:00:01 +08:00
54liuyao e89362fb36 feat:stream ignore check update data 2023-02-07 15:29:05 +08:00
Minglei Jin f4a60a4364 fix(stream/state): switch tdb rollback on to restore from journals 2023-02-07 15:11:22 +08:00
Haojun Liao 25f7ac7991
Merge pull request #19836 from taosdata/fix/nodisk
fix(query):add check for no disk error.
2023-02-07 13:36:30 +08:00
Haojun Liao 61be1fdc58 fix(query):fix syntax error. 2023-02-07 11:37:56 +08:00
Haojun Liao 5f89fe7652 fix(query):add check for no disk error. 2023-02-07 11:01:52 +08:00
dapan1121 c878b7985d
Merge pull request #19815 from taosdata/fix/TD-22228
fix: query res freed when fetch handling drop event
2023-02-07 10:21:28 +08:00
Haojun Liao 46fb9227f1
Merge pull request #19825 from taosdata/fix/nodisk
fix(query):set null for if the queried table is dropped
2023-02-07 09:19:58 +08:00
Shengliang Guan 4d20469e2b fix: adjust log formats 2023-02-07 00:12:05 +08:00
Haojun Liao 2d951c1690 fix(query):set null for if the queried table is dropped when retrieving the corresponding tags. 2023-02-06 22:34:27 +08:00
dapan1121 ded47e1312 Merge remote-tracking branch 'origin' into feat/TS-2502 2023-02-06 17:22:18 +08:00
Haojun Liao 3822225231 other: merge main. 2023-02-06 16:24:15 +08:00
dapan1121 eae7fc509f
Merge pull request #19763 from taosdata/fix/TD-22074
fix: fix not msg to send
2023-02-06 16:22:58 +08:00
dapan1121 1f3f92c2cf
Merge pull request #19777 from taosdata/fix/TD-22145
fix: fix fd limit crash
2023-02-06 16:22:02 +08:00
dapan1121 c4295e1b29
Merge pull request #19779 from taosdata/fix/hostShutDown
fix: no resp when host machine shutdown
2023-02-06 16:20:39 +08:00
dapan1121 8ef836202d
Merge pull request #19800 from taosdata/fix/tcpThresd
opt: change transport param
2023-02-06 16:16:29 +08:00
dapan1121 955c3f6275
Merge pull request #19810 from taosdata/fix/TD-22175
fix: fix return invalid code
2023-02-06 16:15:51 +08:00
dapan1121 ab328a7c1e fix: query res freed when fetch handling drop event 2023-02-06 15:26:07 +08:00
Haojun Liao c93108bcbc
Merge pull request #19811 from taosdata/fix/nodisk
enh(query): add check for limit reach status.
2023-02-06 14:32:12 +08:00
Xiaoyu Wang f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
dapan1121 ebbf3af3b1 fix: invalid msg order issue 2023-02-06 13:46:47 +08:00
Haojun Liao 24cdf0e758 enh(query): add check for limit reach status. 2023-02-06 13:40:51 +08:00
Xiaoyu Wang 5639132708
Merge pull request #19804 from taosdata/fix/main_bugfix_wxy
fix: insert syntax error
2023-02-06 12:52:52 +08:00
yihaoDeng 4939f54707 fix invalid code 2023-02-06 12:15:45 +08:00
Xiaoyu Wang 2b4adceb93 fix: insert syntax error 2023-02-06 11:07:51 +08:00
wangmm0220 762f6466f3 fix:conflicts from 3.0 2023-02-06 09:23:29 +08:00
Xiaoyu Wang aa12f5022c
Merge pull request #19799 from taosdata/FIX/TS-2542-main
fix: request snapshot from maximum of commit vers of tsdb and wal
2023-02-06 09:21:51 +08:00
dapan1121 a2b5162ab9
Merge pull request #19753 from taosdata/szhou/fixbugs
fix: show table distributed only works on super table, child table, and normal table
2023-02-06 08:52:44 +08:00
yihaoDeng 0dd4433e58 opt index 2023-02-05 11:49:45 +08:00
Xiaoyu Wang 115160bbd0 fix: insert syntax error 2023-02-05 10:11:26 +08:00
yihaoDeng b36b34c1bb change transport param 2023-02-04 12:56:22 +08:00
yihaoDeng 17b7b81cd7 opt index 2023-02-04 10:25:50 +08:00
Haojun Liao 8dcd73abf0
Merge pull request #19790 from taosdata/fix/nodisk
fix(query): set the correct number of rows when calculating using sma
2023-02-04 00:58:59 +08:00
dapan1121 d286b3c844
Merge pull request #19774 from taosdata/fix/TD-22191
fix: add get ip addr result validation
2023-02-03 19:01:11 +08:00
dapan1121 225bf28536
Merge pull request #19744 from taosdata/fix/TD-22009
enhance: optimize building table delete skyline performance
2023-02-03 19:00:47 +08:00
Benguang Zhao e0412d3057 fix: request snapshot from maximum of commit vers of tsdb and wal 2023-02-03 18:52:59 +08:00
Haojun Liao 845530e125 other: add some logs. 2023-02-03 17:33:35 +08:00
Xiaoyu Wang 5d499e52f9 merge main 2023-02-03 17:13:11 +08:00
Haojun Liao f803fa44b5 fix(query): set the correct number of rows when calculating using sma for min/max function. 2023-02-03 16:50:13 +08:00
dapan1121 bc98324c1d fix: correct ctg job error code 2023-02-03 16:38:09 +08:00
Xiaoyu Wang 9c1b7e8c29
Merge pull request #19764 from taosdata/fix/TD-22162
fix(tdb): return success if txn is commited
2023-02-03 16:01:26 +08:00
wangmm0220 51760c10ec fix:conflicts from 3.0 2023-02-03 15:40:20 +08:00
dapan1121 ef89a31e8f feat: force fill function 2023-02-03 15:37:04 +08:00
Xiaoyu Wang 84f8c7675f
Merge pull request #19768 from taosdata/FIX/TD-22121-main
enh: improve logging msgs for sync snapshot repl
2023-02-03 15:06:57 +08:00
Shengliang Guan 3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Haojun Liao 0030c4b5ee refactor(query): opt perf by remove some functions. 2023-02-03 14:24:00 +08:00
yihaoDeng e7a72d5a28 fix: no resp when host machine shutdown 2023-02-03 13:57:26 +08:00
yihaoDeng 9f62cfd6f3 ref log 2023-02-03 12:12:58 +08:00
yihaoDeng cdf362b588 fix: fix fd limit crash 2023-02-03 12:08:16 +08:00
dapan1121 ca16ebc6e7 fix: add get ip addr result validation 2023-02-03 10:36:47 +08:00
Haojun Liao 645c45a274 refactor(query): opt perf by remove some functions. 2023-02-03 10:28:12 +08:00
dapan1121 120af5da33
Merge pull request #19751 from taosdata/fix/TS-2530
fix: interp support filter and scalar calc
2023-02-03 09:57:57 +08:00
Benguang Zhao 561ee87e9d enh: change the level of sync probe logging msg to trace 2023-02-03 09:22:00 +08:00
Haojun Liao 8e73e3090c
Merge pull request #19652 from taosdata/fix/liaohj
fix(query): do some internal refactor, and identify a bug.
2023-02-02 22:22:55 +08:00
yihaoDeng 1766e46fca fix compile error 2023-02-02 21:46:48 +08:00
dapan1121 40b745932c fix: scalar expr memory leak issue 2023-02-02 19:39:08 +08:00
Benguang Zhao b6b0b3439e enh: rename syncNodeOnSnapshotPre to syncNodeOnSnapshotPrep 2023-02-02 19:34:32 +08:00
dapan1121 d5bc02c1e8 feat: support force fill 2023-02-02 18:03:30 +08:00
Minglei Jin 6cdfa6d60f fix(tdb): return success if txn is commited 2023-02-02 17:51:04 +08:00
yihaoDeng 615fe4869e fix: fix not msg to send 2023-02-02 17:46:58 +08:00
Haojun Liao e9490a3235 refactor(query): disable tag filter cache by default. 2023-02-02 17:38:21 +08:00
wangmm0220 c8d49b603d fix:roll back htol length for block raw data 2023-02-02 17:23:01 +08:00
dapan1121 d88f1efeb1 feat: support force fill clause 2023-02-02 17:16:30 +08:00
Haojun Liao aab31f655c fix(query): fix bug in multi-group limit/offset of the merge sort . 2023-02-02 16:57:05 +08:00
shenglian zhou c4366e4dbc fix: minior, remove blank line 2023-02-02 16:34:20 +08:00
Haojun Liao ab8c977417 other: merge main. 2023-02-02 14:00:36 +08:00
shenglian zhou 3f577c5019 fix: show table distributed only works on super table, child table, and normal table 2023-02-02 11:57:22 +08:00
dapan1121 e234dda2de fix: interp support filter and scalar calc 2023-02-02 11:44:08 +08:00
Xiaoyu Wang 7f571b1ebd fix: a time point can be fill 2023-02-02 10:59:47 +08:00
Haojun Liao 97ca4dfd0b
Merge pull request #19732 from taosdata/feat/ly_stream_stable
Feat/ly stream stable
2023-02-02 10:57:09 +08:00
Haojun Liao 3897a91a95 refactor: do some internal refactor. 2023-02-02 10:17:39 +08:00
Haojun Liao 6a5ce7d663 refactor: opt tag filter perf. 2023-02-02 10:11:36 +08:00
Xiaoyu Wang e6644d85c8 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-02-02 09:42:45 +08:00
Benguang Zhao 043fc8d980 enh: improve logging msgs for sync snapshot repl 2023-02-01 19:26:58 +08:00
Xiaoyu Wang c486530d23
Merge pull request #19720 from taosdata/feat/3.0_insert_explain
feat: explain insert select
2023-02-01 18:44:13 +08:00
Minglei Jin df30b51a75 fix(stream): use tdb page replacement with stream state 2023-02-01 17:59:39 +08:00
Xiaoyu Wang 6a9462c481
Merge pull request #19710 from taosdata/enh/3.0_planner_optimize
enh: add event_window test case
2023-02-01 17:56:47 +08:00
54liuyao cea8a920f7 feat(stream): add ci 2023-02-01 17:50:08 +08:00
54liuyao c4414ec646 feat(stream):exists stable bug&ci 2023-02-01 17:27:04 +08:00
Xiaoyu Wang 637195ce94 fix: the problem of creating a stream without partition by clause 2023-02-01 17:27:03 +08:00
54liuyao fa43fc455a refactor stream interval build result data 2023-02-01 17:27:03 +08:00
Xiaoyu Wang e89ce9b8b9 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-02-01 17:14:34 +08:00
wangmm0220 8a21d7f307 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-21899 2023-02-01 16:13:06 +08:00
Xiaoyu Wang f6df973d4d fix: no cache auto create table error 2023-02-01 10:15:42 +08:00
Xiaoyu Wang 0d2d3349a3 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-02-01 09:45:32 +08:00
Xiaoyu Wang 024824fb3d fix: event_window memory leak 2023-02-01 09:34:14 +08:00
yihaoDeng fa0b70b156 opt tag filter 2023-01-31 22:43:59 +08:00
yihaoDeng c83b697eb3 fix invalid ver 2023-01-31 17:00:19 +08:00
dapan1121 c8394cbf6e fix: add get tb from mem time info 2023-01-31 16:38:29 +08:00
Shengliang Guan 2a8d791e39 Merge remote-tracking branch 'origin/3.0' into enh/TD-18702 2023-01-31 16:31:26 +08:00
Xiaoyu Wang 000eefac82 enh: deal coverity scan 2023-01-31 16:16:03 +08:00
Xiaoyu Wang 4b4468e392 feat: explain insert select 2023-01-31 16:04:57 +08:00
wangmm0220 936b15629f fix:remove htonl length in block encode 2023-01-31 15:26:58 +08:00
wangmm0220 2ad5869659 fix:add log for block encode 2023-01-31 14:25:39 +08:00
Xiaoyu Wang 85936bc963 compile sql.y 2023-01-31 14:25:13 +08:00
Hongze Cheng 11bc53bbd7 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2023-01-31 14:07:58 +08:00
Shengliang Guan f6248d21df fix: coredump if no data while vnode commit 2023-01-31 13:32:08 +08:00
Shengliang Guan 141fcdd49b enh: alter vnode hashrange in cfg file 2023-01-30 17:54:54 +08:00
Haojun Liao 12cea405d1
Merge pull request #19705 from taosdata/fix/TS-2499
fix:process data with incorrect timestamp
2023-01-30 15:15:14 +08:00
dapan1121 c273c42dfb
Merge pull request #19629 from taosdata/szhou/fix-td-21911
fix: add node stopped and get/accquire ctx return node stopped
2023-01-30 15:06:42 +08:00
54liuyao 1ce1f8143c fix:process data with incorrect timestamp 2023-01-30 13:29:15 +08:00
Hongze Cheng 0f00862d8b Merge branch 'fix/TD-22070' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-30 10:17:59 +08:00
Shengliang Guan 98e174606c
Merge pull request #19578 from taosdata/FIX/TD-21942-main
enh: trim the last WAL idx file which is not fsynced
2023-01-30 09:31:28 +08:00
yihaoDeng 474e2e3a32 enh: add/del dynamicIdx 2023-01-29 21:16:47 +08:00
Benguang Zhao bd23a36f86 fix: round lastApplyIndex up to beginIndex -1 in syncBeginSnapshot 2023-01-29 18:03:09 +08:00
Liu Jicong 98906bb272 remove assert 2023-01-29 15:24:31 +08:00
wangmm0220 d7e15881f5 fix:length error in data block 2023-01-29 14:08:56 +08:00
Hongze Cheng 5e7b6602c5 Merge branch 'main' of https://github.com/taosdata/TDengine into fix/3.0_merge_main 2023-01-29 14:05:15 +08:00
Xiaoyu Wang 284286cbc4
Merge pull request #19621 from taosdata/FIX/TD-21218-main
enh: remove unused old routines in sync
2023-01-29 10:56:29 +08:00
Xiaoyu Wang 16bae8ebe3
Merge pull request #19636 from taosdata/FIX/TD-21267-main
fix: not keep wal log vnodeCommit'ed for single replica db
2023-01-29 09:02:27 +08:00
Hui Li f01deae2f0
Merge pull request #19681 from taosdata/fix/wal_ref
fix: wal ref
2023-01-28 18:51:30 +08:00
wangmm0220 d96cdff8f3 fix:add logic for auto create table while inserting data for taosx 2023-01-28 18:25:43 +08:00
Xiaoyu Wang 24157e78d6 merge main 2023-01-28 17:52:58 +08:00
Liu Jicong f5c4ca3380 fix: wal ref 2023-01-28 17:17:55 +08:00
Liu Jicong 2a71d47668 fix: wal ref 2023-01-28 16:11:17 +08:00
Liu Jicong 51866dadbe Merge branch 'fix/task_db' into enh/stream_buffer_param 2023-01-28 11:24:46 +08:00
Liu Jicong 089bc74055 Merge branch 'main' into enh/stream_buffer_param 2023-01-28 11:24:25 +08:00
Xiaoyu Wang 8258c68b6d fix: subquery output ignores group id 2023-01-28 11:11:37 +08:00
Liu Jicong 0c6f6d3a42 fix: task db 2023-01-28 10:59:09 +08:00
Xiaoyu Wang beb3de8530 fix: limit push down error 2023-01-28 10:53:43 +08:00
Xiaoyu Wang 6d1621c221 Merge remote-tracking branch 'origin/fix/main_bugfix_wxy' into fix/liaohj 2023-01-28 10:36:23 +08:00
Xiaoyu Wang ec1592390a fix: limit push down error 2023-01-28 10:35:21 +08:00
Xiaoyu Wang 922f0781ad
Merge pull request #19640 from taosdata/feat/3.0_stream_wxy
fix: support writing streams to existing tables
2023-01-28 10:33:06 +08:00
Xiaoyu Wang 83a711c37f merge main 2023-01-28 09:24:30 +08:00
Xiaoyu Wang f487c4e63f
Merge pull request #19524 from taosdata/fix/long_query
fix(query): switch buffer pool recycle on
2023-01-28 08:51:51 +08:00
Haojun Liao c1ffbb5c1c refactor:do some internal refactor. 2023-01-23 01:11:04 +08:00
Haojun Liao 21d57a3624 fix(query): check for failure during add new buf pages. 2023-01-22 01:45:29 +08:00
Haojun Liao a898be4f7d fix(query): set correct total rsp rows. 2023-01-20 23:38:31 +08:00
Haojun Liao 7803104b7e fix(query): do some internal refactor, and identify a bug. 2023-01-20 22:50:35 +08:00
Haojun Liao 41f73b4294 Merge branch 'main' into fix/liaohj 2023-01-20 22:08:36 +08:00
Haojun Liao 5950f6fad5 Merge branch 'fix/liaohj' of github.com:taosdata/tdengine into fix/liaohj 2023-01-20 18:09:51 +08:00
Haojun Liao fae4f2c4ed refactor: do some internal refactor. 2023-01-20 18:08:34 +08:00
Haojun Liao fd5820b052
Merge pull request #19643 from taosdata/fix/liaohj
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-19 18:42:37 +08:00
dapan1121 d363971675
Merge pull request #19638 from taosdata/fix/TS-2404
fix: atexit memory leak issue
2023-01-19 10:14:25 +08:00
yihaoDeng bfd711c08f Merge remote-tracking branch 'origin/3.0' into dynamicIdx 2023-01-18 22:01:49 +08:00
dapan1121 2d579cfc16 fix: fix compile issue 2023-01-18 17:27:27 +08:00
Xiaoyu Wang f8082bc752
Merge pull request #19623 from taosdata/enh/3.0_planner_optimize
enh: optimize execute plan when 'tail' function is used with 'partition by' clause
2023-01-18 17:25:16 +08:00
dapan1121 d130d1a84a fix: atexit memory leak issue 2023-01-18 17:13:35 +08:00
dapan1121 2d42608813
Merge pull request #19632 from taosdata/fix/TS-2461
fix: rows number exceeds block capacity issue
2023-01-18 16:56:05 +08:00
Benguang Zhao 1f01ba7cc0 fix: not keep wal log vnodeCommit'ed for single replica db 2023-01-18 16:34:08 +08:00
Haojun Liao c9a1b3ba01 fix(query): handle the multi-group limit/offset in table group merge scan/ multiway-merge executor. 2023-01-18 16:24:29 +08:00
dapan1121 17bfb8228a fix: rows number exceeds block capacity issue 2023-01-18 15:55:24 +08:00
slzhou d9b22b3299 fix: add node stopped and get/accquire ctx return node stopped 2023-01-18 15:13:16 +08:00
Xiaoyu Wang f1d6262630 enh: optimize execute plan when 'tail' function is used with 'partition by' clause 2023-01-18 12:26:01 +08:00
Xiaoyu Wang 57258e2527 fix: support writing streams to existing tables 2023-01-18 12:00:53 +08:00
Xiaoyu Wang dd0ea40768 Merge remote-tracking branch 'origin/fix/liaohj' into enh/3.0_planner_optimize 2023-01-18 10:56:03 +08:00
Benguang Zhao e55a76e25a Merge branch main into FIX/TD-21218-main 2023-01-18 10:15:16 +08:00
Benguang Zhao d611793537 enh: remove unused old routines in sync 2023-01-18 10:07:16 +08:00
Xiaoyu Wang caf3de2959 fix: support writing streams to existing tables 2023-01-18 09:30:54 +08:00
dapan1121 78d674e9c7
Merge pull request #19613 from taosdata/fix/TD-21939
fix: crash caused of wrong task phase issue
2023-01-18 09:02:06 +08:00
dapan1121 487f0c708e
Merge pull request #19601 from taosdata/fix/catalogDeadLock
fix: fix vgroup dead lock issue
2023-01-18 08:56:49 +08:00
Xiaoyu Wang 554b8c6418 enh: optimize execute plan when 'tail' function is used with 'partition by' clause 2023-01-18 04:43:04 +08:00
Xiaoyu Wang 2a4c97cfb4
Merge pull request #19606 from taosdata/enh/3.0_planner_optimize
feat: support writing streams to existing tables
2023-01-17 18:27:56 +08:00
dapan1121 e70f767647 fix: crash caused of wrong task phase issue 2023-01-17 17:53:56 +08:00
Xiaoyu Wang ca43c0ab55 feat: support writing streams to existing tables 2023-01-17 16:47:43 +08:00
54liuyao e03deeaed8 feat:add stream delete mark 2023-01-17 16:21:51 +08:00
Xiaoyu Wang ac09a05cfa feat: create stream support delete_mark option 2023-01-17 15:34:58 +08:00
dapan1121 69ecd6e50a fix: compile issue 2023-01-17 14:46:33 +08:00
dapan1121 6284e87217 fix: fix vgroup dead lock issue 2023-01-17 14:36:00 +08:00
Shengliang Guan e11d57d58c
Merge pull request #19533 from taosdata/FIX/TD-21662-main
enh: skip WAL forceSync for single replica vgroup
2023-01-17 14:25:04 +08:00
dapan1121 7dbe44b2b7
Merge pull request #19589 from taosdata/fix/TD-21925
fix: insert into select can't be stopped issue
2023-01-17 13:27:02 +08:00
Xiaoyu Wang b7bfe9780d
Merge pull request #19583 from taosdata/feature/event
feat: add event window
2023-01-17 10:45:20 +08:00
Haojun Liao 07cf336fa0 refactor: add an array list api. 2023-01-17 09:43:33 +08:00
dapan1121 63a23a3562 fix: insert into select can't be stopped issue 2023-01-17 09:12:51 +08:00
Huo Linhe 59ecfb6d96 chore: fix write_raw_block_with_fields error
Close [TD-21949](https://jira.taosdata.com:18080/browse/TD-21949)
2023-01-17 09:12:45 +08:00
Shengliang Guan 01647debb9
Merge pull request #19581 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-17 08:53:43 +08:00
Haojun Liao f69e8509c3 fix(query): disable some warnings. 2023-01-16 19:17:37 +08:00
Haojun Liao abc8c0fda1 refactor: do some internal refactor. 2023-01-16 18:40:44 +08:00
Haojun Liao 59e25c0191
Merge pull request #19576 from taosdata/fix/liaohj
test: add new sim to CI.
2023-01-16 18:17:39 +08:00
Xiaoyu Wang 0b1bb7a1fb merge 3.0 2023-01-16 17:55:35 +08:00
Haojun Liao 138d1d26f0 refactor: opt hash perf. 2023-01-16 17:55:25 +08:00
dapan1121 2f889eb77e
Merge pull request #19569 from taosdata/szhou/fixbugs
fix: add stt_trigger to show create database processing
2023-01-16 17:26:28 +08:00
Haojun Liao e3248d0053 refactor: disable warning. 2023-01-16 16:02:23 +08:00
Shengliang Guan d476b6db13 enh: update epset on dnode info changed 2023-01-16 15:41:50 +08:00
Benguang Zhao 95493432ed enh: trim the last WAL idx file which is not fsynced 2023-01-16 14:12:26 +08:00
dapan1121 62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
Haojun Liao 9f61d3ebab
Merge pull request #19559 from taosdata/fix/liaohj
fix(query): use the recycled blocks to reduce the cached buffer.
2023-01-16 11:34:38 +08:00
Xiaoyu Wang 30381ec446 fix: sma optimize memory leak 2023-01-16 11:03:53 +08:00
slzhou 51cdd4af19 fix: add stt_trigger to show create database processing 2023-01-16 10:28:34 +08:00
Xiaoyu Wang 9ba8d4f935 fix: rollback 2023-01-16 09:53:43 +08:00
Xiaoyu Wang aa98d1d3fd Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-01-16 09:44:32 +08:00
Shengliang Guan 307f457103 Merge remote-tracking branch 'origin/3.0' into enh/TD-20047 2023-01-16 09:40:37 +08:00
Shengliang Guan dbea8004a9
Merge pull request #19555 from taosdata/enh/TD-20047
fix: update epset on dnode info changed
2023-01-16 09:40:15 +08:00
Haojun Liao 94e8aafcf6
Merge pull request #19543 from taosdata/feat/ly_stream
create stream and use existing super table
2023-01-14 23:30:25 +08:00
Haojun Liao 82f4db302e refactor: do some internal refactor. 2023-01-14 23:17:57 +08:00
Haojun Liao 9997362cf7 fix(query): use the recycled blocks to reduce the cached buffer. 2023-01-14 01:12:15 +08:00
Shengliang Guan ad8c73645b fix: update epset on dnode info changed 2023-01-13 15:26:24 +08:00
yihaoDeng 3c97e3fc1a add execute plan 2023-01-13 14:39:50 +08:00
Haojun Liao eea9d4f21d enh(query): prepare the buffer on the stack, instead of heap. 2023-01-13 14:34:15 +08:00
Xiaoyu Wang 9a0c2805f4 merge main 2023-01-13 13:54:04 +08:00
dapan1121 d864d4d62b
Merge pull request #19523 from taosdata/szhou/fixbugs
fix: no stable null group when no normal table
2023-01-13 13:28:02 +08:00
Shengliang Guan bd531ccfb3
Merge pull request #19542 from taosdata/enh/TD-20047
refact: adjust return value of tmsgUpdateDnodeInfo
2023-01-13 10:54:10 +08:00
54liuyao 3ec1560faa create stream and use existing super table 2023-01-13 10:26:49 +08:00
Xiaoyu Wang 4c8a2caa12 fix: stmt memory leak 2023-01-12 17:24:04 +08:00
Shengliang Guan cd0404bc25 refact: adjust return value of tmsgUpdateDnodeInfo 2023-01-12 17:08:33 +08:00
yihaoDeng 72b43d240d add/delete tag idx 2023-01-12 16:31:55 +08:00
Xiaoyu Wang 4359562e9c fix: stmt memory leak 2023-01-12 15:01:19 +08:00
Xiaoyu Wang 0e061fb53c fix: stmt memory leak 2023-01-12 13:57:47 +08:00
Xiaoyu Wang 7466b5042d fix: stmt memory leak 2023-01-12 13:50:31 +08:00
Shengliang Guan 3973e0512d Merge remote-tracking branch 'origin/main' into fix/TD-21663-2 2023-01-12 13:29:35 +08:00
Minglei Jin a2e35ce13b streamState/tdb: use NULL for tdbBegin's heap source 2023-01-12 11:26:13 +08:00
Xiaoyu Wang 108863e454 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-01-12 10:06:22 +08:00
Benguang Zhao 5a4cc36079 enh: skip WAL forceSync for single replica vgroup 2023-01-12 09:25:55 +08:00
Shengliang Guan 6af99d7547
Merge pull request #19518 from taosdata/FIX/TD-21662-main
enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0
2023-01-12 09:09:26 +08:00
shenglian zhou 50bb847ff9 fix: no stable null group when no normal table 2023-01-12 09:06:58 +08:00
wangmm0220 8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
Benguang Zhao 97ce96a2fa enh: not fsync idx file in walFsync 2023-01-11 19:24:51 +08:00
wangmm0220 672378f000 fix:add logic for ins_columns 2023-01-11 18:54:43 +08:00
Haojun Liao fc42143c47 fix(query): fix error in generated the group results. 2023-01-11 18:53:20 +08:00
Haojun Liao e9fc109edf enh(query): opt query perf. 2023-01-11 18:47:45 +08:00
Benguang Zhao 871a585a61 enh: fsync each WAL log after appending when wal_level=2 and wal_fsync_period=0 2023-01-11 18:28:45 +08:00
Haojun Liao 7efdc9e27a fix(query): fix memory leak. 2023-01-11 18:00:36 +08:00
Haojun Liao 67a291955e fix(query): initialize output buffer for each output. 2023-01-11 17:36:01 +08:00
Xiaoyu Wang b9c870b4ce Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-01-11 17:33:33 +08:00
Shengliang Guan cff741e4c4 fix: coverity issues 2023-01-11 16:56:14 +08:00
Minglei Jin 7b331135cf fix(tdb/ofp): upgrade ofp cell with large key 2023-01-11 16:16:05 +08:00
Shengliang Guan 6fccf849a1
Merge pull request #19503 from taosdata/fix/TD-21888
fix(tdb/ofp): upgrade large key ofp case
2023-01-11 15:57:47 +08:00
Haojun Liao 53f27901a5 Merge branch 'main' into feature/3_liaohj 2023-01-11 15:42:34 +08:00
wangmm0220 19e72938f6 fix:add logic for ins_columns 2023-01-11 15:06:42 +08:00
Minglei Jin 1872627343 fix(tdb/ofp): upgrade large key ofp case 2023-01-11 14:53:13 +08:00
wangmm0220 3e7aaf6adc fix:add logic for ins_columns 2023-01-11 14:27:36 +08:00
Xiaoyu Wang 5c8931ab31 Merge remote-tracking branch 'origin/main' into fix/main_bugfix_wxy 2023-01-11 13:54:16 +08:00
yihaoDeng 3e738363aa add/delete tag index 2023-01-11 13:36:07 +08:00
Haojun Liao 78f49db0ad other: merge main. 2023-01-11 13:31:41 +08:00
Haojun Liao 3a848ccb36 fix(query): fix the invalid return value check for percentile function. 2023-01-11 13:19:17 +08:00
Haojun Liao e0dbe22199 fix(query): fix uninitialized memory buffer accessed. 2023-01-11 10:27:23 +08:00
Xiaoyu Wang b8183580cb feat: add an event_window clause for the explain command 2023-01-11 09:22:31 +08:00
Haojun Liao abae9e0790 fix(query): set 0 when result is not qualified. 2023-01-10 23:40:16 +08:00
wangmm0220 3b4ff4d094 fix:add logic for scan ins_columns 2023-01-10 20:32:31 +08:00
Haojun Liao 94c416eb30 enh(query): opt agg. 2023-01-10 18:48:55 +08:00
Haojun Liao 0b4f1298d7 enh(query): opt agg. 2023-01-10 18:48:20 +08:00
Haojun Liao f67808a227 refactor: do some internal refactor. 2023-01-10 16:43:15 +08:00
Shengliang Guan 9011015aff
Merge pull request #19477 from taosdata/feature/stream_main
fix: reset table scan status
2023-01-10 16:26:10 +08:00
Haojun Liao e7d0178634 enh(query): dynamic invoke the intrinsic instruction according to different length for different data type. 2023-01-10 15:48:01 +08:00
Liu Jicong fcbac7236e fix: reset table scan status 2023-01-10 13:47:18 +08:00
Haojun Liao 1354eac985 Merge branch 'main' into feature/3_liaohj 2023-01-10 13:21:49 +08:00
Benguang Zhao df6e9631e1 fix: synchronize access within walFsync 2023-01-10 11:24:05 +08:00
54liuyao d5ade95b31 feat(stream):user define tag 2023-01-10 10:13:56 +08:00
Benguang Zhao 639652314f Merge branch main to FIX/TD-21428-main 2023-01-09 16:17:00 +08:00
dapan1121 66f2cc2704
Merge pull request #19446 from taosdata/fix/TD-21728
fix: error code not returned issue
2023-01-09 15:43:30 +08:00
dapan1121 71d5916030 fix: error code not returned issue 2023-01-09 13:22:11 +08:00
Shengliang Guan 9a9e93b6fe fix: compile error in mac 2023-01-09 12:06:20 +08:00
Shengliang Guan 2aeda3a941 enh: refact raft store file 2023-01-09 12:01:36 +08:00
Xiaoyu Wang 4dca6df296 enh: optimize the error message of the situation that percentile function does not support 2023-01-09 11:50:34 +08:00
Shengliang Guan d4d329ecce fix: rename global variables 2023-01-09 10:18:12 +08:00
Liu Jicong c79b722372 remove state commit 2023-01-09 10:12:24 +08:00
Shengliang Guan 398161eb5f Merge branch 'main' into merge/mainto3.0_0108 2023-01-09 10:00:53 +08:00
Shengliang Guan d90eef6656 Merge branch '3.0' into merge/mainto3.0_0108 2023-01-08 09:54:21 +08:00
Shengliang Guan 42d911bf8e Merge remote-tracking branch 'origin/main' into FIX/TD-21043-main 2023-01-08 09:44:07 +08:00
Shengliang Guan 0e561d0486
Merge pull request #19412 from taosdata/fix/main_bugfix_wxy
fix: set operator precision miss
2023-01-08 09:38:41 +08:00
Shengliang Guan dc3bcbcb15
Merge pull request #19298 from taosdata/fix/TD-20098-2
fix; fix invalid vgroup id
2023-01-07 10:55:43 +08:00
Shengliang Guan 8c042f0eef
Merge pull request #19338 from taosdata/fix/TD-21697
fix: td-21697
2023-01-07 10:55:09 +08:00
Haojun Liao 972f9b6948 refactor: do some internal refactor. 2023-01-07 00:59:05 +08:00
wangmm0220 e1020b7967 fix:add interface for taos_get_current_db 2023-01-06 19:20:31 +08:00
dapan1121 feb396270d
Merge pull request #19278 from taosdata/enh/TD-21108
feat: support crash report to telemetry server
2023-01-06 19:13:37 +08:00
Liu Jicong 65e7dbda0c enh: enlarge state buffer size 2023-01-06 17:37:45 +08:00
Shengliang Guan 10e7d88e49
Merge pull request #19418 from taosdata/fix/TD-21789
fix: handle error while write vnodes.json
2023-01-06 17:14:14 +08:00
Ganlin Zhao eae188b445 fix: fix no available disk error 2023-01-06 16:19:41 +08:00
Haojun Liao 0966528a2b refactor: do some internal refactor. 2023-01-06 16:05:13 +08:00
Shengliang Guan 71be00a811 fix: minor changes 2023-01-06 15:42:11 +08:00
Ganlin Zhao 4203a9e184 fix: fix no available disk error 2023-01-06 14:33:48 +08:00
Shengliang Guan 81dcb23cae fix: handle error while write raft config file 2023-01-06 14:26:43 +08:00
dapan1121 e55cc0af22 Merge remote-tracking branch 'origin' into enh/TD-21108 2023-01-06 13:40:32 +08:00
Xiaoyu Wang aa8eea0d65 fix: set operator precision miss 2023-01-06 13:35:07 +08:00
Haojun Liao d208282a2b refactor: do some internal refactor. 2023-01-06 13:17:22 +08:00
Haojun Liao 9dd07cc1e1 other:merge main. 2023-01-06 12:54:26 +08:00
Shengliang Guan b9f95b6a12
Merge pull request #19390 from taosdata/merge/mainto3.0_0105
merge from main to 3.0
2023-01-06 08:59:32 +08:00
Haojun Liao 264383c2be enh(query): disable an error log. 2023-01-05 18:59:36 +08:00
Benguang Zhao e66f19ab46 enh: vote for higher lastLogTerm despite commitIndex 2023-01-05 17:09:37 +08:00
Benguang Zhao 47ace00090 enh: refactor some sync func names for pipelining 2023-01-05 17:09:37 +08:00
dapan1121 4fa6aba2bd
Merge pull request #19387 from taosdata/fix/TD-21668
fix: fix coverity issues
2023-01-05 16:37:48 +08:00
Shengliang Guan 84bea778c9 Merge branch 'fix/TD-21746' into FIX/TD-21043-main 2023-01-05 16:15:50 +08:00