Commit Graph

5440 Commits

Author SHA1 Message Date
Hongze Cheng b4e3865a8a fix: delete stuck when replica is 3 2022-07-23 02:43:22 +00:00
Cary Xu f516e3a4d6
Merge pull request #15317 from taosdata/feature/TD-11274-3.0
enh: rsma level 2/3 submitReq msg use wal version
2022-07-23 09:43:06 +08:00
Shengliang Guan c8bdd98467 fix: modifying stb in subscription is not allowed 2022-07-22 22:03:58 +08:00
Cary Xu 9b4a9d24d5 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-22 20:39:23 +08:00
Cary Xu 00a9598ac8 enh: rsma level 2/3 submitReq msg use wal version 2022-07-22 20:39:13 +08:00
Liu Jicong 43abf0d3f1
Merge pull request #15309 from taosdata/feature/tq
fix: memory leak
2022-07-22 19:12:15 +08:00
Liu Jicong e1046c7a98 fix: memory leak 2022-07-22 18:11:29 +08:00
Liu Jicong 2fddb8a6d6 feat(tmq): check alter 2022-07-22 17:10:40 +08:00
Liu Jicong 0a47ebc580 merge 3.0 2022-07-22 16:06:57 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +08:00
Minglei Jin a05def413d fix: more error log to debug vnode info file 2022-07-22 15:53:45 +08:00
WANG MINGMING 2c3e0cfe9e
Merge pull request #15277 from taosdata/feature/TD-14761
fix:modify lock scope when receive ttl message
2022-07-22 14:42:15 +08:00
Minglei Jin 0c33cdeefb
Merge pull request #15287 from taosdata/fix/TD-17676
fix: clear meta reader if return -1
2022-07-22 14:23:31 +08:00
Cary Xu db1d8fcd0e
Merge pull request #15289 from taosdata/feature/TD-11274-3.0
test: add case update1_sort_merge.sim to CI
2022-07-22 13:55:20 +08:00
Cary Xu 74de37615e enh: code optimization 2022-07-22 13:18:53 +08:00
Cary Xu 01d8287a73 enh: set wal ver to submitReq 2022-07-22 13:12:26 +08:00
Cary Xu 652a01556c test: add case update1_sort_merge.sim to CI 2022-07-22 13:04:50 +08:00
Hongze Cheng 8cdef36879 fix: sam cases 2022-07-22 04:56:15 +00:00
Hongze Cheng cd762afe76 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 04:50:24 +00:00
Haojun Liao ab2ad2cc54
Merge pull request #15269 from taosdata/feature/3_liaohj
refactor: do some internal refactor.
2022-07-22 12:50:03 +08:00
Minglei Jin 7981e96862 fix: clear meta reader if return -1 2022-07-22 12:43:52 +08:00
Hongze Cheng 476053e3e1 refact some code 2022-07-22 03:16:03 +00:00
Liu Jicong b1f3428c05 refactor(stream): do not merge output 2022-07-22 10:43:49 +08:00
wangmm0220 6ca882510b Merge branch 'feature/TD-14761' of https://github.com/taosdata/TDengine into feature/TD-14761 2022-07-22 10:29:12 +08:00
wangmm0220 6d0c718fbf fix:modify ttl push interval to 86400 & modify lock scope when receive ttl message 2022-07-22 10:28:28 +08:00
Hongze Cheng 1808fc7977 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-22 01:40:13 +00:00
Hongze Cheng b27272d784 fix memory leak 2022-07-22 01:40:02 +00:00
Hongze Cheng 63627172c6 fix memory leak 2022-07-22 01:37:21 +00:00
Liu Jicong c82bda25e2 refactor(tmq): add debug log 2022-07-21 21:48:05 +08:00
Hongze Cheng a086019de7 more concurrency fix 2022-07-21 13:02:48 +00:00
Haojun Liao 7522c2edf3 refactor: do some internal refactor. 2022-07-21 20:44:36 +08:00
Liu Jicong b49c61cfb4 merge 3.0 2022-07-21 20:44:08 +08:00
Hongze Cheng bce29321c6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-21 12:40:03 +00:00
Hongze Cheng 15c3945eb7 fix: another concurrency problem 2022-07-21 12:38:49 +00:00
Haojun Liao 8a2fb51129
Merge pull request #15230 from taosdata/feature/3_liaohj
fix(query): add query involved column info
2022-07-21 20:29:25 +08:00
Liu Jicong eaf11ca1ac refactor(tmq): disable parallel 2022-07-21 20:15:52 +08:00
Hongze Cheng 6a7a3da3db fix some crash 2022-07-21 11:56:18 +00:00
Cary Xu ada2eb232e fix: resource cleanup and rsma result build 2022-07-21 19:46:55 +08:00
Hongze Cheng 05da4e16d6 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-21 11:42:53 +00:00
Hongze Cheng 684dd82358 fix read concurrency 2022-07-21 11:42:42 +00:00
Cary Xu f2a3f1591b
Merge pull request #15260 from taosdata/feature/TD-11274-3.0
fix: merge dup rows in client
2022-07-21 19:21:26 +08:00
Liu Jicong 81d8d2b937 feat(stream): add version in stream block 2022-07-21 17:27:44 +08:00
Haojun Liao 8e42bf85e8 fix(query): fix border check. 2022-07-21 15:47:22 +08:00
Hongze Cheng bb2e923ffa Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-21 06:35:44 +00:00
Hongze Cheng f195decac9 more fix 2022-07-21 06:27:32 +00:00
dapan1121 dd640885e6 Merge branch '3.0' into fix/TD-15197 2022-07-21 13:36:46 +08:00
Cary Xu dd6aa40ff5 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-21 12:11:02 +08:00
Haojun Liao 2a437ee38a fix(query): close del handle when successing in read del file content. 2022-07-21 11:35:31 +08:00
Haojun Liao c2d588a118 other:merge 3.0 2022-07-21 11:29:34 +08:00
Haojun Liao ef0d705c5f fix(query): close del file read handle. 2022-07-21 11:27:20 +08:00
Haojun Liao ee34c3bb3e fix(query): add query involved column info 2022-07-21 11:20:30 +08:00
Haojun Liao dae00fd10c
Merge pull request #15221 from taosdata/feature/3_liaohj
refactor(query): do some internal refactor and add some logs.
2022-07-21 11:14:56 +08:00
Cary Xu 65871c2d73 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-21 09:44:20 +08:00
dapan1121 976d4670a9 Merge branch '3.0' into fix/TD-15197 2022-07-21 09:11:03 +08:00
Haojun Liao abfa6d9162 refactor(query): do some internal refactor and add some logs. 2022-07-20 22:38:19 +08:00
Liu Jicong 86611cc08a
Merge pull request #15208 from taosdata/feature/stream
fix(stream): memory error
2022-07-20 21:08:55 +08:00
Cary Xu 0f5983ad88 fix: merge dup rows in client 2022-07-20 20:30:54 +08:00
Minglei Jin 37bb5caf29
Merge pull request #15205 from taosdata/fix/TD-17582
fix: use suid from pReader
2022-07-20 19:44:40 +08:00
Liu Jicong fb52cfa816 fix(stream): memory error 2022-07-20 19:31:56 +08:00
Minglei Jin 5cc829e45f fix: use suid from pReader 2022-07-20 18:47:46 +08:00
Liu Jicong 8a9e729db2
Merge pull request #15195 from taosdata/feature/stream
feat(wal): remove wal log size limitation
2022-07-20 17:59:30 +08:00
Minglei Jin 982b11f6eb
Merge pull request #15184 from taosdata/fix/TD-17582
fix: use Ex version of metaGetTbTSchema to retrieve schema
2022-07-20 16:51:10 +08:00
Liu Jicong b74560537c fix(stream): check task exist 2022-07-20 16:25:20 +08:00
Liu Jicong bf37f3fa68 feat(wal): remove wal log size limitation 2022-07-20 16:15:53 +08:00
Minglei Jin 527aa3584d fix: get suid from uid to be used to retrieve schema 2022-07-20 15:26:47 +08:00
Li Minghao 5a376df173
Merge pull request #15182 from taosdata/feature/3.0_mhli
fix(sync): reset commit index by snapshot when open sync
2022-07-20 14:36:43 +08:00
Minglei Jin eefad2bd9d fix: use Ex version of metaGetTbTSchema to retrieve schema 2022-07-20 14:28:13 +08:00
WANG MINGMING 13c6a1b469
Merge pull request #15164 from taosdata/feature/TD-14761
fix:invalidate in telnet schemaless
2022-07-20 13:45:29 +08:00
Shengliang Guan 6a78e63953
Merge pull request #15173 from taosdata/fix/mnode
fix: definite lost while get sma meta
2022-07-20 12:51:58 +08:00
Minghao Li 13532f318d Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-20 11:38:24 +08:00
Liu Jicong 91583bb2f6
Merge pull request #15168 from taosdata/feature/stream
feat(wal): log applied ver
2022-07-20 11:28:11 +08:00
WANG MINGMING 258f4fb20a
Merge branch '3.0' into feature/TD-14761 2022-07-20 11:20:42 +08:00
Shengliang Guan 3593a2d7c7 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-07-20 11:20:28 +08:00
Liu Jicong a3133b9f6d feat(wal): log applied ver 2022-07-20 10:55:28 +08:00
Shengliang Guan ebd02be60d fix: definite lost while get sma meta 2022-07-20 10:50:36 +08:00
Minglei Jin e422d7dbf5 fix: remove assert if schema is null 2022-07-20 10:29:21 +08:00
Minghao Li 31e42a44ca refactor(sync): delete msg handle in mnode commit 2022-07-20 09:50:03 +08:00
wangmm0220 bc0e8e3061 fix:invalidate in telnet schemaless 2022-07-20 09:48:57 +08:00
dapan1121 d266bfe187 fix: fix stmt memory leak 2022-07-20 08:39:52 +08:00
Shengliang Guan 6d23e1c4c9
Merge pull request #15154 from taosdata/fix/mnode
fix: crash while set rpcinfo for db trans
2022-07-19 21:12:17 +08:00
Shengliang Guan bc6f452157 fix: crash while set rpcinfo for db trans 2022-07-19 20:28:55 +08:00
Shengliang Guan 2c619652aa fix: crash while set rpcinfo for db trans 2022-07-19 20:06:03 +08:00
Liu Jicong 414673db57
Merge branch '3.0' into feature/stream 2022-07-19 19:46:36 +08:00
Haojun Liao 88f13276f8
Merge pull request #15121 from taosdata/feature/3_liaohj
fix(query): set the output column number for subscribe.
2022-07-19 19:40:26 +08:00
Cary Xu 5c6987e21f
Merge pull request #15138 from taosdata/feature/TD-11274-3.0
feat: rsma snapshot
2022-07-19 19:21:30 +08:00
Minglei Jin c4ae1d7095
Merge pull request #15107 from taosdata/fix/TD-17495
fix: check super table exists or not when creating child table
2022-07-19 19:17:49 +08:00
Shengliang Guan b79390a4f5
Merge pull request #15128 from taosdata/fix/mnode
enh: assert the term of the snapshot as same as the memory
2022-07-19 18:44:15 +08:00
Liu Jicong 6362f9e435 refactor: add debug flag 2022-07-19 18:39:14 +08:00
Haojun Liao a0428f5685 fix(query): add null ptr check. 2022-07-19 18:05:26 +08:00
Cary Xu a4493c9d97 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-19 17:58:23 +08:00
Cary Xu afe1633256 feat: rsma snapshot 2022-07-19 17:57:59 +08:00
Haojun Liao 282630a394 Merge branch '3.0' into feature/3_liaohj 2022-07-19 17:42:45 +08:00
Shengliang Guan 390264db3f enh: assert the term of the snapshot as same as the memory 2022-07-19 17:11:15 +08:00
Hongze Cheng 024f2221b7 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 08:31:16 +00:00
Hongze Cheng 706b081f70 fix: r/w concurrency 2022-07-19 08:30:49 +00:00
Shengliang Guan c9079513c6
Merge pull request #15118 from taosdata/fix/mnode
fix: read sdb when restore from raft module may cause crash
2022-07-19 16:15:52 +08:00
Haojun Liao cd2eaf0152 fix(query): set the output column number for subscribe. 2022-07-19 16:01:28 +08:00
Haojun Liao 8751bcc0ea
Merge pull request #15109 from taosdata/feature/3_liaohj
fix(query): add check for deleting record
2022-07-19 15:56:41 +08:00
Liu Jicong bc1af6deaf refactor(stream): batch optimization for submit msg 2022-07-19 15:52:08 +08:00
Shengliang Guan 0d33e7363f fix: read sdb when restore from raft module may cause crash 2022-07-19 15:41:31 +08:00
Minglei Jin 91b54a7ff7 tqSink/tdBlockToSubmit: use short name instead of full stb name 2022-07-19 15:23:44 +08:00
Hongze Cheng b6c0719c61 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-19 07:22:36 +00:00
Hongze Cheng 657c2dcaa4 more r/w concurrency 2022-07-19 07:21:15 +00:00
Hongze Cheng 6b454a4dd4 more 2022-07-19 06:26:09 +00:00
Hongze Cheng 58135a1aeb tsdb r/w concurrency 2022-07-19 06:19:01 +00:00
54liuyao 8e41fc912b feat(stream): add num of children 2022-07-19 14:17:53 +08:00
Minglei Jin ab00d5670b fix: check super table exists or not when creating child table 2022-07-19 13:38:38 +08:00
Shengliang Guan 83ac069bef enh: If an 'object is creating' error is reported when creating a database, wait for the transaction to end then response 2022-07-19 12:00:43 +08:00
Haojun Liao 5e754a7662 fix(query): add check for deleting record 2022-07-19 14:00:45 +08:00
Yihao Deng 88b2d3b421
Merge pull request #15093 from taosdata/fix/dmHandleMemLeak
fix: avoid rpc mem leak
2022-07-19 10:22:18 +08:00
yihaoDeng d3be1e5f4d fix: avoid rpc mem leak 2022-07-19 09:39:26 +08:00
Hongze Cheng 1663284369
Merge pull request #15089 from taosdata/fix/hzcheng_3.0
fix: delete causes coredump
2022-07-19 09:28:55 +08:00
Liu Jicong 159f1c7bae fix(tmq): drop stb after subscribing database 2022-07-18 22:39:51 +08:00
Cary Xu 8910acc4ba
Merge pull request #15087 from taosdata/feature/TD-11274-3.0
enh: rsma drop and code optimization
2022-07-18 20:58:37 +08:00
Cary Xu cc3967b905 fix: parenthesized expression 2022-07-18 20:12:10 +08:00
Shengliang Guan bb99a40718
Merge pull request #15057 from taosdata/fix/valgrind
fix: let certain type of write messages to be executed sequentially
2022-07-18 19:56:11 +08:00
Hongze Cheng 0adb425f42 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/hzcheng_3.0 2022-07-18 11:45:30 +00:00
Hongze Cheng 322ec02e39 fix: delete causes coredump 2022-07-18 11:45:13 +00:00
Cary Xu 832527e5b6 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-18 19:35:20 +08:00
Cary Xu 156e72b071 enh: rsma drop and code optimization 2022-07-18 19:34:53 +08:00
Liu Jicong d8d32ebc51 fix(tmq): set version after consuming from tsdb 2022-07-18 19:16:19 +08:00
Shengliang Guan 993f5fe9ec fix: let certain type of write messages to be executed sequentially 2022-07-18 18:37:58 +08:00
Liu Jicong 7542fa0b62 fix(tmq): topic name should be lower unless quoted 2022-07-18 16:42:54 +08:00
Liu Jicong 3dbe5e7730
Merge pull request #15067 from taosdata/feature/stream
fix(stream): data exec
2022-07-18 16:15:18 +08:00
Liu Jicong 053786e6b4 fix(stream): data exec 2022-07-18 15:50:36 +08:00
Liu Jicong f2e9d522a4
Merge pull request #15052 from taosdata/feature/stream
fix(tmq): table not found
2022-07-18 14:43:44 +08:00
Minglei Jin 0ade998702
Merge pull request #15049 from taosdata/fix/TD-17491
fix: free vMetaRsp.pSchemas
2022-07-18 14:41:25 +08:00
Liu Jicong 158c6ae3e4 fix(tmq): table not found 2022-07-18 13:51:31 +08:00
Minglei Jin b52c734f88 fix: free vMetaRsp.pSchemas 2022-07-18 13:31:13 +08:00
Cary Xu 2204a770ab Merge branch '3.0' into feature/TD-11274-3.0 2022-07-18 13:22:41 +08:00
Cary Xu 6460514147 enh: grant refactor and grant check 2022-07-18 13:22:21 +08:00
Liu Jicong 6fb3072b43 Merge branch '3.0' into feature/stream 2022-07-18 11:46:59 +08:00
Liu Jicong 500553d581 refactor: add debug log 2022-07-18 11:41:56 +08:00
Minghao Li 0fa9ce71d8 refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-18 11:03:03 +08:00
Li Minghao 046e784c8c
Merge pull request #15031 from taosdata/feature/3.0_mhli
refactor(sync): add index/term in vnodeSnapWriterClose
2022-07-18 10:59:24 +08:00
Minglei Jin 66d3c489a4
Merge pull request #15030 from taosdata/fix/TD-17479
fix: dismiss memory issues
2022-07-18 10:15:08 +08:00
Minglei Jin 677fd4764f fix: dismiss memory issues 2022-07-18 09:42:40 +08:00
Hongze Cheng b99c6958fa
Merge pull request #15007 from taosdata/feat/tsdb_snapshot
fix: vnode snapshot state
2022-07-18 09:38:14 +08:00
dapan1121 077fbd6787
Merge pull request #15010 from taosdata/fix/TD-17460
fix: fix taosd mem leak
2022-07-18 09:18:43 +08:00
Cary Xu 35d395c418
Merge pull request #15028 from taosdata/feature/grant-3.0
fix: make the ci cases pass
2022-07-17 23:19:25 +08:00
Cary Xu 74bf84fd5a fix: make the ci cases pass 2022-07-17 23:17:24 +08:00
Cary Xu 5ef9239c74
Merge pull request #14979 from taosdata/feature/grant-3.0
feat: support grant
2022-07-17 22:16:00 +08:00
shenglian zhou de1ca5b68f Merge branch '3.0' of github.com:taosdata/TDengine into szhou/feature/user-tags 2022-07-17 05:07:17 +08:00
Shengliang Guan 312f3a3cd5 fix: definite lost while alter stable comment 2022-07-16 20:47:18 +08:00
Minglei Jin 2e628dc096
Merge pull request #15005 from taosdata/fix/TD-17469
fix: destroy rsp.pArray after encoding
2022-07-16 19:23:33 +08:00
dapan1121 9ec14ece62 fix: fix taosd mem leak 2022-07-16 18:58:29 +08:00
dapan1121 4097b5ae56
Merge pull request #14986 from taosdata/fix/fixmsgorder
fix: fix msg disorder and other issues
2022-07-16 18:42:41 +08:00
Minghao Li 604e5b750c refactor(sync): add index/term in vnodeSnapWriterClose 2022-07-16 18:19:54 +08:00
Minghao Li fdf7930702 refactor(sync): add index/term in snapshot write 2022-07-16 18:09:36 +08:00
Cary Xu 21a719d3fb
Merge pull request #15000 from taosdata/feature/TD-11274-3.0
enh: rsma async commit support
2022-07-16 17:54:22 +08:00