Commit Graph

11870 Commits

Author SHA1 Message Date
54liuyao 8caca97568 feat:add delete mark for sma 2022-12-09 11:34:58 +08:00
yihaoDeng 0b1cef9b51 fix udfd crash 2022-12-09 11:29:04 +08:00
Shengliang Guan 783460b2d9
Merge pull request #18835 from taosdata/feature/stream
enh: tolerate exec error
2022-12-09 11:04:08 +08:00
Minglei Jin c22fa53bc4 fix: release lock and memory in exceptional cases 2022-12-09 10:22:43 +08:00
Haojun Liao 27ebafdbaa other: merge 3.0 2022-12-09 10:19:05 +08:00
dapan1121 bb0c337e43 fix: client retry issue 2022-12-09 10:06:07 +08:00
Liu Jicong ecbc09663f enh: tolerate exec error 2022-12-09 09:35:53 +08:00
dapan1121 61ad2588cc fix: db release issue 2022-12-09 08:56:01 +08:00
dapan1121 43a349bc1e fix: fix crash caused by null pointer 2022-12-09 07:12:57 +08:00
WANG MINGMING 35b5f185a2
Merge pull request #18833 from taosdata/refact/submit_req_marks
opti:performance of schemaless
2022-12-09 05:04:48 +08:00
Shengliang Guan acd3372a3c
Merge pull request #18829 from taosdata/fix/TD-20975
enh: TD-20975
2022-12-09 00:06:10 +08:00
wangmm0220 5d6494d5ae opti:modify logic for telnet and json in schemaless 2022-12-08 23:06:07 +08:00
Minghao Li 291750b9c3 fix(sync): snapshot problem 2022-12-08 22:34:08 +08:00
dapan1121 617cd40541 fix: fix ut case issue and crash issue 2022-12-08 22:22:04 +08:00
yihaoDeng ed6f542a3e TD-20975 2022-12-08 21:18:36 +08:00
Shengliang Guan bff8047835
Merge pull request #18805 from taosdata/fix/TD-19250-7
fix: dismiss coverity issues
2022-12-08 21:17:24 +08:00
Shengliang Guan 932d7a7ac6
Merge pull request #18808 from taosdata/fix/sync
fix(sync): checkout NULL pointer
2022-12-08 17:16:12 +08:00
Xiaoyu Wang 23a3a69ddd enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 16:19:48 +08:00
yihaoDeng b2b1eb748a update epset 2022-12-08 15:31:20 +08:00
Xiaoyu Wang 44b2cd1b73 enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 15:24:34 +08:00
Minghao Li abd5c696f0 fix(sync): checkout NULL pointer 2022-12-08 15:21:41 +08:00
Xiaoyu Wang 0a075cb57a Merge remote-tracking branch 'origin/3.0' into enh/insertOptimize_wxy 2022-12-08 14:20:34 +08:00
kailixu 096e7054f0 refact: tsma/rsma process 2022-12-08 14:16:57 +08:00
Shengliang Guan b798fbefa0
Merge pull request #18790 from taosdata/fix/TD-20305-3.0
fix: keep option of database with ns precision
2022-12-08 13:59:38 +08:00
Minglei Jin da31f5e588 fix: dismiss coverity issues 2022-12-08 13:54:41 +08:00
dapan1121 39d35538a3 fix: fix compile error 2022-12-08 13:53:16 +08:00
dapan1121 35fdfad623
Merge pull request #18758 from taosdata/fix/TD-19481
fix(query): fix percentile crash when input has more than 10 million records
2022-12-08 13:44:44 +08:00
Liu Jicong 74a253eac4 refactor 2022-12-08 13:34:42 +08:00
dapan1121 8656633c91 Merge branch 'enh/insertOptimize' of github.com:taosdata/TDengine into enh/insertOptimize 2022-12-08 13:19:07 +08:00
dapan1121 89a6180a7c enh: add retrieve cached table vgroup and meta api 2022-12-08 13:18:11 +08:00
kailixu 4a6f41f7f1 fix: keep option of database with precision ns 2022-12-08 11:56:29 +08:00
kailixu 8d247f3f7a Merge branch '3.0' into fix/TD-20305-3.0 2022-12-08 11:51:50 +08:00
54liuyao 942152947b fix:stream update data 2022-12-08 11:36:34 +08:00
Xiaoyu Wang d5e3d750d1 enh: merge getmetafromcache and getvgroupfromcache interface 2022-12-08 11:14:06 +08:00
Ganlin Zhao fa8cf8686a Merge branch '3.0' into fix/TD-19481 2022-12-08 10:57:39 +08:00
Ganlin Zhao ad69067a01 fix asan stack-scope-after-use errror 2022-12-08 10:57:21 +08:00
dapan1121 1138d8abb2 enh: add table cached meta and vg new api 2022-12-08 10:33:26 +08:00
Xiaoyu Wang 7bd9cbd293 fix: insert row format error 2022-12-08 10:11:43 +08:00
Xiaoyu Wang bc36bc188e feat: event window 2022-12-08 09:36:37 +08:00
dapan1121 5b21a2394c
Merge pull request #18779 from taosdata/fix/TD-20958-3.0
fix(query): ensure the SMA  SArray*  capacity is enough big to save all the columns for scanning
2022-12-08 09:13:04 +08:00
Shengliang Guan e505bd50b5
Merge pull request #18727 from taosdata/szhou/fixbugs
fix: add default command line to start udfd when taosd is started directly from command line
2022-12-08 08:54:58 +08:00
shenglian zhou 9789adc439 fix: fix windows compilation error 2022-12-08 07:36:10 +08:00
Liu Jicong 271822ebc4 refactor: support submitreq2 2022-12-08 01:55:47 +08:00
kailixu 3a3bf89cb8 fix: keep option of database with ns precision 2022-12-08 01:39:01 +08:00
Shengliang Guan 1bb1025f7d enh: add tassert 2022-12-07 22:24:47 +08:00
Shengliang Guan 6d94afe48f
Revert "refact: adjust some assert cases" 2022-12-07 21:51:17 +08:00
Shengliang Guan 297ba7f7d4
Merge pull request #18775 from taosdata/fix/TD-20045
refact: adjust some assert cases
2022-12-07 21:44:34 +08:00
Shengliang Guan be227bd6f6
Merge pull request #18783 from taosdata/feature/3.0_mhli
refactor(sync): re send snapshot in timer-routine when response timeout
2022-12-07 21:26:15 +08:00
Minghao Li c29401edf2 refactor(sync): re send snapshot in timer-routine 2022-12-07 19:46:26 +08:00
Shengliang Guan 4172acf95d git lo 2022-12-07 19:39:53 +08:00
Shengliang Guan cc87f99854
Merge pull request #18778 from taosdata/feature/3_liaohj
fix(query):fix the invalid write operation.
2022-12-07 19:34:33 +08:00
Shengliang Guan 960bcaa22f
Merge pull request #18777 from taosdata/fix/fixMemleakOnExit
fix: fix mem leak
2022-12-07 19:34:12 +08:00
Shengliang Guan b286959aed
Merge pull request #18769 from taosdata/FIX/TD-21043-3.0
enh: check contiguousness of indexes applied to vnode
2022-12-07 19:32:31 +08:00
Xiaoyu Wang c1b2634193
Merge pull request #18781 from taosdata/refact/submit_req_wxy
fix: merge conflict
2022-12-07 19:14:20 +08:00
Xiaoyu Wang eff1b07886 fix: merge conflict 2022-12-07 19:12:55 +08:00
Liu Jicong 25df820419 refactor: support submitreq2 2022-12-07 19:06:16 +08:00
Shengliang Guan 6ef608f7af fix: complie error 2022-12-07 19:02:43 +08:00
Xiaoyu Wang 9e5274df99
Merge branch '3.0' into refact/submit_req 2022-12-07 18:48:09 +08:00
Shengliang Guan d5126d469a refact: replcase ASSERT with tAssert 2022-12-07 18:42:48 +08:00
Shengliang Guan f69a188f7e refact: replcase ASSERT with tAssert 2022-12-07 18:37:40 +08:00
Haojun Liao 0c8bbf5496 fix(query):add an assert. 2022-12-07 18:16:12 +08:00
dapan1121 b9447601fe
Merge pull request #18768 from taosdata/fix/TD-20978
fix: client retry insert based on some error code
2022-12-07 17:59:05 +08:00
Liu Jicong 9e7bbf622a refactor: support submitreq2 2022-12-07 17:54:09 +08:00
Alex Duan 15b8b28972 fix(query): SMA ensure support info pColAgg capacity over column numfor this table 2022-12-07 17:52:49 +08:00
Benguang Zhao 50883689e7 enh: check contiguousness of indexes applied to vnode tsdb 2022-12-07 17:30:22 +08:00
yihaoDeng 3710dbe2e0 fix mem leak 2022-12-07 16:57:45 +08:00
Liu Jicong c5dc7e8227 refactor: support submitreq2 2022-12-07 16:39:46 +08:00
dapan1121 217694fd13 fix: client retry insert based on some error code 2022-12-07 15:28:07 +08:00
Liu Jicong b133a56219 refactor: support submitreq2 2022-12-07 15:19:34 +08:00
Ganlin Zhao de4571fbf7 Merge branch '3.0' into fix/TD-19481 2022-12-07 14:17:47 +08:00
Hongze Cheng 13fb304627 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 13:01:13 +08:00
Ganlin Zhao 387983f6f4 fix(query): fix percentile crash when input has more than 10
million records
2022-12-07 11:44:39 +08:00
dapan1121 f56916cff9
Merge pull request #18743 from taosdata/fix/TD-20802.2
fix: fix task redirect not finished issue
2022-12-07 11:06:40 +08:00
wangmm0220 443aa2ee3f fix:modify influxdb parse logic for sml 2022-12-07 11:05:33 +08:00
Xiaoyu Wang b680dccb46
Merge pull request #18753 from taosdata/refact/submit_req_wxy
fix: insert varchar error
2022-12-07 10:30:00 +08:00
Xiaoyu Wang fbdd37bee9 fix: insert varchar error 2022-12-07 10:29:17 +08:00
Hongze Cheng 2d85c7c451 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-07 09:04:00 +08:00
yihaoDeng 6635691f52 add msg type 2022-12-06 22:21:47 +08:00
wangmm0220 2c4b6ece3e fix:conflicts 2022-12-06 21:13:08 +08:00
wangmm0220 517c8b1d5a fix:modify influxdb parse logic for sml 2022-12-06 21:07:53 +08:00
Xiaoyu Wang ca26f55032 fix: memory leak 2022-12-06 20:40:18 +08:00
Shengliang Guan 24619fef78
Merge pull request #18747 from taosdata/fix/TD-21017
fix: fix tbnameIn bug on normal table
2022-12-06 19:38:11 +08:00
dapan1121 2eb496e9d0
Merge pull request #18741 from taosdata/fix/TD-20929
fix:read data and compute group id
2022-12-06 19:04:47 +08:00
dapan1121 a6d540f289
Merge pull request #18725 from taosdata/enh/failFast
enh: add fail-fast
2022-12-06 19:03:44 +08:00
dapan1121 5b8294122a
Merge pull request #18742 from taosdata/fix/TD-20906
fix: fix count VAR type column error cause of reading incorrect sma results
2022-12-06 18:41:24 +08:00
Shengliang Guan a1d0433898
Merge pull request #18746 from taosdata/fix/add_reserved
refactor(sync): add reserved field in message
2022-12-06 18:34:28 +08:00
Shengliang Guan 5e17b74cb4
Merge pull request #18708 from taosdata/feature/3_liaohj
fix(query): check null ptr before dereferencing it.
2022-12-06 18:24:03 +08:00
Shengliang Guan 996ecb4431
Merge pull request #18745 from taosdata/FIX/TD-20903-3.0
enh: enable timeout checking of sync Resp with ttl as 30s
2022-12-06 18:02:25 +08:00
Shengliang Guan 5f6254fd93
Merge pull request #18740 from taosdata/enh/3.0_planner_optimize
feat: add stream option 'delete_mark'
2022-12-06 17:24:34 +08:00
yihaoDeng 2af319ac0a fix tbnameIn bug on normal table 2022-12-06 17:16:34 +08:00
Minghao Li 20e2acbacf refactor(sync): add reserved field in message 2022-12-06 16:59:19 +08:00
Benguang Zhao 529d8cc800 enh: enable timeout checking of sync Resp with ttl as 30s 2022-12-06 16:46:53 +08:00
Ganlin Zhao 2cc58eebd3 fix: fix count VAR type column error cause of reading
incoorect sma results
2022-12-06 00:29:38 -08:00
54liuyao 99975ae524 fix:read data and compute group id 2022-12-06 16:26:33 +08:00
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
dapan1121 78c5cc2b6b fix: fix task redirect issue 2022-12-06 15:49:57 +08:00
Hongze Cheng 259b7e8a8a fix compile issue 2022-12-06 14:53:02 +08:00
Hongze Cheng 899d7b0bcc Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-06 14:37:22 +08:00
yihaoDeng 0254e90ce6 avoid null pointer 2022-12-06 13:42:59 +08:00
Benguang Zhao 577a203541 fix: synchronize access of pWalHandle with mutex in raftLogGetEntry 2022-12-06 12:50:59 +08:00
shenglian zhou cf3ec5ad40 fix: add default command line to start udfd when taosd is started directly from command line 2022-12-06 11:42:53 +08:00
yihaoDeng 4e87bcc97a support fail fast 2022-12-06 10:53:31 +08:00
Haojun Liao 68273aef52 Merge branch '3.0' into feature/3_liaohj 2022-12-06 10:36:32 +08:00
yihaoDeng 9ce9d21507 support fail fast 2022-12-06 10:30:14 +08:00
dapan1121 283ef0d056
Merge pull request #18717 from taosdata/fix/TD-20976
fix: add redirect error code and fix no error msg issue
2022-12-06 10:00:06 +08:00
Shengliang Guan aad8469e86
Merge pull request #18716 from taosdata/feature/3.0_sync_pipeline
fix(sync): close snapshot receiver in pre-close
2022-12-06 09:47:00 +08:00
Shengliang Guan a860e72f00
Merge pull request #18701 from taosdata/FIX/TD-20390-3.0
fix: walSaveMeta ahead of deleting WAL files as gc in walEndSnapshot
2022-12-06 09:45:42 +08:00
Liu Jicong ed11b1419c Merge remote-tracking branch 'refs/remotes/origin/refact/submit_req' into refact/submit_req 2022-12-06 05:59:48 +08:00
Liu Jicong 619bbdfd82 refactor: support submitreq2 2022-12-06 05:58:28 +08:00
Benguang Zhao 3f1a0cefbb fix: walSaveMeta ahead of deleting WAL files as gc in walEndSnapshot
delete WAL files in descending order during walRollback
2022-12-06 00:51:45 +08:00
yihaoDeng 4be196491e add fail-fast 2022-12-05 22:39:18 +08:00
Minghao Li b107518b00 fix(sync): when FpApplyQueueItems return -1, break loop 2022-12-05 20:24:25 +08:00
dapan1121 79cd86d5ad
Merge pull request #18705 from taosdata/fix/TD-20907
fix:stddev\fisrt\last combine function
2022-12-05 20:15:53 +08:00
dapan1121 0c26308ae7 fix: add redirect error code and fix no error msg issue 2022-12-05 20:10:09 +08:00
Shengliang Guan 71022773eb
Merge pull request #18715 from taosdata/fix/TS-2220-3.0
fix(log): ignore create log error
2022-12-05 19:40:16 +08:00
Minghao Li a1ed4b334c fix(sync): close snapshot receiver in pre-close 2022-12-05 18:50:19 +08:00
Alex Duan f8b75e3ac1 fix(log): ignore create log error 2022-12-05 17:54:26 +08:00
54liuyao d7a38aeae9 fix:stddev\fisrt\last combine function 2022-12-05 17:21:40 +08:00
Shengliang Guan c1b8d1b2b2
Merge pull request #18695 from taosdata/feature/3.0_sync_pipeline
refactor(sync): modify/use default config value
2022-12-05 17:19:13 +08:00
dapan1121 0ecb0d26f2
Merge pull request #18694 from taosdata/fix/TS-2144
enh(query): add timetruncate function ignore timezone option for 1d
2022-12-05 17:18:18 +08:00
Shengliang Guan dffc20f9f1
Merge pull request #18684 from taosdata/fix/TD-20656
fix: use tdbTrace to reduce 135 debug log output
2022-12-05 17:17:03 +08:00
dapan1121 1024cba311 fix: fix stmt table not exists issue 2022-12-05 15:45:25 +08:00
Minghao Li 3939c96a92 refactor(sync): modify/use default config value 2022-12-05 12:35:57 +08:00
Shengliang Guan 6296057ebb
Merge pull request #18685 from taosdata/feature/3.0_sync_pipeline
fix(sync): fix snapshot receiver waiting time
2022-12-05 12:00:38 +08:00
Ganlin Zhao e18da31a5d enh(query): add timetruncate function ignore timezone option for 1d 2022-12-05 12:00:12 +08:00
Minghao Li 3d3e4b6d83 fix(sync): fix snapshot receiver waiting time 2022-12-05 10:18:14 +08:00
Minglei Jin 6b7c540884 fix: use tdbTrace to reduce 135 debug log output 2022-12-05 10:14:18 +08:00
Shengliang Guan c45001744f
Merge pull request #18674 from taosdata/feat/async_commit
feat: async commit
2022-12-04 22:31:04 +08:00
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
Xiaoyu Wang 338969ccc4 fix: insert float error 2022-12-04 10:09:10 +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
WANG MINGMING 84eca3c453
Merge pull request #18669 from taosdata/refact/submit_req_marks
fix:rm useless code
2022-12-03 22:23:53 +08:00
wangmm0220 b3df86c645 fix:rm useless code 2022-12-03 22:22:54 +08:00
wangmm0220 cbeec94bbe fix:add new submit for taosx 2022-12-03 22:20:16 +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 e455269220 fix: memory leak and other issues 2022-12-03 18:46:59 +08:00
dapan1121 e9bfe1d858 Merge remote-tracking branch 'origin/refact/submit_req' into refact/submit_req.1 2022-12-03 16:04:53 +08:00
dapan1121 c6c8159ecb fix: fix field type error 2022-12-03 16:03:38 +08:00
dapan1121 c3267d5294 fix: fix db release issue 2022-12-03 15:08:45 +08:00
dapan1121 0143b4fe64 enh: optimize stmt auto create table 2022-12-03 14:56:51 +08:00
wangmm0220 96aa44e2cd fix:error for sml 2022-12-03 14:44:47 +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
WANG MINGMING d86e4cee9c
Merge pull request #18660 from taosdata/refact/submit_req
fix:submit req
2022-12-03 10:59:26 +08:00
dapan1121 51795b06a9 enh: add nchar convertion 2022-12-03 10:24:51 +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
wangmm0220 30cf1d5b38 Merge branch 'refact/submit_req_marks' of https://github.com/taosdata/TDengine into refact/submit_req_marks 2022-12-02 22:28:20 +08:00
wangmm0220 af34349957 fix:destroyBoundColInfo 2022-12-02 22:27:51 +08:00
Shengliang Guan 524de026a5 enh: remove TSDB_CODE_RPC_REDIRECT 2022-12-02 22:24:35 +08:00
WANG MINGMING f89782c2ce
Merge pull request #18650 from taosdata/refact/submit_req
fix:merge from submit_req
2022-12-02 22:17:45 +08:00
dapan1121 f4f0f93866 enh: add nchar column convertion 2022-12-02 21:41:18 +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
wangmm0220 2c013b7ecf fix:modify submit format for schemaless 2022-12-02 20:25:02 +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
Hongze Cheng b2fd1ff880 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 14:38:39 +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
Hongze Cheng 5e4db7207d Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 13:22:01 +08:00
Haojun Liao 6d9e229a72 refactor: fix the in-memory row merge. 2022-12-02 11:40:03 +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
Hongze Cheng 1cf9974b50 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-02 10:10:21 +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
dapan1121 a704abe9e6 fix: bind single column memory issue 2022-12-02 09:34:43 +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
dapan1121 6d008aa9cb Merge branch 'refact/submit_req' of github.com:taosdata/TDengine into refact/submit_req 2022-12-01 19:28:39 +08:00
dapan1121 2e75de8368 fix: fix submit response message handling 2022-12-01 19:26:26 +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
Hongze Cheng bd56fd2e09 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 16:52:12 +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
Hongze Cheng f9870c3637 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 14:24:29 +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
Hongze Cheng 5388da8871 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-12-01 10:04:57 +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
Hongze Cheng 86b0dc98c3 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 21:17:51 +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
Hongze Cheng 4b5671a631 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 19:28:52 +08:00
Xiaoyu Wang 4e8acca2eb feat: sql command 'show user privileges' 2022-11-30 19:24:15 +08:00
dapan1121 f7d94f73f5 enh: support column mode write 2022-11-30 19:08:48 +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
dapan1121 366f246fc6 Merge remote-tracking branch 'origin/refact/submit_req' into refact/submit_req.0 2022-11-30 17:46:04 +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
dapan1121 34662ea10a enh: support column mode write 2022-11-30 16:57:24 +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
Hongze Cheng b22ec52c63 fix core dump 2022-11-30 14:01:45 +08:00
Minghao Li 76cc7a89fb refacotr(sync), force stop snapshot sender/receiver when stop node 2022-11-30 13:44:22 +08:00
Hongze Cheng f848460f21 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-30 13:28:17 +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
Xiaoyu Wang 173794dc0f merge 3.0 2022-11-30 10:58:32 +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
Xiaoyu Wang 9e39ffc848 enh: add table blokc order check 2022-11-30 10:45:12 +08:00
Xiaoyu Wang 932116e4b0 merge refact/submit_req 2022-11-30 10:32:33 +08:00
Hongze Cheng feaea3d12f adjust row api 2022-11-30 10:23:44 +08:00
Xiaoyu Wang b93b7aa550 enh: add table blokc order check 2022-11-30 10:22:43 +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
Hongze Cheng 0129d8ee37 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-29 21:40:14 +08:00
Hongze Cheng 2d804fa48f more code 2022-11-29 21:30:08 +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
Ganlin Zhao 900fe01f0e fix error 2022-11-29 19:32:51 +08:00
Ganlin Zhao 2956eec51f fix partition/group by tag count should not have output 2022-11-29 19:01:09 +08:00
Benguang Zhao 470441c541 Merge branch 3.0 to FIX/TD-19334-3.0 2022-11-29 18:24:01 +08:00
Ganlin Zhao 8c3ff15342 fix partition by column 2022-11-29 18:00:44 +08:00
yihaoDeng 47c0d4cbbd fix invalid param 2022-11-29 17:58:16 +08:00
yihaoDeng dcd16684a0 fix invalid param 2022-11-29 17:53:24 +08:00
54liuyao 0b91b5b2b3 fix:calculate the correct deletion range 2022-11-29 17:24:52 +08:00
Benguang Zhao 4f37947e42 fix: minimum commitTerm as 0 in syncLogBufferInit 2022-11-29 17:15:48 +08:00
wangmm0220 c79c2a19c4 fix: conflicts 2022-11-29 17:05:53 +08:00
Xiaoyu Wang f3681433c6 fix: stream plan error 2022-11-29 16:43:12 +08:00
Shengliang Guan a7cd465a6a
Merge pull request #18544 from taosdata/feature/3.0_mhli
refactor(sync): add trace log for elect count, become leader count, c…
2022-11-29 16:28:29 +08:00
dapan1121 8ee170bef1 enh: add retry for vnode closed case 2022-11-29 16:17:05 +08:00
Minglei Jin 0b1cd9f824 tdb/journal: rollback & restore multiple journal files 2022-11-29 16:00:51 +08:00
Xiaoyu Wang cce1a34ada enh: insert row format 2022-11-29 15:57:12 +08:00
Xiaoyu Wang 37b65c16c8 enh: ins_tables count optimize 2022-11-29 14:59:48 +08:00
Minghao Li 198e18c348 refactor(sync): add trace log for cache hit, cache miss 2022-11-29 14:58:47 +08:00
Minghao Li ebe1103964 refactor(sync): add trace log for elect count, become leader count, config change count 2022-11-29 14:39:42 +08:00
Xiaoyu Wang 049c672411 fix: planner error 2022-11-29 14:21:45 +08:00
Hongze Cheng 3e2f79807f Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/submit_req 2022-11-29 13:35:04 +08:00
Xiaoyu Wang 555f2cb981 merge 3.0 2022-11-29 13:16:54 +08:00
Haojun Liao dac930352b enh(query): optimize the perf in compare. 2022-11-29 12:22:04 +08:00
Shengliang Guan 873c75ef57
Merge pull request #18528 from taosdata/fix/TD-20643
fix: alter db pages memory leak
2022-11-29 12:19:41 +08:00
dapan1121 d3bf2c3abb
Merge pull request #18527 from taosdata/fix/TD-20667-3.0
fix(query): memory leak with pPageIdList on sort
2022-11-29 12:08:41 +08:00
wangmm0220 b5e4b05752 fix:[TS-2057] add interface with ttl in schemaless 2022-11-29 11:52:40 +08:00
yihaoDeng 5425d67c9a add timestamp to msg head 2022-11-29 11:40:58 +08:00
Haojun Liao 63d5fd4ef2 Merge branch '3.0' into feature/3_liaohj 2022-11-29 11:39:14 +08:00
Haojun Liao a1585f16f1 ehn(query): improve the merge sort performance. 2022-11-29 11:06:20 +08:00
Minglei Jin 629c87685f fix/txnId: wrap around INT64_MAX 2022-11-29 11:04:47 +08:00
Haojun Liao 797af5373d enh(query): improve the multi-way merge performance. 2022-11-29 10:59:40 +08:00
Shengliang Guan 981eeee1b4 Merge remote-tracking branch 'origin/3.0' into fix/TD-20643 2022-11-29 10:56:52 +08:00
Minglei Jin 7902b7aaac fix/tdb: remove UAF preped 2022-11-29 10:46:04 +08:00
yihaoDeng d463f05b3f change paramter 2022-11-29 10:28:32 +08:00