Commit Graph

292 Commits

Author SHA1 Message Date
dapan1121 a67b0c99fc feat: support create/drop view 2023-09-21 19:28:07 +08:00
yihaoDeng 20b037d9cc Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-28 10:46:00 +08:00
dapan1121 e24498b0fd enh: add task notify 2023-08-25 14:59:34 +08:00
yihaoDeng 9310d138a6 Merge branch 'enh/3.0' into enh/triggerCheckPoint2 2023-08-24 17:30:35 +08:00
Shungang Li 458fd07976 enh: ttl split flush and drop table
config:
1. ttlFlushThreshold: maximum number of dirty items in memory
2. tsTtlBatchDropNum: number of tables dropped per batch
3. tsTrimVDbIntervalSec: interval of trimming db in all vgroups
2023-08-23 11:13:34 +08:00
liuyao 87c65f3b68 Merge remote-tracking branch 'origin/3.0' into enh/triggerCheckPoint2 2023-08-18 15:27:02 +08:00
Benguang Zhao 94e0d97aa2 enh: update pDb stateTs on stateChanged 2023-08-15 19:48:15 +08:00
Haojun Liao f3c5f20ee2 enh(stream): add timer to check the node changing. 2023-08-09 10:25:16 +08:00
Haojun Liao 8dfef8768a other: merge 3.0 2023-07-29 22:54:16 +08:00
Shungang Li 167ecea705 fix: check term for role time
1. time of mnode becomes current role in this term
2. show 0 for offline mnodes
2023-07-27 14:16:54 +08:00
Haojun Liao 1c1bf63e1f other: merge 3.0 2023-07-25 18:17:11 +08:00
yihaoDeng 52ca94ea6d trigger checkpoint 2023-06-14 16:20:14 +08:00
yihaoDeng 83dde6a212 add trigger checkpoint 2023-06-12 14:33:08 +00:00
yihaoDeng 1f1f37312d add trigger checkpoint 2023-06-07 14:32:48 +00:00
Haojun Liao 7ef16e1922 other: merge main. 2023-05-12 11:49:53 +08:00
Haojun Liao 7b7a483afc fix(query): add tmp variable to hold the TSDBROW value. 2023-04-25 18:43:48 +08:00
cadem 470fef6452 fix/block check to async check for mnode 2023-04-24 13:38:55 +08:00
cadem 3b78d4382b add learner 2023-04-18 19:03:45 +08:00
cadem 2495d0781d wrong field logging 2023-03-27 15:11:20 +08:00
dapan1121 5b02af6a91 fix: merge main to 3.0 2023-03-22 16:08:16 +08:00
cadem 042d94215b feat/add topic total and stream total in monitor 2023-03-18 12:50:07 +08:00
Haojun Liao 22a85734c6 fix(mq): add more chek for balance couner to avoid the negative value emerges. 2023-03-05 13:23:50 +08:00
Benguang Zhao caaff5c546 enh: rotate wal of mnode properly 2023-03-01 10:02:33 +08:00
Hui Li 965d91572a
Merge pull request #20148 from taosdata/fix/3_coverity
fix(query): fix syntax errors on centos.
2023-02-24 17:39:12 +08:00
Xiaoyu Wang 67a94707b7
Merge pull request #20104 from taosdata/feat/3.0_wxy
enh: drop tables syntax optimization
2023-02-24 16:57:30 +08:00
Haojun Liao 22aa03307c fix(query): fix syntax errors on centos. 2023-02-24 11:38:54 +08:00
Xiaoyu Wang 618c934fb2 enh: drop tables syntax optimization 2023-02-22 15:16:16 +08:00
54liuyao 1d58f85a54 feat:coverity scan 2023-02-22 10:10:04 +08:00
yihaoDeng a929aa22d8 merge 3.0 2023-02-12 10:48:18 +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 3b475d4c0d fix: adjust some log while split 2023-02-03 14:40:19 +08:00
Shengliang Guan 9b98f547d1 fix: reset errorcode after check leader 2022-12-16 17:08:16 +08:00
Shengliang Guan 3b519172a3 refact: post sem in mnode while sync timeout 2022-12-14 10:30:47 +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 d19103597c fix: should not check dnode status in follower 2022-12-12 20:52:18 +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
Shengliang Guan db42ec46bf refact: adust error code while dnode startup 2022-12-02 10:05:52 +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 af58402afc
Merge pull request #18593 from taosdata/fix/TD-20798
enh: show leader ** if vnode can read and can't write
2022-12-01 15:08:46 +08:00
Minghao Li 86d5cba6be refactor(sync): delete code wait snapshot end in pre-close 2022-12-01 13:34:33 +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 5556fd0c45 enh: add sync offline state 2022-11-30 12:02:54 +08:00
Shengliang Guan 5ecbcb1054 fix: cannot close mnode while transferring snapshot 2022-11-30 11:07:14 +08:00
Shengliang Guan 82bc543ed7 fix: cannot close mnode while transferring snapshot 2022-11-30 11:05:25 +08:00
Shengliang Guan 232287a8b4 refact: adjust mnode log 2022-11-28 17:43:22 +08:00
Shengliang Guan 9c426540e7 fix: memory leaks while check mnode state 2022-11-18 20:15:13 +08:00
Shengliang Guan 0183fe6e73 fix: crash if db not exist while process status msg 2022-11-08 18:36:24 +08:00
Shengliang Guan 1dbb086045 enh: check vgroup status changes at regular intervals 2022-11-08 17:17:24 +08:00
Minghao Li 1a4b7622e4 enh(sync): add sync pre stop 2022-11-03 09:39:20 +08:00
Shengliang Guan 1c77d5381a Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-02 10:26:19 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Shengliang Guan a2abb3a411
Merge pull request #17817 from taosdata/fix/msg_compat
fix: msg compatibility
2022-11-01 21:10:46 +08:00
Liu Jicong 411373a7c5 fix: msg compatibility 2022-11-01 20:02:17 +08:00
Shengliang Guan f4dc7d0766 enh: refact sync callback func 2022-11-01 15:35:10 +08:00
Shengliang Guan e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Minghao Li 0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +08:00
Shengliang Guan 24f31b0f72
Merge pull request #17746 from taosdata/feature/3.0_mhli
refactor(sync): adjust elect timer, add some tests
2022-10-29 17:02:19 +08:00
Liu Jicong 5abeacc299
Merge pull request #17711 from taosdata/feature/stream
refactor(mnode): remove unused code
2022-10-27 16:41:09 +08:00
Minghao Li bbb624b63e Merge branch '3.0' of https://github.com/taosdata/TDengine into feature/3.0_mhli 2022-10-27 16:22:08 +08:00
Minghao Li 7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Liu Jicong dcf2c980c5 refactor(mnode): remove unused code 2022-10-27 15:32:20 +08:00
Shengliang Guan e7693b89ce enh: balance vgroup 2022-10-27 14:37:21 +08:00
Minghao Li a35ad361d0 refacotr(sync): call syncBeginSnapshot instead of walBeginSnapshot 2022-10-20 18:01:43 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Shengliang Guan 39e303b79b enh: show the restore status of vnode when show vgroups 2022-10-19 20:07:15 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Shengliang Guan 3a7d89a6bb refact: remove bnode codes 2022-10-18 17:34:58 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Shengliang Guan f76261dcb5 fix: become leader if replica num is 1 2022-10-18 12:31:15 +08:00
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Minghao Li 94d8c09e58 refactor(sync): use new interface in mnode 2022-10-17 17:01:42 +08:00
Minghao Li 5745223bca refactor(sync): add double queues in mnode 2022-10-17 10:33:27 +08:00
Benguang Zhao 616eb5f903 Merge branch '3.0' into FIX/TD-19239-3.0 2022-10-16 00:29:01 +08:00
Benguang Zhao 36bf800e15 fix: improve fault tolerance on disk space full with error handling enhanced 2022-10-14 22:02:27 +08:00
Shengliang Guan 78fb1911d4 enh: refactor the code to create and delete mnodes 2022-10-14 17:59:09 +08:00
Shengliang Guan fe4c7dee7c fix: add logs 2022-10-10 14:45:49 +08:00
Shengliang Guan c6317e67f0 fix: coverity issues 2022-09-30 11:26:26 +08:00
Shengliang Guan 8198516b7e fix: compile error in windows 2022-09-27 10:27:25 +08:00
Shengliang Guan 1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Shengliang Guan dafde51767 fix: do not send ttl msg on taosd startup 2022-09-26 16:40:15 +08:00
Shengliang Guan fbf3641df7 fix: do not send ttl msg on taosd startup 2022-09-23 16:50:32 +08:00
Shengliang Guan 3810b5d4fa fix: add more info log for mnode 2022-09-23 15:42:36 +08:00
Shengliang Guan 91659c8c50 refactor: make uptimeInterval can be configured 2022-08-25 15:17:04 +08:00
Shengliang Guan fece844f58 Merge remote-tracking branch 'origin/3.0' into fix/dnode 2022-08-23 17:29:33 +08:00
Shengliang Guan b0263a4bea enh: increase startup time monitoring 2022-08-23 17:29:31 +08:00
Shengliang Guan 9c5a66439a fix: update telemetry and trans timer 2022-08-23 12:40:57 +08:00
Shengliang Guan 5257b77f94 fix: update telemetry and trans timer 2022-08-23 10:42:44 +08:00
Shengliang Guan aca3d91354 fix: update telemetry and trans timer 2022-08-23 09:36:38 +08:00
Minghao Li cd7d434ed8 refactor(sync): delete trace log 2022-08-01 15:50:51 +08:00
kailixu ef2b66b280 chore: more code 2023-07-21 06:56:24 +08:00
kailixu 7ff25d6895 chore: more code 2023-07-20 10:56:08 +08:00
kailixu a04ba65817 chore: more code 2023-07-19 15:30:14 +08:00
kailixu 7a76837c46 enh: expire time optimize 2023-07-13 17:50:27 +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
Minghao Li 681993884f refactor(sync): add leader transfer callback 2022-07-15 14:55:33 +08:00
Minghao Li 95023fd56e refactor(sync): add leader transfer callback 2022-07-15 14:34:58 +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 1175bda094 Merge branch '3.0' into feature/grant-3.0 2022-07-14 14:10:14 +08:00
Cary Xu 67a5f12ac0 Merge branch '3.0' into feature/grant-3.0 2022-07-13 19:56:03 +08:00
Shengliang Guan e9d4948e84 enh: transfer leader before close vnode and mnode 2022-07-12 14:46:52 +08: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 080f30d014 feat: trim db 2022-07-11 15:16:10 +08:00
Cary Xu b22986ced0 feat: support grant 2022-07-06 20:46:41 +08:00
dapan1121 a3bf5b96c4 fix: fix query redirect issue 2022-07-06 20:33:23 +08:00
Minghao Li 88b0ab5458 fix(sync): release SyncNode ref 2022-07-05 17:32:51 +08:00
Minghao Li 6e59c13cbd refactor(sync): add sync strategy 2022-07-04 15:57:28 +08:00
Minghao Li ded4616074 refactor(sync): add sync strategy 2022-07-04 14:55:26 +08:00
yihaoDeng e389dcedc8 add query epset 2022-06-30 10:30:36 +08:00
dapan1121 07b46f9e3c Merge branch '3.0' into feature/queryredirect 2022-06-29 10:53:52 +08:00
dapan1121 6d8fd7e506 feat: query redirect 2022-06-29 10:51:22 +08:00
Minghao Li 33d1440e7b refactor(sync): adjust trace log 2022-06-28 14:23:45 +08:00
dapan1121 4a55ed07b3 feature: query redirect 2022-06-28 10:34:51 +08:00
dapan1121 7da915fa67 Merge branch '3.0' into feature/queryredirect 2022-06-28 09:31:03 +08:00
dapan1121 d402716465 enh: stop query 2022-06-27 18:29:28 +08:00
Li Minghao 486f268353
Merge pull request #14272 from taosdata/feature/3.0_mhli
refactor(sync): optimized only one replica
2022-06-27 11:05:39 +08:00
Minghao Li a6f33ba01c refactor(sync): optimized one replica 2022-06-25 20:31:42 +08:00
Shengliang Guan aa8faeba49
Merge pull request #14224 from taosdata/fix/mnode
refactor: rename auth to privilege
2022-06-25 11:02:17 +08:00
Shengliang Guan 09ce47ae9f refactor: rename auth to privilege 2022-06-25 10:27:27 +08:00
WANG MINGMING f0b50add27
Merge pull request #14184 from taosdata/feature/TD-13041
feat:sort table group if needed & optimize partition by tag
2022-06-25 09:41:30 +08:00
Shengliang Guan 4fb79dd0c3 fix: compile errors 2022-06-25 09:01:16 +08:00
Shengliang Guan 12f9a3f34d Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-25 08:58:33 +08:00
Shengliang Guan f810212d29 fix: no redirect resp 2022-06-24 19:03:56 +08:00
Shengliang Guan e3698b0bd3 test: fix unitest after enable sysinfo option 2022-06-24 18:09:07 +08:00
Shengliang Guan d98270fe12 fix: no redirect resp 2022-06-24 17:00:00 +08:00
Shengliang Guan 9aa684ba77 fix: no redirect resp 2022-06-24 16:47:28 +08:00
wangmm0220 0d9ed6d60a fix:merge from 3.0 2022-06-24 13:51:33 +08:00
Shengliang Guan 9f0d89d6ff enh: add stbinfo to minotor 2022-06-23 21:09:50 +08:00
wangmm0220 a95f98f7e7 feat:merge from 3.0 2022-06-23 20:50:48 +08:00
wangmm0220 26cceaf172 feat:sort table group if needed 2022-06-23 19:58:12 +08:00
Shengliang Guan c93d93e2d5 enh: add stbs/tbs/dbs to monitor info 2022-06-23 18:23:51 +08:00
dapan1121 b2ff536050
Merge pull request #14118 from taosdata/feature/showdnodevariables
feat: show dnode variables
2022-06-23 13:23:06 +08:00
dapan1121 66cfe3a3fc feat: show dnode variables 2022-06-22 17:17:18 +08:00
wangmm0220 d9dc806a21 feat: add configure for ttl 2022-06-22 17:11:18 +08:00
Shengliang Guan adce85f977 Merge remote-tracking branch 'origin/3.0' into feature/TD-16524 2022-06-22 11:20:08 +08:00
Shengliang Guan ab37b6e546 refactor: adjust code styles 2022-06-22 11:18:10 +08:00
afwerar 72ab0e1ae9 test: fix sim test ttl error 2022-06-21 21:52:38 +08:00
wangmm0220 f2ad546666 fix: add configure for ttl unit 2022-06-21 18:37:47 +08:00
wangmm0220 12d8714f29 feat:merge from 3.0 2022-06-21 18:01:40 +08:00
Shengliang Guan c243b314c7 refactor: add gtid to log 2022-06-21 15:05:31 +08:00
Shengliang Guan 7571d9d91e
Merge pull request #14024 from taosdata/fix/mnode
refactor: get sdb snapshot in atomic way
2022-06-21 10:32:46 +08:00
Shengliang Guan 964ce011b5 Merge remote-tracking branch 'origin/3.0' into fix/mnode 2022-06-21 09:52:00 +08:00
Shengliang Guan 53198f58bb refactor: add post process for query msg 2022-06-21 09:48:31 +08:00