Commit Graph

789 Commits

Author SHA1 Message Date
Xiaoyu Wang e9d7a099cc merge main 2023-04-04 14:50:58 +08:00
Shengliang Guan e783c21629
Merge pull request #20519 from taosdata/fix/coveriyScanYihao
fix coverity scan problem
2023-04-04 09:22:02 +08:00
wangmm0220 97b5c7abee fix:merge from main 2023-03-31 16:20:21 +08:00
cademfly d85d1bf58e add new dup fun 2023-03-31 10:04:03 +08:00
cademfly db725c6f6d show priviledge format 2023-03-30 18:53:50 +08:00
cademfly 824c87a6c7 binary format 2023-03-30 13:59:48 +08:00
cademfly 2fd10c2aa0 table 2023-03-29 13:30:32 +08:00
Xiaoyu Wang 97855c6233
Merge pull request #20607 from taosdata/FEAT/TD-23257-3.0
feat: WAL cleanup not affected by topic consumption anymore
2023-03-27 17:58:31 +08:00
Benguang Zhao 235ef431d2 feat: not allowed to set WAL_RETENTION_PERIOD as zero when there are topics defined 2023-03-24 11:47:23 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
kailixu d90c8e834a chore: var def optimization 2023-03-18 13:07:15 +08:00
kailixu f297f67698 fix: show obj 2023-03-17 16:40:29 +08:00
yihaoDeng 497ba9992d fix coverity scan problem 2023-03-17 02:26:18 +00:00
yihaoDeng 07ca8eb8e0 enh: add trace to transaction 2023-03-16 10:25:46 +00:00
Haojun Liao 32ddecc347 other: merge main. 2023-03-14 12:13:09 +08:00
Shengliang Guan e98b32a69f
Merge pull request #20427 from taosdata/fix/main_bugfix_wxy
fix: last redundant read stt file
2023-03-14 09:41:19 +08:00
Shengliang Guan bf03965931
Merge pull request #20413 from taosdata/FIX/TD-22564-main
enh: not allow to propose if fsm applying progress lagging behind too far
2023-03-14 09:36:04 +08:00
Xiaoyu Wang ca39dfcf2d feat: show vgroup display num of cache tables 2023-03-13 17:21:32 +08:00
Haojun Liao 564e9bb833 Merge branch 'main' into fix/liaohj 2023-03-12 14:38:38 +08:00
Benguang Zhao 1392711e66 enh: add fsm FpAppliedIndexCb to get the current applied index 2023-03-09 18:14:04 +08:00
Hongze Cheng 16262512b2 feat: alter stt_trigger and minrows 2023-03-09 15:25:47 +08:00
Haojun Liao 41f26148a2 fix(mq): re-balance consumer if it is in an in-balance status. 2023-03-08 12:09:54 +08:00
Hongze Cheng 89281ee488 compact with time range 2023-03-07 21:46:34 +08:00
Shengliang Guan 2624ea65d8 fix: add pre-finished stage, trans won't be dropped in follower if it has undo actions while rollback 2023-03-03 18:21:07 +08:00
Xiaoyu Wang 0fe9b5ca19
Merge pull request #20222 from taosdata/feat/compact
more compact to enterprise
2023-03-01 20:19:42 +08:00
Xiaoyu Wang 4cf0a8b376 move compact to enterprise 2023-03-01 15:25:01 +08:00
wangmm0220 986ae9c4d0 fix:conflicts 2023-02-28 15:11:16 +08:00
Xiaoyu Wang f97a140a3c merge 3.0 2023-02-27 14:16:33 +08:00
wangmm0220 c638564179 fix:confilcts from main 2023-02-26 23:09:57 +08:00
Haojun Liao 90c6641cff
Merge pull request #20131 from taosdata/fix/coverity_yihao
fix: fix asan problem
2023-02-25 10:42:39 +08:00
Xiaoyu Wang d6dd087f84 merge main 2023-02-25 10:29:20 +08:00
wangmm0220 54a546931c fix:optimize version logic in tmq and remove useless code 2023-02-24 19:22:08 +08:00
Haojun Liao dbb1e9bd59 refactor: do some internal refactor. 2023-02-23 21:59:55 +08:00
yihaoDeng 2013ba0d8f fix: fix asan problem 2023-02-23 17:54:51 +08:00
Xiaoyu Wang 1ab144609e merge main 2023-02-23 14:58:22 +08:00
yihaoDeng f2a52f0831 suppprt tag rename 2023-02-20 00:09:26 +08:00
yihaoDeng bfe0ac61b9 add index case 2023-02-19 20:43:15 +08:00
yihaoDeng eafc9db1c1 fix iter and case 2023-02-18 18:24:10 +08:00
yihaoDeng 96864b27e9 rm invalid file 2023-02-17 09:41:01 +08:00
dapan1121 ed4e8313e0 fix: add force stop task and rename conflict structer name 2023-02-16 08:55:13 +08:00
Yihao Deng 5af1faf916
Merge branch '3.0' into enh/dynamicIdx 2023-02-13 13:36:06 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +08:00
Xiaoyu Wang 3382a24a69 merge main 2023-02-10 18:03:11 +08:00
Xiaoyu Wang 9bc225ffda merge 3.0 2023-02-09 09:44:29 +08:00
Xiaoyu Wang 98e2fa2d7b feat: add ignore update option for create stream 2023-02-08 18:46:12 +08:00
Xiaoyu Wang 09925437e3 merge main 2023-02-08 09:51:52 +08:00
Shengliang Guan 2dcb281108 fix: should not execute trans if not leader 2023-02-07 02:08:31 +08:00
yihaoDeng b3167ae6a3 avoid sma and tag index name conflict 2023-02-06 20:40:48 +08:00
yihaoDeng 55a93c9649 opt sma and ndex name conflict 2023-02-06 16:00:59 +08:00
Xiaoyu Wang f2ff17dace merge 3.0 2023-02-06 14:18:13 +08:00
yihaoDeng 4d6e84a577 opt index 2023-02-05 10:49:49 +08:00
yihaoDeng 58a761648f opt index 2023-02-04 22:09:24 +08:00
yihaoDeng a05eb4b110 refactor tag index 2023-02-03 22:19:01 +08:00
Shengliang Guan 71a17e4c47 enh: update numOfVgroups while split 2023-01-31 14:24:58 +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
dapan1121 62b64631dc
Merge pull request #19547 from taosdata/fix/TD-21648
fix:add interface for odbc
2023-01-16 13:29:15 +08:00
wangmm0220 8af5230bc8 fix:add logic for ins_columns 2023-01-11 23:55:53 +08:00
Shengliang Guan 5e9a90ef5c fix: remove privilege info on drop db / topic 2023-01-06 11:53:55 +08:00
Hongze Cheng 52f1f272fc Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/vnode_compact 2022-12-29 13:50:08 +08:00
Shengliang Guan c64fbb59ea fix: support_vnodes and the max supported vgroups mis-match 2022-12-28 16:39:02 +08:00
Shengliang Guan 7a3079e79a enh: send compact msg from mnode to vnode 2022-12-27 16:12:50 +08:00
Shengliang Guan 4837dc6661 fix: avoid double-free in usedb req while db in creating state 2022-12-19 21:01:24 +08:00
Shengliang Guan 4db6b043c6 fix: reduce the frequency of retry in sync not ready case while alter db 2022-12-14 19:01:31 +08:00
Shengliang Guan f623837b60 refact: adjust mnode timer 2022-12-14 09:14:54 +08:00
Shengliang Guan 9da398913e refact: post sem in mnode while sync timeout 2022-12-13 11:11:22 +08:00
Shengliang Guan f137e8395d refact: change SRWLatch to TdThreadMutex in mnode 2022-12-13 10:18:00 +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
Xiaoyu Wang bc413b8fff feat: add stream option 'delete_mark' 2022-12-06 16:07:11 +08:00
Shengliang Guan 2e900918bb enh: allow any user to create a topic 2022-12-06 12:02:32 +08:00
Xiaoyu Wang 71140f565e feat: sql command 'show user privileges' 2022-12-02 13:43:48 +08:00
Xiaoyu Wang 83d33ceae2 feat: sql command 'show user privileges' 2022-12-02 13:12:41 +08:00
Xiaoyu Wang 37299a53f8 feat: sql command 'show user privileges' 2022-12-02 12:14:56 +08:00
Shengliang Guan b8cc174211 Merge remote-tracking branch 'origin/3.0' into feature/stream 2022-12-02 07:59:39 +08:00
Shengliang Guan ffb1d52e55 fix: compatility after update stream 2022-12-02 07:57:22 +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
Liu Jicong 3424b184d3 refactor(stream): distributed checkpoint 2022-12-02 03:48:45 +08:00
Shengliang Guan 0f05117131
Merge pull request #18603 from taosdata/fix/TD-20848
enh: add topic privilege in mnode
2022-12-01 18:27:48 +08:00
Shengliang Guan 51378aae40 enh: add topic privilege 2022-12-01 12:22:43 +08:00
Shengliang Guan 04b0280693 enh: add topic privilege in mnode 2022-12-01 11:45:31 +08:00
Shengliang Guan 1e8a816155 enh: show leader ** if vnode can read and can't write 2022-11-30 21:42:42 +08:00
Shengliang Guan 7e9b7f4e15 enh: show more info while drop dnode 2022-11-30 14:06:22 +08:00
Shengliang Guan 7f03194299
Merge pull request #17991 from taosdata/feature/stream
enh(tmq): auto clear lost consumer
2022-11-09 15:57:08 +08:00
Liu Jicong 4000176dc7 enh(tmq): auto clear lost consumer 2022-11-09 14:44:09 +08:00
Shengliang Guan 1dbb086045 enh: check vgroup status changes at regular intervals 2022-11-08 17:17:24 +08:00
Shengliang Guan d35028ae4a enh: refact sync callback func 2022-11-01 16:10:07 +08:00
Shengliang Guan f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Shengliang Guan 7ddde569a0 enh: force drop dnode 2022-10-31 17:29:24 +08:00
Shengliang Guan ab90ce5a05 fix: avoid deadlock 2022-10-28 12:14:49 +08:00
Liu Jicong dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Liu Jicong 5571ebee0f
Merge pull request #17542 from taosdata/feature/stream
enh(stream): internal optimize
2022-10-21 14:31:42 +08:00
Liu Jicong 035e6b13c8 enh(stream): internal optimize 2022-10-21 10:29:05 +08:00
Shengliang Guan 4d318b32da refact: alter db replica 2022-10-20 16:47:03 +08:00
Shengliang Guan 39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
dapan1121 1992925d8d Merge remote-tracking branch 'origin/3.0' into fix/coverity.pw 2022-10-17 19:50:37 +08:00
dapan1121 cf9abe7258 fix: fix coverity check issues 2022-10-17 19:48:36 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Hongze Cheng 6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Shengliang Guan dbae9a47da fix: check memory while alter db buffer 2022-10-11 16:23:23 +08:00
Liu Jicong 2f9aeeb5fc feat(stream): support define table name 2022-10-09 16:54:27 +08:00
Shengliang Guan 555a99bf90 enh: dump sdb info from mnode 2022-09-26 16:18:48 +08:00
Shengliang Guan 43ef21f67b enh: add oper name to show transaction 2022-09-22 16:19:33 +08:00
Shengliang Guan 69e1edb344
Merge pull request #16898 from taosdata/fix/TD-18740
feat:Complete the automatic table creation function for taosX
2022-09-20 11:35:18 +08:00
Shengliang Guan 30b2bd98b8 fix: STrans struct dbname2 naming ambiguity 2022-09-19 10:39:51 +08:00
wangmm0220 e3bc2487b3 Merge branch '3.0' of https://github.com/taosdata/TDengine into fix/TD-18740 2022-09-16 19:00:49 +08:00
wangmm0220 dfc5ce23a0 fix:error in auto create table for taosX 2022-09-16 17:01:41 +08:00
Shengliang Guan b84017f2b9 feat: database option 'tsdb_pagesize' 2022-09-13 18:01:10 +08:00
Haojun Liao d9d7c81872
Merge branch '3.0' into refact/tsdb_optimize 2022-09-03 10:14:48 +08:00
Shengliang Guan 25c67f6ebb enh: add hash prefix and suffix option to db 2022-09-02 19:00:11 +08:00
Hongze Cheng 1cba6138b8 Merge branch '3.0' of https://github.com/taosdata/TDengine into refact/tsdb_optimize 2022-09-02 16:39:15 +08:00
Shengliang Guan acab522494 enh: let create database SST_TRIGGER 2 worker 2022-09-02 15:19:50 +08:00
Minglei Jin 97d533d520 tsdbCache/usage: new cacheload column for db.vgroups to check usage 2022-09-01 16:41:08 +08:00
dapan1121 4ab25b856f Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-25 13:23:16 +08:00
Xiaoyu Wang 99490c063e feat: system table visible permission 2022-08-24 17:36:10 +08:00
dapan1121 2ea802a23e Merge remote-tracking branch 'origin/3.0' into enh/updateTbMeta 2022-08-24 13:20:43 +08:00
dapan1121 0ebd3281c5 enh: update table meta after creating table 2022-08-23 18:26:27 +08:00
Shengliang Guan b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
Liu Jicong a2757eb4f3 fix(mnode): memory leak 2022-08-18 14:26:11 +08:00
Shengliang Guan 1d9331e257 fix: deadlock of mnode if its state changed 2022-08-12 16:32:03 +08:00
Liu Jicong 95f696b30d enh(tmq): prevent drop db when topic exists 2022-08-10 17:24:47 +08:00
Shengliang Guan 39fa900ce5 enh: wait for the vgroups have leader then create db return 2022-08-09 11:17:38 +08:00
Liu Jicong 43026ac31d refactor(stream) 2022-08-08 11:29:50 +08:00
Cary Xu 45c68a1622 fix: check modifiable when drop tsma columns 2022-08-01 16:51:32 +08:00
Shengliang Guan d786d85d65 fix: compiler error 2022-07-27 17:06:58 +08:00
Shengliang Guan 64d9562949 refactor: privilege code 2022-07-27 15:43:49 +08:00
Shengliang Guan e4b6fa744e enh: add wal option to show database command 2022-07-26 17:30:07 +08:00
Liu Jicong e6e95dffce fix(wal): config error 2022-07-26 16:03:00 +08:00
Shengliang Guan 9d5acf1812 enh: add wal options to db 2022-07-26 13:26:52 +08:00
Shengliang Guan 9650f0b3b0 enh: check stb conflict in trans 2022-07-25 22:14:10 +08:00
kailixu ca59f0d48d chore: merge 3.0 2023-07-21 15:52:54 +08:00
kailixu 7ff25d6895 chore: more code 2023-07-20 10:56:08 +08:00
Shengliang Guan c8bdd98467 fix: modifying stb in subscription is not allowed 2022-07-22 22:03:58 +08:00
Liu Jicong 2fddb8a6d6 feat(tmq): check alter 2022-07-22 17:10:40 +08:00
Liu Jicong 2441ec22bd feat(tmq): check alter for ntb 2022-07-22 16:05:28 +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
Cary Xu 6460514147 enh: grant refactor and grant check 2022-07-18 13:22:21 +08:00
Cary Xu 5c76b49391 other: revert the definition 2022-07-16 15:11:50 +08:00
Cary Xu 66f3ed9020 other: make CI pass 2022-07-16 15:06:20 +08:00
Cary Xu 2e9e36d0f8 Merge branch '3.0' into feature/grant-3.0 2022-07-16 11:54:26 +08:00
Li Minghao 5a941284a4
Merge pull request #14965 from taosdata/feature/3.0_mhli
refactor(sync): modify elect/heartbeat timer
2022-07-15 19:03:25 +08:00
Liu Jicong 9394e3380f feat(stream): recover from failure 2022-07-15 17:58:53 +08:00
Minghao Li 5b6c7bc38d refactor(sync): add leader transfer callback 2022-07-15 14:26:18 +08:00
Shengliang Guan f0b8386b63 refactor: adjust the name of stream automatically created by sma 2022-07-14 17:00:46 +08:00
Cary Xu 7438f1fed4 feat: read/create restrict when grant expired 2022-07-14 14:09:43 +08:00
Cary Xu 67a5f12ac0 Merge branch '3.0' into feature/grant-3.0 2022-07-13 19:56:03 +08:00
Hongze Cheng 61fb45af56 Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tsdb_snapshot 2022-07-11 09:48:43 +00:00
Cary Xu 85d7e46ff9 Merge branch '3.0' into feature/grant-3.0 2022-07-11 17:20:05 +08:00
Cary Xu 762ffd9cf3 feat: support get cluster create time 2022-07-11 17:19:54 +08:00
Shengliang Guan a846bb9381 refactor: rename cacheLastRow to cacheLast 2022-07-11 15:45:40 +08:00
Shengliang Guan 080f30d014 feat: trim db 2022-07-11 15:16:10 +08:00