Commit Graph

181 Commits

Author SHA1 Message Date
Minghao Li d672e7a05c refactor(sync): add FpApplyQueueItems in fsm 2022-11-09 16:18:28 +08:00
Minghao Li b6aea6ae17 fix(sync): when apply queue not empty, can not read 2022-11-07 16:40:53 +08:00
Shengliang Guan 2e6f75107d enh: adjust the number of vnode threads so that one vnode has one write thread 2022-11-04 17:38:35 +08:00
Shengliang Guan fc41f43c9d fix: deadlock while drop db 2022-11-04 16:15:37 +08:00
Shengliang Guan a0983cf8c1 enh: adjust tqueue and tworker log 2022-11-04 10:58:23 +08:00
Shengliang Guan 7a537bba09 refact: adjust sync.h and syncState 2022-11-02 10:24:55 +08:00
Shengliang Guan 64633e3dbb enh: refact syncMsg code 2022-11-01 18:34:09 +08:00
Shengliang Guan ee63b49800 Merge remote-tracking branch 'origin/3.0' into fix/TD-20052 2022-11-01 17:11:27 +08:00
Shengliang Guan a71dbd83d2
Merge pull request #17803 from taosdata/fix/TD-20052
enh: refact syncMsg code
2022-11-01 16:45:56 +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 e79e50ae36 enh: refact syncMsg code 2022-11-01 13:58:25 +08:00
Shengliang Guan 1724aa5638
Merge pull request #17779 from taosdata/fix/sync
refactor(sync): check msgcb, putToQueueFp NULL
2022-11-01 10:43:56 +08:00
Shengliang Guan 392564cc7d enh: refact syncEnv code 2022-10-31 23:40:43 +08:00
Shengliang Guan 1c446b1bf4 Merge branch '3.0' into fix/sync 2022-10-31 23:30:24 +08:00
Minghao Li d246514da2 refactor(sync): check msgcb, putToQueueFp NULL 2022-10-31 18:16:58 +08:00
Minghao Li 0b20b914bb refactor(sync): add sync local cmd 2022-10-31 14:17:26 +08:00
Minghao Li 7cb3112d77 refactor(sync): modify function name 2022-10-27 15:52:48 +08:00
Shengliang Guan ec786b9d78 fix: alter replica one by one 2022-10-24 11:57:26 +08:00
Shengliang Guan 71ac720ac0 fix: compile error in mac 2022-10-22 08:47:09 +08:00
Shengliang Guan 922436e7d4 fix: lock mem items of tqueue 2022-10-21 19:12:03 +08:00
Minghao Li cc7a393978 refactor(sync): refactor sync 2022-10-20 19:42:22 +08:00
Shengliang Guan 4d318b32da refact: alter db replica 2022-10-20 16:47:03 +08:00
Minghao Li 5965629b2e refactor(sync): refacotr sync 2022-10-20 16:05:14 +08:00
Benguang Zhao 2aa7afe7fa Merge branch '3.0' into FIX/TD-19593-3.0 2022-10-19 16:31:13 +08:00
Minghao Li 28a5a9d7e1 refactor(sync): add log, update quorum first when reconfig 2022-10-19 10:57:50 +08:00
Minghao Li 4c9f10b6f3 refactor(sync): add sync ctrl queue in vnode 2022-10-18 19:12:34 +08:00
Minghao Li e810f2ad64 refactor(sync): delete old code, ok 2022-10-18 13:53:03 +08:00
Minghao Li 8a6eaed6f6 refactor(sync): delete some code 2022-10-17 17:36:51 +08:00
Minghao Li fa30b94c67 refactor(sync): append entries 2022-10-16 12:07:02 +08:00
Minghao Li 4d123c4da6 refactor(sync): add interface in sync 2022-10-14 11:18:48 +08:00
Minghao Li 733440b352 refactor(sync): add double queues in vnode 2022-10-13 14:37:18 +08:00
Hongze Cheng 6ed0634fb7 format more code 2022-10-13 11:56:16 +08:00
Minghao Li 3416ee66d8 fix(sync): enqueue timer msg 2022-10-12 15:35:15 +08:00
Shengliang Guan dfb2b0678f fix: coverity issues 2022-09-30 14:03:46 +08:00
Shengliang Guan 3be4a2ed9c Merge remote-tracking branch 'origin/3.0' into fix/TD-19245 2022-09-29 19:42:09 +08:00
Shengliang Guan e94646ca70 fix: coverity issues 2022-09-29 19:41:54 +08:00
Shengliang Guan c56dd86399 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:29:30 +08:00
Shengliang Guan 4df3303514 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:24:45 +08:00
Shengliang Guan f14d00a5d6 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:19:43 +08:00
Shengliang Guan 7e85a15c31 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:18:20 +08:00
Shengliang Guan 4223be379a fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:15:26 +08:00
Shengliang Guan ee484470f3 fix: do not process query and fetch msg until vnode restore finished 2022-09-29 14:13:44 +08:00
Shengliang Guan 1e5dc921e0 fix: set wal apply version on vnode reopen 2022-09-26 20:32:02 +08:00
Minghao Li dfed091937 fix(sync): wait until apply queue is empty when restore 2022-09-20 18:50:23 +08:00
Minghao Li 22c6d82ded refactor(sync): add syncIsReadyForRead 2022-08-15 14:45:52 +08:00
Minghao Li 6cff4dcfd8 refactor(sync): add syncIsReadyForRead 2022-08-15 14:42:40 +08:00
Liu Jicong b9c9ea5974
Merge pull request #16103 from taosdata/feature/stream
refactor(stream): remove unneccessary param in converting data
2022-08-15 13:26:46 +08:00
Liu Jicong 6f75e03a55 refactor(stream): remove unneccessary param in converting data 2022-08-15 11:06:53 +08:00
Shengliang Guan 65fa1e0164 fix: deadlock of mnode if its state changed 2022-08-12 19:20:31 +08:00