Shengliang Guan
|
6d1bf00cee
|
fix: use sync cfg from vnode
|
2022-10-24 12:42:44 +08:00 |
Shengliang Guan
|
ec786b9d78
|
fix: alter replica one by one
|
2022-10-24 11:57:26 +08:00 |
Minghao Li
|
e2a157bb02
|
fix(sync): fix timer bug
|
2022-10-23 20:14:51 +08:00 |
Shengliang Guan
|
0914c02394
|
fix: compile error in mac
|
2022-10-22 23:49:49 +08:00 |
Shengliang Guan
|
15fade84d8
|
fix: compile error
|
2022-10-22 22:21:11 +08:00 |
Shengliang Guan
|
71ac720ac0
|
fix: compile error in mac
|
2022-10-22 08:47:09 +08:00 |
Shengliang Guan
|
2d3f5274b7
|
fix: compile error in mac
|
2022-10-22 08:39:58 +08:00 |
Minghao Li
|
5ee04e8059
|
refacotr(sync): free memory
|
2022-10-21 16:27:14 +08:00 |
Minghao Li
|
40ec6ba970
|
Merge branch 'feature/sync2-merge' of https://github.com/taosdata/TDengine into feature/sync2-merge
|
2022-10-21 15:47:51 +08:00 |
Shengliang Guan
|
b8fdafe8ee
|
fix: not reconfig if unchanged
|
2022-10-21 15:47:26 +08:00 |
Minghao Li
|
11a4ef3508
|
Merge branch 'feature/sync2-merge' of https://github.com/taosdata/TDengine into feature/sync2-merge
|
2022-10-21 15:46:09 +08:00 |
Minghao Li
|
cf3d865bae
|
refacotr(sync): delete DynamicQuorum
|
2022-10-21 15:43:28 +08:00 |
Shengliang Guan
|
92584d133f
|
Merge branch 'feature/sync2-merge' of https://github.com/taosdata/TDengine into feature/sync2-merge
|
2022-10-21 15:38:55 +08:00 |
Shengliang Guan
|
c6bbd18924
|
fix: not post sem if transId is 0
|
2022-10-21 15:33:06 +08:00 |
Minghao Li
|
b492082ac2
|
refacotr(sync): delete DynamicQuorum
|
2022-10-21 15:31:55 +08:00 |
Minghao Li
|
3c94d61493
|
refacotr(sync): judge peer state null
|
2022-10-21 15:22:34 +08:00 |
Minghao Li
|
984af8a877
|
refactor(sync): if data is null, do not update state mgr
|
2022-10-21 15:13:51 +08:00 |
Minghao Li
|
8bdec5f2f2
|
refactor(sync): delete standby
|
2022-10-21 11:53:14 +08:00 |
Minghao Li
|
c7279cca52
|
fix(sync): sync reconfig
|
2022-10-20 19:36:47 +08:00 |
Shengliang Guan
|
894e75ca65
|
fix: comment sncReconfig
|
2022-10-20 18:32:19 +08:00 |
Minghao Li
|
5965629b2e
|
refactor(sync): refacotr sync
|
2022-10-20 16:05:14 +08:00 |
Minghao Li
|
27f690fd0a
|
refacotr(sync): modify sync-snapshot
|
2022-10-20 14:57:49 +08:00 |
Minghao Li
|
74b48e6df8
|
refacotr(sync): modify sync-snapshot
|
2022-10-20 14:53:03 +08:00 |
Minghao Li
|
3e6d6fe89b
|
refactor(sync): do replicate in timer routine
|
2022-10-19 19:12:04 +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
|
357951e947
|
refactor(sync): modify some code
|
2022-10-19 16:08:42 +08:00 |
Shengliang Guan
|
881db69feb
|
Merge pull request #17453 from taosdata/feature/sync2-merge
refactor(sync): add sync ctrl queue in vnode
|
2022-10-19 15:50:09 +08:00 |
Minghao Li
|
28a5a9d7e1
|
refactor(sync): add log, update quorum first when reconfig
|
2022-10-19 10:57:50 +08:00 |
Benguang Zhao
|
00a066443f
|
Merge branch '3.0' into FIX/TD-19593-3.0
|
2022-10-19 09:38:36 +08:00 |
Benguang Zhao
|
3b0968d7f9
|
enh: enable the -Wformat=2 compiler option
|
2022-10-19 09:24:15 +08:00 |
Minghao Li
|
4c9f10b6f3
|
refactor(sync): add sync ctrl queue in vnode
|
2022-10-18 19:12:34 +08:00 |
Minghao Li
|
1df2703c41
|
refactor(sync): modify strategy for syncBeginSnapshot
|
2022-10-18 17:15:57 +08:00 |
Shengliang Guan
|
9e0feee081
|
enh: sync propose return at once if replica is 1
|
2022-10-18 17:06:03 +08:00 |
Minghao Li
|
e85954276f
|
refactor(sync): rename functions
|
2022-10-18 16:16:53 +08:00 |
Minghao Li
|
1b36ad119c
|
refactor(sync): rename functions
|
2022-10-18 15:24:00 +08:00 |
Minghao Li
|
49c19e13f2
|
refactor(sync): rename function
|
2022-10-18 14:16:39 +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
|
94ba0f47f0
|
refactor(sync): stop elect when not candidate
|
2022-10-17 20:20:55 +08:00 |
Minghao Li
|
45bce6ad49
|
refactor(sync): add syncBeginSnapshot, syncEndSnapshot
|
2022-10-17 18:08:35 +08:00 |
Minghao Li
|
8a6eaed6f6
|
refactor(sync): delete some code
|
2022-10-17 17:36:51 +08:00 |
Minghao Li
|
092a07475d
|
refactor(sync): process hb and appendentries
|
2022-10-17 16:38:44 +08:00 |
Shengliang Guan
|
8fe672feab
|
fix: crash whle reconfig mnode will cause taosd reboot failure
|
2022-10-17 14:34:51 +08:00 |
Minghao Li
|
a3f8c03a65
|
refacotr(sync): add case sync2-test.sim
|
2022-10-17 10:58:55 +08:00 |
Minghao Li
|
5745223bca
|
refactor(sync): add double queues in mnode
|
2022-10-17 10:33:27 +08:00 |
Minghao Li
|
fa30b94c67
|
refactor(sync): append entries
|
2022-10-16 12:07:02 +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
|
c70d10334c
|
enh: print vgId in error msg within syncNodeCommit
|
2022-10-15 23:57:37 +08:00 |
Minghao Li
|
797d1324c5
|
refactor(sync): request vote
|
2022-10-15 09:28:55 +08:00 |
Benguang Zhao
|
63b13db10f
|
fix: eliminate asserts on getting and committing log entries
|
2022-10-14 22:57:27 +08:00 |