Commit Graph

11486 Commits

Author SHA1 Message Date
Haojun Liao 7c66b80045 Merge branch '3.0' into feature/3_liaohj 2022-12-04 22:21:49 +08:00
dapan1121 9cb07360de
Merge pull request #18643 from taosdata/enh/insert_multi_table_optimize
enh: optimize multiple table insert
2022-12-04 16:48:15 +08:00
dapan1121 f9f60a8f39
Merge pull request #18646 from taosdata/fix/TD-20684-3.0
feat(api): add new api int64_t taos_affected_rows64
2022-12-04 16:47:51 +08:00
Hongze Cheng df6eb27b75 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 14:51:05 +08:00
Shengliang Guan df4e966136
Merge pull request #18672 from taosdata/feature/3.0_sync_pipeline
refactor(sync): add config item and default value in sync
2022-12-04 11:22:08 +08:00
Hongze Cheng f9bd8b3a51 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 10:08:59 +08:00
Minghao Li 575c5e89fc refactor(sync): add config item in sync 2022-12-04 09:49:27 +08:00
Hongze Cheng d977929c99 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-04 09:37:29 +08:00
Benguang Zhao 21ff35ee42 fix: truncate WAL on need while syncLogBufferRollback 2022-12-04 08:13:49 +08:00
Shengliang Guan cc8e1071ab
Merge pull request #18668 from taosdata/FIX/TD-19334-3.0
fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg
2022-12-03 22:06:40 +08:00
Shengliang Guan 241638de33
Merge pull request #18661 from taosdata/fix/liao_cov
enh(query): improve the performance and add some todo
2022-12-03 21:41:38 +08:00
Benguang Zhao a7807d3ee4 fix: synchronize syncPropose for executing blocking msgs in vnodeProposeMsg 2022-12-03 20:53:56 +08:00
dapan1121 c3267d5294 fix: fix db release issue 2022-12-03 15:08:45 +08:00
Haojun Liao 4a121d40d6 fix(query): fix syntax error. 2022-12-03 13:47:51 +08:00
Shengliang Guan b4cb000634
Merge pull request #18659 from taosdata/refact/TD-20127
refact: remove some error codes
2022-12-03 13:00:24 +08:00
Haojun Liao 658cb393a7 enh(query): improve the performance and add some todo 2022-12-03 12:11:20 +08:00
Shengliang Guan d9c261cd13 refact: remove some error codes 2022-12-03 10:17:02 +08:00
Benguang Zhao 7eca212756 Merge branch '3.0' into FIX/TD-19334-3.0 2022-12-03 10:02:59 +08:00
dapan1121 6cb65fabdc fix: fix stable not exist crash issue 2022-12-03 09:43:37 +08:00
Alex Duan 81dc25819d feat(api): add int64 affect row fix build error 2022-12-03 09:42:58 +08:00
Shengliang Guan 7ba56169a2
Merge pull request #18652 from taosdata/fix/liao_cov
refactor: add function for extract the required buffer during query.
2022-12-03 09:20:46 +08:00
Shengliang Guan 2734405a8f Merge branch '3.0' into enh/changeRpcLogLevel 2022-12-03 09:19:59 +08:00
Benguang Zhao 2ce07c6ec1 fix: get result of tmsPutToQueue for FpCommitCb 2022-12-03 09:05:50 +08:00
Benguang Zhao e97c8f637b enh: logging sync log buffer rollback events 2022-12-03 09:05:39 +08:00
Haojun Liao de0022b473 fix(query): fix error in record the created time. 2022-12-02 23:38:05 +08:00
Alex Duan 213b97b79a feat(api): taos_affected_rows64 add and modfiy tmsg.h 2022-12-02 23:20:19 +08:00
yihaoDeng 3d28255dfa change rpc log level 2022-12-02 23:19:57 +08:00
Haojun Liao 5e77b3eca3 refactor: add function for extract the required buffer during query. 2022-12-02 23:10:03 +08:00
Shengliang Guan f3e980de14 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:45:11 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
dapan1121 94ab465b15
Merge pull request #18621 from taosdata/fix/removeInvalidTab
fix: remove invalid table
2022-12-02 21:07:43 +08:00
dapan1121 84eb77e124
Merge pull request #18590 from taosdata/szhou/table-count-scan
enhancement: table count scan
2022-12-02 21:07:28 +08:00
Shengliang Guan 6d70f48802
Merge pull request #18592 from taosdata/feature/3_liaohj
enh(query): optimize query perf.
2022-12-02 21:00:35 +08:00
Alex Duan 855b0c8cbe feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:57:46 +08:00
Alex Duan 9fb4fa0a7f feat(api): add int64 affected rows modify tmsg.h struct 2022-12-02 20:48:39 +08:00
dapan1121 cafcec2571 fix: make vgroup array when needed 2022-12-02 20:09:44 +08:00
dapan1121 b08ee99c4c fix: vgroup array not made in some cases 2022-12-02 18:09:38 +08:00
Alex Duan 878f2a2c19 fix(shell): reset dataDispatcher mistake modify 2022-12-02 17:01:40 +08:00
Shengliang Guan 99968ccc4f enh: adjust error code 2022-12-02 16:46:43 +08:00
Shengliang Guan 24ee4b4289 Merge branch '3.0' into enh/TD-20891 2022-12-02 16:44:46 +08:00
Alex Duan 39482b24db feat(shell): supported affected rows int64_t 2022-12-02 16:42:38 +08:00
dapan1121 3c1e52eb91 fix: fix size_t compile issue 2022-12-02 16:40:09 +08:00
dapan1121 7b18f0a842 fix: fix compile issue 2022-12-02 16:36:56 +08:00
Hongze Cheng e9356fa59d Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-02 16:28:53 +08:00
dapan1121 6593c835fe
Merge pull request #18632 from taosdata/fix/TD-20727
fix: filter memory leak cause of same const strings
2022-12-02 16:23:12 +08:00
dapan1121 76fd76cd1a enh: optimize db vgroup cache and child table meta retrieving 2022-12-02 16:22:06 +08:00
Shengliang Guan 13f36ec20a refact: remove TSDB_CODE_APP_NOT_READY and TSDB_CODE_NODE_NOT_DEPLOYED 2022-12-02 16:06:10 +08:00
Haojun Liao 42a512c39f refactor: do some internal refactor. 2022-12-02 15:52:32 +08:00
Minglei Jin 6cb65f336d Merge branch 'v3.0' into feat/async_commit 2022-12-02 14:49:58 +08:00
dapan1121 051ac7d874 Merge remote-tracking branch 'origin/3.0' into enh/insert_multi_table_optimize 2022-12-02 14:28:46 +08:00
dapan1121 7bb30150a9 fix: fix memory leak 2022-12-02 14:23:36 +08:00
Xiaoyu Wang 85ea8bbbb3 Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-02 14:04:50 +08:00
dapan1121 55e544793c
Merge pull request #18599 from taosdata/fix/TD-20802
enh: support query retry cause of dnode stopped
2022-12-02 14:01:16 +08:00
dapan1121 1fcd99176b fix: filter memory leak cause of same const strings 2022-12-02 10:59:52 +08:00
Xiaoyu Wang 64a2bd481c fix: check subquery time series error 2022-12-02 10:30:23 +08:00
slzhou ea3944894f Merge branch 'enh/3.0_planner_optimize' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-02 10:18:48 +08:00
dapan1121 dff4c36092
Merge branch '3.0' into fix/TD-20802 2022-12-02 10:11:39 +08:00
Haojun Liao 83782fb27b fix(query): fix invalid tag fill and clear nullbitmp 2022-12-02 10:07:48 +08:00
Xiaoyu Wang 67d6ea93b0 enh: ins_table count optimize 2022-12-02 10:02:22 +08:00
Shengliang Guan d8f72ec014
Merge pull request #18611 from taosdata/enh/refatorRetry
enh: refactor retry code
2022-12-02 08:02:33 +08:00
Shengliang Guan a366696478
Merge pull request #18596 from taosdata/feature/stream
refactor(stream): distributed checkpoint
2022-12-02 07:51:10 +08:00
Shengliang Guan 1d3cd2751a
Merge pull request #18622 from taosdata/FIX/TD-19334-3.0
fix: get prevLogTerm of index zero as 0 only when firstVer is zero
2022-12-02 07:50:48 +08:00
Liu Jicong 3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Benguang Zhao 03d62e478f fix: get prevLogTerm of index zero as 0 only when firstVer is zero 2022-12-01 22:18:08 +08:00
Haojun Liao 1faf616f1d fix(query): fix null ptr access in evaluation block distribution. 2022-12-01 22:17:53 +08:00
Haojun Liao 24614d03bd fix(query): set correct sma retrieve procedure. 2022-12-01 21:35:01 +08:00
slzhou 011af4f30c Merge branch 'enh/3.0_planner_optimize' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 20:36:49 +08:00
yihaoDeng 1750b5cc92 remove invalid table 2022-12-01 20:34:06 +08:00
Haojun Liao efcc3b06bb fix(query): fix memory leak. 2022-12-01 20:01:09 +08:00
slzhou ee5d0a384f fix: refactor table scan count 2022-12-01 19:05:33 +08:00
Hongze Cheng 3fc30c991e Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/async_commit 2022-12-01 18:59:21 +08:00
dapan1121 7facf64e5a fix: optimize ctg code 2022-12-01 18:58:30 +08:00
Haojun Liao 740daefdc5 fix(query): fix a typo. 2022-12-01 18:39:15 +08:00
Haojun Liao 8c62d5f9fa fix(query): fix bug in tsdbread. 2022-12-01 18:34:26 +08:00
Minghao Li 3f4ba9a792 fix(sync): delete duplicate code 2022-12-01 18:15:59 +08:00
dapan1121 7ad0226e32 fix: add debug code info 2022-12-01 18:04:13 +08:00
Xiaoyu Wang 233377444c enh: ins_table count optimize 2022-12-01 17:57:53 +08:00
Shengliang Guan 9f90467b68
Merge pull request #18614 from taosdata/feature/3.0_mhli
refactor(sync): put heartbeat-reply msg into sync-ctrl-queue
2022-12-01 17:25:54 +08:00
Haojun Liao f8a2ab8338 refactor: do some internal refactor. 2022-12-01 17:24:26 +08:00
slzhou a2de81e908 fix: fill scan type for select count(*) from ins_tables 2022-12-01 16:58:47 +08:00
slzhou b8ed0459a6 fix: change the paramter instead of table name 2022-12-01 16:50:23 +08:00
Shengliang Guan 806658545a
Merge pull request #18449 from taosdata/FIX/TD-19334-3.0
feat: implement pipelining of sync
2022-12-01 16:40:07 +08:00
yihaoDeng 3378ff0fb8 refactor code 2022-12-01 16:03:40 +08:00
Shengliang Guan 704885e212 fix: compile error 2022-12-01 15:07:40 +08:00
Shengliang Guan fe759c85f3 Merge remote-tracking branch 'origin/3.0' into FIX/TD-19334-3.0 2022-12-01 15:04:55 +08:00
dapan1121 98726f17fa fix: redirect handler issue 2022-12-01 14:54:58 +08:00
54liuyao bccb31aced fix:stream crash && add debug log 2022-12-01 14:15:50 +08:00
Shengliang Guan ce768920ef
Merge pull request #18604 from taosdata/feature/3.0_mhli
refactor(sync): add traceId log
2022-12-01 14:11:10 +08:00
Minghao Li bbd8c05181 Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-12-01 13:27:35 +08:00
Minghao Li f5bebc53f1 refactor(sync): add traceId log 2022-12-01 12:53:38 +08:00
dapan1121 6e73c89e50 fix: executor returns kill task error code 2022-12-01 12:22:03 +08:00
Shengliang Guan b6f1ce2027
Merge pull request #18589 from taosdata/feature/3.0_mhli
refactor(sync): help to display leader**
2022-12-01 11:54:39 +08:00
Shengliang Guan b01120f0d2
Merge pull request #18584 from taosdata/fix/3.0_bugfix_wxy
feat: sql command 'show user privileges'
2022-12-01 11:53:21 +08:00
slzhou 58c75dde6f fix: add seperate group for normal table when group by db_name/stbable_name 2022-12-01 11:38:34 +08:00
slzhou 920eac302e Merge branch 'enh/3.0_planner_optimize' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 10:58:48 +08:00
Xiaoyu Wang eea8d7bebb enh: ins_table count optimize 2022-12-01 10:48:36 +08:00
Xiaoyu Wang 337ae6fffb Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-12-01 09:22:50 +08:00
dapan1121 b430f653b9 Merge remote-tracking branch 'origin/3.0' into fix/TD-20802 2022-12-01 09:22:31 +08:00
slzhou 903718940d Merge branch '3.0' of github.com:taosdata/TDengine into szhou/table-count-scan 2022-12-01 09:14:10 +08:00
Haojun Liao cefe4be1ab refactor: do some internal refactor. 2022-12-01 00:34:06 +08:00
Benguang Zhao 55bae49d56 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-30 23:47:30 +08:00
Shengliang Guan 6304959f9b
Merge pull request #18580 from taosdata/fix/TS-2163
fix(query): fix interp with fill(prev) error
2022-11-30 23:21:51 +08:00
Shengliang Guan 7dcd03f0cd
Merge pull request #18588 from taosdata/fix/TD-20829
fix: fix index filter crash
2022-11-30 23:17:02 +08:00
Benguang Zhao 3cbe109e4b fix: initialize vnode state applyTerm with commitTerm in vnodeOpen 2022-11-30 22:41:33 +08:00
Shengliang Guan 5c2ac1a625
Merge pull request #18591 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 22:12:56 +08:00
Haojun Liao 26ab0894a8 fix(query): fix syntax error. 2022-11-30 21:56:02 +08:00
Shengliang Guan c0ecd4cebb
Merge pull request #18587 from taosdata/fix/TD-20857
refactor(sync): if already start, force close snapshot receiver
2022-11-30 21:50:29 +08:00
Haojun Liao 2c8b962b5a refactor: do some internal refactor. 2022-11-30 21:04:58 +08:00
Minghao Li f0fdc58c52 refactor(sync): help to display leader** 2022-11-30 20:56:58 +08:00
yihaoDeng df661958fc fix case 2022-11-30 20:42:03 +08:00
Minghao Li 7497eab926 refactor(sync): if already start, force close snapshot receiver 2022-11-30 20:32:43 +08:00
Shengliang Guan d4035e26e1
Merge pull request #18579 from taosdata/fix/liao_cov
refactor: do some internal refactor.
2022-11-30 20:16:56 +08:00
slzhou 45ecc2ba52 fix: no result for table cout scan group by dbname,stable_name for systable 2022-11-30 19:52:29 +08:00
Xiaoyu Wang 4e8acca2eb feat: sql command 'show user privileges' 2022-11-30 19:24:15 +08:00
Ganlin Zhao ef054d9ddc fix(query): fix interp with fill(prev) error 2022-11-30 18:01:20 +08:00
Haojun Liao 124fb5fc50 refactor: do some internal refactor. 2022-11-30 17:52:12 +08:00
Shengliang Guan e3119887fa
Merge pull request #18574 from taosdata/fix/TD-20803
fix(query): fix avg calculation error after SIMD optimize
2022-11-30 17:43:50 +08:00
Shengliang Guan 1c30823b36
Merge pull request #18570 from taosdata/fix/TD-20831
fix:stream scan handles empty datablcok
2022-11-30 17:43:33 +08:00
Shengliang Guan fd31980b91
Merge pull request #18535 from taosdata/enh/addTraceInfo
enh: add trace info
2022-11-30 17:23:20 +08:00
Hongze Cheng df7c07a541 Merge branch 'fix/tdb-async-commit' of https://github.com/taosdata/TDengine into feat/async_commit 2022-11-30 16:48:09 +08:00
Shengliang Guan d639198be5
Merge pull request #18561 from taosdata/fix/TD-20805
enh: show more info while drop dnode
2022-11-30 16:10:42 +08:00
Shengliang Guan e0c5c261e9
Merge pull request #18568 from taosdata/fix/TD-20804
refacotr(sync), force stop snapshot sender/receiver when stop node
2022-11-30 16:09:59 +08:00
slzhou 323e52b8c5 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-30 15:43:41 +08:00
slzhou 259b893f0a fix: integration test of table count scan 2022-11-30 15:42:45 +08:00
Xiaoyu Wang 9465d100a2 enh: ins_table count optimize 2022-11-30 15:31:01 +08:00
Ganlin Zhao 4048988908 fix(query): fix avg calculation error after SIMD optimize
TD-20803
2022-11-30 15:26:52 +08:00
54liuyao b30c56bf7c fix:stream scan handles empty datablcok 2022-11-30 15:21:43 +08:00
Ganlin Zhao 4ea7d139ba fix(query): fix avg calculation error after SIMD optimize
TD-20803
2022-11-30 14:48:39 +08:00
Xiaoyu Wang cfbcf92c1f Merge remote-tracking branch 'origin/3.0' into enh/3.0_planner_optimize 2022-11-30 14:29:34 +08:00
Shengliang Guan 822aecea9f
Merge pull request #18563 from taosdata/feature/3.0_mhli
refactor(sync): modify info log
2022-11-30 14:08:51 +08:00
Minghao Li 76cc7a89fb refacotr(sync), force stop snapshot sender/receiver when stop node 2022-11-30 13:44:22 +08:00
dapan1121 45cf5acc32
Merge pull request #18501 from taosdata/fix/TS-2149
fix(query): handle countAlwaysReturnValue behavior
2022-11-30 13:20:51 +08:00
Shengliang Guan 5556fd0c45 enh: add sync offline state 2022-11-30 12:02:54 +08:00
Minghao Li a8832e8814 refactor(sync): modify info log 2022-11-30 11:20:03 +08:00
Shengliang Guan 4b11f358dd
Merge pull request #18554 from taosdata/feature/stream
fix(stream): delete multiple row
2022-11-30 10:54:38 +08:00
Shengliang Guan 189cdc4f63
Merge pull request #18533 from taosdata/enh/clientRetry
enh: refactor retry
2022-11-30 10:47:13 +08:00
Shengliang Guan 0357ee124c
Merge pull request #18551 from taosdata/feature/3.0_mhli
refactor(sync): add interface syncSnapshotSending, syncSnapshotRecving
2022-11-30 10:46:29 +08:00
Liu Jicong 89119c6247 Merge branch '3.0' into feature/stream 2022-11-30 09:50:22 +08:00
Shengliang Guan 1d7a404450
Merge pull request #18549 from taosdata/fix/3.0_bugfix_wxy
fix: stream plan error
2022-11-30 08:58:59 +08:00
dapan1121 fadc0036a2
Merge pull request #18537 from taosdata/feature/TD-14761
fix:add interface with ttl for schemaless
2022-11-30 08:42:55 +08:00
Haojun Liao a8703c7fc2 enh(query): optimize the perf. 2022-11-30 00:11:21 +08:00
Liu Jicong 548684e5ac fix(stream): delete multiple row 2022-11-29 23:39:58 +08:00
Haojun Liao 445c4f28f0 enh(query): optimize the perf. 2022-11-29 23:34:22 +08:00
Benguang Zhao decb17fcb1 fix: use recursive mutex for relocking ring log buffer in syncNodeDoConfigChange 2022-11-29 23:19:32 +08:00
Ganlin Zhao af30786e4f fix avg function error 2022-11-29 22:47:55 +08:00
slzhou 6d86fb5b51 Merge branch 'enh/3.0_planner_optimize' into szhou/table-count-scan 2022-11-29 22:19:36 +08:00
Ganlin Zhao f913fbdaf6 fix errors 2022-11-29 22:14:46 +08:00
yihaoDeng 9278ed2ab5 fix mem leak 2022-11-29 21:59:49 +08:00
Minghao Li 8ec0b42456 refactor(sync): modify some trace log to info 2022-11-29 20:04:04 +08:00
Minghao Li f87b9fa7fe refactor(sync): add interface syncSnapshotSending, syncSnapshotRecving 2022-11-29 19:41:03 +08:00