Commit Graph

2876 Commits

Author SHA1 Message Date
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
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
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
Minglei Jin 527aa3584d fix: get suid from uid to be used to retrieve schema 2022-07-20 15:26:47 +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
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
Liu Jicong a3133b9f6d feat(wal): log applied ver 2022-07-20 10:55:28 +08:00
Minglei Jin e422d7dbf5 fix: remove assert if schema is null 2022-07-20 10:29:21 +08:00
wangmm0220 bc0e8e3061 fix:invalidate in telnet schemaless 2022-07-20 09:48:57 +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
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
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
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
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
Haojun Liao 5e754a7662 fix(query): add check for deleting record 2022-07-19 14:00:45 +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 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
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
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
Hongze Cheng 853e6b50b2 fix vnode snapshot state 2022-07-16 09:50:18 +00:00
Minglei Jin 0c4ea9b379 fix: destroy rsp.pArray after encoding 2022-07-16 17:45:19 +08:00
Cary Xu 0144ef524f other: api rename 2022-07-16 17:16:57 +08:00
Cary Xu 01604d6d1d Merge branch '3.0' into feature/TD-11274-3.0 2022-07-16 17:12:56 +08:00
Cary Xu 16750e1401 enh: rsma async commit support 2022-07-16 17:12:45 +08:00
Minghao Li 49c953fa0c refactor(sync): disable wal cfg 2022-07-16 16:10:50 +08:00
Hongze Cheng 1a9f21c724 fix coredump 2022-07-16 08:02:39 +00:00
Minghao Li 6f29fd4020 fix(sync): snapshot begin index 2022-07-16 15:34:22 +08:00
Hongze Cheng a760fb8071 fix coredump 2022-07-16 05:48:09 +00:00
Cary Xu 2e9e36d0f8 Merge branch '3.0' into feature/grant-3.0 2022-07-16 11:54:26 +08:00
Hongze Cheng ff07377fa3 finish vnode snapshot 2022-07-16 03:40:20 +00:00
Hongze Cheng 592c6991a0 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-16 03:13:03 +00:00
Hongze Cheng 8228808a2a more vnode snapshot writer 2022-07-16 03:12:47 +00:00
Cary Xu 7d592aee11 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-16 08:50:03 +08:00
Hongze Cheng 989159f0ba vnod snapshot done 2022-07-15 13:02:24 +00:00
Minghao Li b86ec034db refactor(sync): modify elect/heartbeat timer 2022-07-15 18:05:51 +08:00
Hongze Cheng c9b0864e21 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-15 10:03:26 +00:00
Hongze Cheng 7e45878581 more vnode snapshot 2022-07-15 10:03:18 +00:00
Minghao Li 5b1042ce2c Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-07-15 16:57:49 +08:00
Cary Xu 880d7845e6 Merge branch '3.0' into feature/TD-11274-3.0 2022-07-15 16:07:01 +08:00
Cary Xu ed34f490ca enh: async commit api for rsma 2022-07-15 16:06:41 +08:00
Haojun Liao 505e14892e
Merge pull request #14932 from taosdata/feature/3_liaohj
fix(query): handle multi group last_row query.
2022-07-15 15:03:10 +08:00
Hongze Cheng 74b31e8c81 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-15 06:55:17 +00:00
Hongze Cheng ec2a069185 more vnode snapshot writer 2022-07-15 06:53:56 +00:00
Minghao Li 5b6c7bc38d refactor(sync): add leader transfer callback 2022-07-15 14:26:18 +08:00
Haojun Liao fd2dec280b fix(query): fix memory leak. 2022-07-15 11:18:26 +08:00
Hongze Cheng 5b5b6a03e2 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-15 02:03:57 +00:00
Yihao Deng a6e71424b4
Merge branch '3.0' into enh/addLRUToIdx 2022-07-15 09:47:35 +08:00
Haojun Liao 159d6c47c8
Merge pull request #14911 from taosdata/feature/3_liaohj
fix(query): fix memory leak.
2022-07-14 20:36:30 +08:00
Haojun Liao 707f0a837a fix(query): set correct fill output object. 2022-07-14 20:11:29 +08:00
Hongze Cheng 947de83fc3 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-14 11:17:09 +00:00
Cary Xu edfd4b5175 enh: rsma support async commit 2022-07-14 18:51:34 +08:00
Liu Jicong 41b2595086 fix(sma): fix case 2022-07-14 17:40:32 +08:00
Hongze Cheng b554559889 more vnode snapshot 2022-07-14 09:36:23 +00:00
Liu Jicong 9847abf166 fix(sma): double free 2022-07-14 17:34:06 +08:00
yihaoDeng fe8ccabf7a add lru to index 2022-07-14 17:14:53 +08:00
Liu Jicong a0466d7802 fix(sma): double free 2022-07-14 16:12:57 +08:00
Cary Xu 101b5dd7c7 feat: restrict read/write for grant 2022-07-14 15:58:49 +08:00
Hongze Cheng 5823713185 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-14 07:38:43 +00:00
Hongze Cheng 25a2d04b85 more vnode snapshot writer 2022-07-14 07:37:53 +00:00
Liu Jicong d75e9b8f6a merge from 3.0 2022-07-14 15:35:00 +08:00
Liu Jicong 9ea0ad57ec refactor(stream): destroy stream task 2022-07-14 15:32:21 +08:00
yihaoDeng a9e64f2938 feat: add lru to index 2022-07-14 15:17:05 +08:00
yihaoDeng cace9b6be9 feat: add lru to index 2022-07-14 14:51:39 +08:00
Haojun Liao b23e08db85
Merge pull request #14893 from taosdata/feature/3_liaohj
fix(query): set correct fill output column index and fix some memory leaks
2022-07-14 14:25:24 +08:00
Cary Xu 1175bda094 Merge branch '3.0' into feature/grant-3.0 2022-07-14 14:10:14 +08:00
Cary Xu 7438f1fed4 feat: read/create restrict when grant expired 2022-07-14 14:09:43 +08:00
Haojun Liao 75aca0b031 fix(query): set correct fill output column index, fix some memory leak, and do some internal refactor, 2022-07-14 13:53:23 +08:00
Hongze Cheng c5133de715 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-14 05:42:16 +00:00
wangmm0220 3b4c2826b4 Merge branch '3.0' into feature/TD-13041 2022-07-14 10:22:15 +08:00
Hongze Cheng a3864a940b Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-14 01:40:55 +00:00
Haojun Liao 38b395147a Merge branch '3.0' into feature/3_liaohj 2022-07-13 23:27:51 +08:00
Haojun Liao 083de75afc fix(query):fix memory leak. 2022-07-13 23:15:58 +08:00
Haojun Liao 2974d826ef
Merge pull request #14850 from taosdata/feature/3_liaohj
fix(query): support last_row(tags) for super table query.
2022-07-13 23:14:57 +08:00