Minghao Li
|
372d26f74b
|
refactor(sync): delete assert, call FpCommitCb when multi replica
|
2022-11-09 11:24:11 +08:00 |
Shengliang Guan
|
ebc17283de
|
Merge pull request #17974 from taosdata/fix/TD-20052
refact: adjust sync resp mgr
|
2022-11-08 23:56:25 +08:00 |
Shengliang Guan
|
bf1aca1b9e
|
fix: send response on enqueue msg failed
|
2022-11-08 23:00:14 +08:00 |
Shengliang Guan
|
1c8a2d696d
|
fix: send response on enqueue msg failed
|
2022-11-08 22:59:05 +08:00 |
Shengliang Guan
|
a4e96ca833
|
refact: adjust sync resp mgr
|
2022-11-08 22:43:12 +08:00 |
Shengliang Guan
|
29f8878519
|
refactor: adjust sync hb
|
2022-11-07 23:32:04 +08:00 |
Shengliang Guan
|
05d0a0fe30
|
Merge branch 'enh/TD-20043' of https://github.com/taosdata/TDengine into enh/TD-20043
|
2022-11-07 23:31:09 +08:00 |
Shengliang Guan
|
9914657cb0
|
refactor: adjust sync hb
|
2022-11-07 23:31:01 +08:00 |
Shengliang Guan
|
70d60a764f
|
Merge branch '3.0' into enh/TD-20043
|
2022-11-07 23:29:53 +08:00 |
Shengliang Guan
|
8c97a5c1f2
|
Merge pull request #17940 from taosdata/feature/3.0_mhli
refactor(sync): delete assert, add error log
|
2022-11-07 23:26:24 +08:00 |
Shengliang Guan
|
848fd58402
|
enh: adjust sync propose
|
2022-11-07 21:12:43 +08:00 |
Shengliang Guan
|
4ddd25a29c
|
enh: adjust sync propose
|
2022-11-07 20:31:26 +08:00 |
Shengliang Guan
|
46e55ba9fb
|
refact: remove config change codes
|
2022-11-07 20:19:55 +08:00 |
Minghao Li
|
d05f9412eb
|
refactor(sync): delete assert, add error log
|
2022-11-07 19:40:49 +08:00 |
Shengliang Guan
|
e060de7059
|
refact: remove config change codes
|
2022-11-07 19:34:48 +08:00 |
Shengliang Guan
|
1ddbeb43bb
|
refact: adjust sync log
|
2022-11-07 19:19:10 +08:00 |
Shengliang Guan
|
bc072aa654
|
Merge branch '3.0' into enh/TD-20043
|
2022-11-07 18:45:44 +08:00 |
Shengliang Guan
|
4baafd3417
|
refact: adjust sync log
|
2022-11-07 18:44:29 +08:00 |
Shengliang Guan
|
b0f469adb1
|
Merge pull request #17931 from taosdata/feature/3.0_mhli
fix(sync): when apply queue not empty, can not read
|
2022-11-07 18:29:53 +08:00 |
Shengliang Guan
|
a1c8db0f88
|
refact: adjust sync log
|
2022-11-07 17:35:24 +08:00 |
Minghao Li
|
b6aea6ae17
|
fix(sync): when apply queue not empty, can not read
|
2022-11-07 16:40:53 +08:00 |
Benguang Zhao
|
5878c9a31a
|
fix: impl ring log buffer
|
2022-11-07 14:27:22 +08:00 |
Shengliang Guan
|
adb335467c
|
fix: coverity issues
|
2022-11-05 19:59:18 +08:00 |
Minghao Li
|
ddb815ac42
|
refactor(sync): optimize advance commit index when one replica
|
2022-11-05 10:54:59 +08:00 |
Minghao Li
|
0838afaa18
|
refactor(sync): add syncIsReadyForRead, set error code
|
2022-11-03 14:35:42 +08:00 |
Minghao Li
|
a4b54c4f0e
|
refactor(sync): add syncIsReadyForRead
|
2022-11-03 13:57:57 +08:00 |
Minghao Li
|
1fc79e289d
|
refactor(sync): modify leader transfer
|
2022-11-03 11:50:24 +08:00 |
Minghao Li
|
102969086d
|
refactor(sync): add local-cmd:follower-commit
|
2022-11-03 10:25:38 +08:00 |
Minghao Li
|
1a4b7622e4
|
enh(sync): add sync pre stop
|
2022-11-03 09:39:20 +08:00 |
Minghao Li
|
70aff8451f
|
refactor(sync): add pre snapshot
|
2022-11-02 15:38:30 +08:00 |
Minghao Li
|
f7191d2ffd
|
refactor(sync): add pre snapshot
|
2022-11-02 15:25:14 +08:00 |
Shengliang Guan
|
59ae60f223
|
Merge pull request #17827 from taosdata/fix/sync
fix(sync): delete assert
|
2022-11-02 13:29:56 +08:00 |
Minghao Li
|
dccbe25aa9
|
fix(sync): delete assert
|
2022-11-02 11:24:42 +08:00 |
Shengliang Guan
|
7a537bba09
|
refact: adjust sync.h and syncState
|
2022-11-02 10:24:55 +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 |
Minghao Li
|
59448cd18e
|
refactor(sync): pre snapshot on message
|
2022-11-01 15:20:08 +08:00 |
Shengliang Guan
|
e79e50ae36
|
enh: refact syncMsg code
|
2022-11-01 13:58:25 +08:00 |
Minghao Li
|
fd07a611a9
|
refactor(sync): add some log
|
2022-11-01 11:30:40 +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
|
fbb1fa5303
|
enh: refact syncEnv code
|
2022-11-01 09:02:48 +08:00 |
Shengliang Guan
|
9bc48e2658
|
Merge remote-tracking branch 'origin/3.0' into fix/TD-20052
|
2022-10-31 23:42:03 +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 |
Shengliang Guan
|
e817e649c6
|
Merge pull request #17788 from taosdata/enh/TD-19090
enh: force drop dnode
|
2022-10-31 23:27:54 +08:00 |
Shengliang Guan
|
26f1e64f2a
|
enh: force drop dnode
|
2022-10-31 21:33:06 +08:00 |
Shengliang Guan
|
1ad604a5f9
|
enh: force drop dnode
|
2022-10-31 19:57:27 +08:00 |
Minghao Li
|
d246514da2
|
refactor(sync): check msgcb, putToQueueFp NULL
|
2022-10-31 18:16:58 +08:00 |
Minghao Li
|
6b74412994
|
refactor(sync): print fatal log when commit error
|
2022-10-31 16:30:42 +08:00 |
Minghao Li
|
77ba900776
|
refactor(sync): add sync local cmd, step down
|
2022-10-31 16:12:40 +08:00 |
Minghao Li
|
0b20b914bb
|
refactor(sync): add sync local cmd
|
2022-10-31 14:17:26 +08:00 |
Shengliang Guan
|
b052766547
|
Merge pull request #17759 from taosdata/fix/sync
refactor(sync) delete ASSERT
|
2022-10-30 17:41:31 +08:00 |
Minghao Li
|
783a65f827
|
refactor(sync) delete ASSERT
|
2022-10-29 10:57:15 +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 |
Shengliang Guan
|
08aa82295b
|
Merge pull request #17694 from taosdata/fix/sync
fix(sync): fix coverity issues
|
2022-10-27 13:20:57 +08:00 |
Shengliang Guan
|
14519019f7
|
enh: balance vgroup
|
2022-10-27 11:10:54 +08:00 |
Minghao Li
|
e3c055e0c4
|
fix(sync): fix coverity issues
|
2022-10-27 10:08:12 +08:00 |
Minghao Li
|
1ae3cab198
|
refactor(sync): check pSyncTimer NULL
|
2022-10-26 10:56:50 +08:00 |
Minghao Li
|
7723a9ac28
|
refactor(sync): delete %ld
|
2022-10-25 23:17:52 +08:00 |
Minghao Li
|
49af601e19
|
refactor(sync): add SElectTimer
|
2022-10-25 19:56:49 +08:00 |
Minghao Li
|
9caea0f944
|
refactor(sync): adjust elect timer
|
2022-10-25 19:43:07 +08:00 |
Minghao Li
|
96a8a80cd7
|
refactor(sync): add trace log
|
2022-10-25 19:22:25 +08:00 |
Minghao Li
|
01b712fbfd
|
refactor(sync): add trace log
|
2022-10-25 19:11:28 +08:00 |
Minghao Li
|
64f539cacb
|
refactor(sync): adjust timer
|
2022-10-25 18:03:22 +08:00 |
Minghao Li
|
eb7b9d3819
|
fix(sync): fix coverity scan issues
|
2022-10-25 14:28:34 +08:00 |
Minghao Li
|
fddd6657bc
|
fix(sync): add error log when pState is NULL
|
2022-10-24 14:51:45 +08:00 |
Minghao Li
|
a228d5ecb9
|
fix(sync): break when pState is NULL
|
2022-10-24 14:09:12 +08:00 |
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 |
Shengliang Guan
|
b8fdafe8ee
|
fix: not reconfig if unchanged
|
2022-10-21 15:47:26 +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
|
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
|
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
|
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
|
45bce6ad49
|
refactor(sync): add syncBeginSnapshot, syncEndSnapshot
|
2022-10-17 18:08:35 +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
|
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 |
Benguang Zhao
|
715f53a856
|
fix: eliminate asserts on errors of appending or getting log entry
|
2022-10-14 22:46:35 +08:00 |
Shengliang Guan
|
fc090a1a4a
|
enh: refactor the code to create and delete mnodes
|
2022-10-14 22:19:10 +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 |
Minghao Li
|
4d123c4da6
|
refactor(sync): add interface in sync
|
2022-10-14 11:18:48 +08:00 |
Minghao Li
|
2ae4081a3f
|
refactor(sync): add double queues in vnode
|
2022-10-13 20:57:36 +08:00 |
Minghao Li
|
733440b352
|
refactor(sync): add double queues in vnode
|
2022-10-13 14:37:18 +08:00 |
Hongze Cheng
|
c79cc7e454
|
more code format
|
2022-10-13 14:06:27 +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 |
Benguang Zhao
|
b71a9e3483
|
enh: improve error handling in syncNodeOpen
|
2022-09-28 13:34:13 +08:00 |
Minglei Jin
|
8bc6a6297f
|
enh(sync): log entry cache for sync
|
2022-09-20 19:57:02 +08:00 |
Minghao Li
|
c151dd3b92
|
fix(sync): mem leak
|
2022-09-07 10:35:44 +08:00 |
Minghao Li
|
8da7950282
|
refactor(sync): close receiver when become leader
|
2022-08-22 15:40:28 +08:00 |
Minghao Li
|
8a32c0c189
|
refactor(sync): adjust strategy for dynamic quorum
|
2022-08-18 14:55:57 +08:00 |
Minghao Li
|
2ca5bdc708
|
refactor(sync): add syncNodeDynamicQuorum
|
2022-08-17 15:39:38 +08:00 |
Minghao Li
|
4164d14637
|
refactor(sync): add syncIsReadyForRead
|
2022-08-15 18:50:14 +08:00 |
Minghao Li
|
6cff4dcfd8
|
refactor(sync): add syncIsReadyForRead
|
2022-08-15 14:42:40 +08:00 |
Minghao Li
|
8f0361bf75
|
refactor(sync): delete expired config index
|
2022-08-11 17:42:04 +08:00 |
Minghao Li
|
dc42544e9e
|
refactor(sync): add leader, follower call back2
|
2022-08-10 20:45:36 +08:00 |
Minghao Li
|
b4c8685766
|
refactor(sync): add leader, follower call back
|
2022-08-10 17:17:30 +08:00 |
Li Minghao
|
7722f88093
|
Merge pull request #15861 from taosdata/feature/3.0_mhli
refactor(sync): speed up replicate
|
2022-08-08 20:36:49 +08:00 |
Minghao Li
|
df18cc5f47
|
refactor(sync): speed up replicate
|
2022-08-08 19:46:37 +08:00 |
Li Minghao
|
4c775b118a
|
Merge pull request #15843 from taosdata/feature/3.0_mhli
refactor(sync): speed up replicate
|
2022-08-08 17:26:34 +08:00 |
Minghao Li
|
62b07dbe5d
|
refactor(sync): speed up replicate
|
2022-08-08 15:10:32 +08:00 |
Li Minghao
|
ad55155897
|
Merge pull request #15838 from taosdata/feature/3.0_mhli
refactor(sync): make leader life longer
|
2022-08-08 14:03:33 +08:00 |
Minghao Li
|
d9b8417d7b
|
refactor(sync): make leader life longer
|
2022-08-08 14:01:31 +08:00 |
Minghao Li
|
0f63837e69
|
refactor(sync): make leader life longer
|
2022-08-08 13:25:02 +08:00 |
Li Minghao
|
363a4f38e3
|
Merge pull request #15821 from taosdata/feature/3.0_mhli
refactor(sync): make leader life longer
|
2022-08-08 10:32:55 +08:00 |
Minghao Li
|
f83ca89ea2
|
refactor(sync): make leader life longer
|
2022-08-06 19:40:10 +08:00 |
Zhiqiang Wang
|
0f13d640b9
|
Merge pull request #15798 from taosdata/fix/ZhiqiangWang/TD-15311-fix-win-sync-compile-error
os: fix win sync compile error
|
2022-08-06 14:34:39 +08:00 |
afwerar
|
d42c9b0eae
|
os: fix win sync compile error
|
2022-08-06 13:44:01 +08:00 |
Minghao Li
|
e628b70726
|
refactor(sync): make leader life longer
|
2022-08-06 13:17:08 +08:00 |
afwerar
|
240a4a197c
|
os: fix win sync compile error
|
2022-08-06 13:10:01 +08:00 |
afwerar
|
457cae2561
|
os: fix win sync compile error
|
2022-08-06 11:46:05 +08:00 |
Minghao Li
|
27d72283bc
|
refactor(sync): make leader life longer
|
2022-08-05 16:45:21 +08:00 |
Minghao Li
|
327b938cbb
|
refactor(sync): make leader life longer
|
2022-08-05 15:33:44 +08:00 |
Minghao Li
|
e23c969d26
|
refactor(sync): make leader life longer
|
2022-08-05 13:33:49 +08:00 |
Minghao Li
|
9be864a6be
|
refactor(sync): make leader life longer
|
2022-08-04 20:36:12 +08:00 |
Shengliang Guan
|
f7e8341457
|
fix: adjust logs
|
2022-08-03 10:56:37 +08:00 |
Shengliang Guan
|
d5ff7c3207
|
fix: remove redundant syncNodeReplicate calls
|
2022-08-02 21:02:26 +08:00 |
Shengliang Guan
|
11bf501cad
|
refactor: adjust logs
|
2022-08-02 19:59:02 +08:00 |
Shengliang Guan
|
56f2e49764
|
refactor: adjust logs
|
2022-08-02 17:12:07 +08:00 |
Shengliang Guan
|
efb0127fbf
|
refactor: adjust logs
|
2022-08-02 16:48:49 +08:00 |
Shengliang Guan
|
d5aea7dac2
|
refactor: adjust sync log
|
2022-08-02 16:39:12 +08:00 |
Shengliang Guan
|
99f29f6455
|
refactor: adjust log
|
2022-08-01 17:23:52 +08:00 |
Minghao Li
|
cd7d434ed8
|
refactor(sync): delete trace log
|
2022-08-01 15:50:51 +08:00 |
Minghao Li
|
4b6b1de91c
|
refactor(sync): restart hb timer when replicate get error term
|
2022-07-30 17:30:10 +08:00 |
Minghao Li
|
7ce5fb11b0
|
refactor(sync): speed up sync point
|
2022-07-29 21:05:56 +08:00 |
Minghao Li
|
5ad0ac9500
|
refactor(sync): add propose batch
|
2022-07-28 20:24:31 +08:00 |
Minghao Li
|
64f4325bd7
|
refactor(sync): modify propose batch interface
|
2022-07-28 17:55:15 +08:00 |
Minghao Li
|
166331c377
|
refactor(sync): add pre-commit interface
|
2022-07-26 19:12:13 +08:00 |
Minghao Li
|
49a4e83d48
|
refactor(sync): add pre-commit interface
|
2022-07-26 13:23:56 +08:00 |
Minghao Li
|
43e2f8bc2b
|
refactor(sync): add pre-commit interface
|
2022-07-26 10:59:56 +08:00 |
Minghao Li
|
aebf398b9a
|
refactor(sync): add trace log
|
2022-07-21 17:34:29 +08:00 |
Minghao Li
|
3eff1f03e0
|
refactor(sync): add trace log
|
2022-07-21 10:57:14 +08:00 |
Minghao Li
|
540f519ad7
|
refactor(sync): add trace log
|
2022-07-20 20:24:49 +08:00 |
Minghao Li
|
3491896b7a
|
refactor(sync): add trace log
|
2022-07-20 19:12:02 +08:00 |
Minghao Li
|
94b3e9d2f0
|
refactor(sync): add trace log
|
2022-07-20 19:00:55 +08:00 |
Minghao Li
|
7808fdfccb
|
refactor(sync): add trace log
|
2022-07-20 17:19:42 +08:00 |
Minghao Li
|
c2b348bec5
|
refactor(sync): add trace log
|
2022-07-20 15:34:09 +08:00 |
Minghao Li
|
90e7d794f3
|
fix(sync): reset commit index by snapshot when open sync
|
2022-07-20 13:32:38 +08:00 |
Minghao Li
|
54be75ff13
|
refactor(sync): add trace log
|
2022-07-20 11:18:43 +08:00 |
Minghao Li
|
991d6fd8a1
|
refactor(sync): add trace log
|
2022-07-19 17:20:59 +08:00 |
Minghao Li
|
fc08a35fbf
|
refactor(sync): update sync-timeout to 10s
|
2022-07-19 13:52:02 +08:00 |
Minghao Li
|
7187c87d35
|
refactor(sync): add restart heartbeat timer
|
2022-07-18 16:55:24 +08:00 |
Minghao Li
|
6f29fd4020
|
fix(sync): snapshot begin index
|
2022-07-16 15:34:22 +08:00 |
Minghao Li
|
59c7348c94
|
refactor(sync): add leader transfer callback
|
2022-07-15 16:07:45 +08:00 |
Minghao Li
|
681993884f
|
refactor(sync): add leader transfer callback
|
2022-07-15 14:55:33 +08:00 |
Li Minghao
|
e3eaddac0d
|
Merge pull request #14869 from taosdata/feature/3.0_mhli
refactor(sync): optimized replication
|
2022-07-15 13:12:37 +08:00 |
Minghao Li
|
3769e07708
|
refactor(sync): optimized replication
|
2022-07-13 18:13:22 +08:00 |
Li Minghao
|
60703bdd05
|
Merge pull request #14857 from taosdata/feature/3.0_mhli
refactor(sync): add skiplist entry cache
|
2022-07-13 17:52:45 +08:00 |
Shengliang Guan
|
480de34a0e
|
enh: support alter debugflag in dnode
|
2022-07-13 14:13:12 +08:00 |
Minghao Li
|
473e134f31
|
refactor(sync): add resp ttl clean
|
2022-07-12 16:57:19 +08:00 |
Minghao Li
|
96f9274fef
|
refactor(sync): add timer routines
|
2022-07-12 15:04:32 +08:00 |
Minghao Li
|
129b289bdf
|
refactor(sync): do leader transfer
|
2022-07-12 14:34:18 +08:00 |
Minghao Li
|
03fe08a890
|
refactor(sync): modify trace log
|
2022-07-12 11:15:58 +08:00 |
Minghao Li
|
d7d8d82eec
|
refactor(sync): modify log to index
|
2022-07-12 11:08:01 +08:00 |
Minghao Li
|
2dd7abd47e
|
refactor(sync): add vnode snapshot case
|
2022-07-11 10:34:02 +08:00 |
Shengliang Guan
|
6bb8a9ad8a
|
refactor: adjust logs
|
2022-07-08 19:41:23 +08:00 |
Shengliang Guan
|
a5e8ddbc56
|
refactor: adjust logs
|
2022-07-08 18:00:19 +08:00 |
Shengliang Guan
|
361c21a35c
|
refactor: adjust logs
|
2022-07-08 17:27:06 +08:00 |
Li Minghao
|
d94680c3c4
|
Merge pull request #14676 from taosdata/feature/3.0_mhli
fix(sync): append entries batch
|
2022-07-08 16:07:22 +08:00 |
Shengliang Guan
|
b7077b7fb3
|
Merge pull request #14679 from taosdata/fix/valgrind
refactor: change fndebugfalg to udfdebugflag
|
2022-07-08 15:44:37 +08:00 |
Shengliang Guan
|
6e12d8e707
|
refactor: adjust log
|
2022-07-08 15:20:15 +08:00 |
Minghao Li
|
1ee5468411
|
fix(sync): append entries batch
|
2022-07-08 14:47:00 +08:00 |
Minghao Li
|
1c3c270307
|
fix(sync): snapshot strategy wal first
|
2022-07-07 17:00:01 +08:00 |
Shengliang Guan
|
0163ec4d4b
|
Merge remote-tracking branch 'origin/3.0' into fix/dnode
|
2022-07-06 18:53:26 +08:00 |
Minghao Li
|
b73914fb0d
|
refactor(sync): add term in rpcMsg
|
2022-07-06 16:52:39 +08:00 |
Shengliang Guan
|
5e18e07a35
|
refactor: pre process vnode msg
|
2022-07-06 16:06:55 +08:00 |
Minghao Li
|
78efbaabe1
|
refactor(sync): add syncGetSnapshotByIndex
|
2022-07-06 15:16:52 +08:00 |
Minghao Li
|
83b639ae8f
|
refactor(sync): persist batch size
|
2022-07-06 14:58:38 +08:00 |
Minghao Li
|
6ec47a7a60
|
fix(sync): propose batch
|
2022-07-06 13:17:16 +08:00 |
Minghao Li
|
730a7a4a58
|
refactor(sync): snapshot strategy
|
2022-07-06 11:44:28 +08:00 |
Minghao Li
|
cd4bc6e30b
|
refactor(sync): snapshot strategy
|
2022-07-06 11:12:45 +08:00 |
Minghao Li
|
8a4e251be7
|
fix(sync): batch propose
|
2022-07-06 10:32:17 +08:00 |
Minghao Li
|
103a9cd9e8
|
fix(sync): release SyncNode ref
|
2022-07-05 17:39:01 +08:00 |
Minghao Li
|
88b0ab5458
|
fix(sync): release SyncNode ref
|
2022-07-05 17:32:51 +08:00 |
Shengliang Guan
|
2daef4ba58
|
fix: add ref log to sync
|
2022-07-05 11:36:41 +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 |
Minghao Li
|
24a3c817a4
|
refactor(sync): add batch propose
|
2022-06-30 16:44:49 +08:00 |
Minghao Li
|
376bf46a64
|
refactor(sync): add SyncClientRequestBatch
|
2022-06-30 15:28:23 +08:00 |
Minghao Li
|
3440822ebf
|
refactor(sync): add some comments
|
2022-06-29 16:40:36 +08:00 |
Minghao Li
|
41f24314d0
|
refactor(sync): add SYNC_TERM_INVALID
|
2022-06-29 15:44:30 +08:00 |
Minghao Li
|
aded474d5b
|
refactor(sync): adjust trace log
|
2022-06-28 16:19:15 +08:00 |
Minghao Li
|
33d1440e7b
|
refactor(sync): adjust trace log
|
2022-06-28 14:23:45 +08:00 |
Minghao Li
|
49ff32cda5
|
refactor(sync): add entries cache
|
2022-06-27 16:53:02 +08:00 |
Minghao Li
|
6eecbcd1a6
|
refactor(sync): optimized one replica
|
2022-06-26 01:16:11 +08:00 |
Minghao Li
|
a6f33ba01c
|
refactor(sync): optimized one replica
|
2022-06-25 20:31:42 +08:00 |
Minghao Li
|
77b365f0cc
|
refactor(sync): do not replicate when one replica
|
2022-06-25 16:27:05 +08:00 |
Minghao Li
|
87defc2790
|
refactor(sync): add interface: get retry epset
|
2022-06-24 14:26:31 +08:00 |
Minghao Li
|
8a8e42a923
|
refactor(sync): set error code in syncIsReady
|
2022-06-24 14:04:58 +08:00 |
Minghao Li
|
b3fa103cb9
|
refactor(sync): add trace log
|
2022-06-24 11:36:26 +08:00 |
Minghao Li
|
3d9ffc42e8
|
refactor(sync): refactor wal abstraction
|
2022-06-23 21:16:16 +08:00 |
Minghao Li
|
00c0926c44
|
refactor(sync): hold wal handle with log store
|
2022-06-23 14:58:52 +08:00 |
Minghao Li
|
ca4d7329ce
|
refactor(sync): modify wal error log
|
2022-06-23 14:07:18 +08:00 |
Minghao Li
|
e051bc51db
|
refactor(sync): add trace log
|
2022-06-23 11:23:44 +08:00 |
Minghao Li
|
a701451a27
|
refactor(sync): add trace log
|
2022-06-23 11:09:01 +08:00 |
Minghao Li
|
9786ba2fbe
|
fix(sync): update nextindex, matchindex when backto nolog
|
2022-06-23 10:10:57 +08:00 |
Minghao Li
|
2f2715aca4
|
fix(sync): save saveErr
|
2022-06-22 20:23:49 +08:00 |
Minghao Li
|
4381c3620d
|
refactor(sync): calculate index after append entry
|
2022-06-21 19:00:24 +08:00 |
Minghao Li
|
363c98e9ed
|
refactor(sync): abstract for log store
|
2022-06-21 17:45:08 +08:00 |
Minghao Li
|
ecc43b6697
|
refactor(sync): delete some assert
|
2022-06-21 16:02:36 +08:00 |
Minghao Li
|
b61a5cd126
|
refactor(sync) add trace log
|
2022-06-21 15:30:24 +08:00 |
Minghao Li
|
0fb64add90
|
refactor(sync) add trace log
|
2022-06-21 15:09:23 +08:00 |
Shengliang Guan
|
e87baa8df7
|
Merge remote-tracking branch 'origin/3.0' into fix/mnode
|
2022-06-21 11:42:11 +08:00 |
Shengliang Guan
|
714c599fd7
|
fix: deadlock while set standby
|
2022-06-21 11:40:27 +08:00 |
Minghao Li
|
50e3527f2b
|
refactor(sync): set ranmdom seed by ns
|
2022-06-21 11:11:16 +08:00 |
Minghao Li
|
3b7e0bfdcc
|
fix(sync): set standby when not follower
|
2022-06-20 20:55:40 +08:00 |
Minghao Li
|
9f76504830
|
refactor(sync): propose fail when changing
|
2022-06-20 20:10:13 +08:00 |
Minghao Li
|
3573ae1564
|
refactor(sync): block when changing
|
2022-06-20 20:07:36 +08:00 |
Minghao Li
|
e441bd266b
|
refactor(sync): add changing state
|
2022-06-20 17:48:56 +08:00 |
Minghao Li
|
5968c6353f
|
refactor(sync): get snapshot and create reader
|
2022-06-20 10:58:59 +08:00 |
Minghao Li
|
16930ac3aa
|
refactor(sync): adjust log buf size
|
2022-06-18 18:42:40 +08:00 |
Minghao Li
|
f5366425ed
|
refactor(sync): append noop in become leader
|
2022-06-18 17:02:29 +08:00 |
Minghao Li
|
b247762931
|
refactor(sync) refactor trace log
|
2022-06-18 15:17:58 +08:00 |
Shengliang Guan
|
ab2f268601
|
Merge branch 'fix/tsim' into fix/dnode
|
2022-06-17 14:53:04 +08:00 |
Shengliang Guan
|
43f8f34b0f
|
refactor: adjust logs
|
2022-06-17 14:24:17 +08:00 |
Shengliang Guan
|
6e6f559f9c
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-17 14:06:44 +08:00 |
Minghao Li
|
9ab28e0b88
|
refactor(sync): add last config index in fsm cbMeta
|
2022-06-17 14:05:52 +08:00 |
Shengliang Guan
|
ce08a98149
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-17 13:09:19 +08:00 |
Minghao Li
|
455a8da0ad
|
refactor(sync): add config index to json
|
2022-06-17 13:08:41 +08:00 |
Shengliang Guan
|
7e0ad8781b
|
refactor(sync) add raft cfg test
|
2022-06-17 11:46:19 +08:00 |
Shengliang Guan
|
28b3268224
|
fix(sync) add trace log
|
2022-06-17 11:40:18 +08:00 |
Minghao Li
|
f5db109e61
|
fix(sync): get last max snapshot index
|
2022-06-17 11:37:10 +08:00 |
Shengliang Guan
|
dd024941b7
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 19:10:52 +08:00 |
Minghao Li
|
3fdd0c30ac
|
refactor(sync): add trace log
|
2022-06-16 19:08:44 +08:00 |
Shengliang Guan
|
5d9a3850d2
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into fix/dnode
|
2022-06-16 18:09:30 +08:00 |
Minghao Li
|
46c09f2c84
|
refactor(sync): add trace log
|
2022-06-16 18:08:01 +08:00 |
Shengliang Guan
|
34b6ecafba
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
|
2022-06-16 17:42:27 +08:00 |
Minghao Li
|
15ac89590c
|
refactor(sync): add trace log
|
2022-06-16 17:41:01 +08:00 |
Shengliang Guan
|
fe9f8bfe98
|
Merge remote-tracking branch 'origin/3.0' into test/chr/TD-14699
|
2022-06-16 17:39:39 +08:00 |
Shengliang Guan
|
35c47cee55
|
Merge remote-tracking branch 'origin/feature/3.0_mhli' into test/chr/TD-14699
|
2022-06-16 16:17:20 +08:00 |
Minghao Li
|
2f81a41f98
|
refactor(sync): add syncIsReady
|
2022-06-16 16:16:40 +08:00 |
Minghao Li
|
9a9200d28b
|
refactor(sync): add restore finish when become leader again
|
2022-06-16 15:38:40 +08:00 |
Shengliang Guan
|
7aa087a48d
|
feat: redistribute vgroup
|
2022-06-16 15:25:04 +08:00 |
Minghao Li
|
77b03ac821
|
refactor(sync): add restore finish when become leader again
|
2022-06-16 14:40:42 +08:00 |
Shengliang Guan
|
19439c8b58
|
fix: adjust log
|
2022-06-15 19:55:36 +08:00 |
Minghao Li
|
dcd65e6dea
|
refactor(sync): do not heartbeat when 1 replica
|
2022-06-15 17:17:15 +08:00 |
Minghao Li
|
4b18bd718e
|
refactor(sync): adjust errno
|
2022-06-15 16:14:17 +08:00 |
Minghao Li
|
c9f6c20410
|
refactor(sync): if eqmsg error, return
|
2022-06-15 11:42:04 +08:00 |
Minghao Li
|
6c7072286d
|
refactor(sync): if eqmsg error, return
|
2022-06-15 11:06:06 +08:00 |
Li Minghao
|
c156d964b6
|
Merge pull request #13841 from taosdata/feature/3.0_mhli
refactor(sync): add respMgr trace log
|
2022-06-14 22:56:42 +08:00 |
Minghao Li
|
a51eee06eb
|
refactor(sync): add trace log
|
2022-06-14 20:39:53 +08:00 |
Minghao Li
|
b60fde8f73
|
refactor(sync): add trace log
|
2022-06-14 20:33:57 +08:00 |
Li Minghao
|
41a285a3f6
|
Merge pull request #13807 from taosdata/feature/3.0_mhli
refactor(sync): update replica index in snapshot sender
|
2022-06-14 15:21:09 +08:00 |
Minghao Li
|
5268b5233a
|
refactor(sync): update replica index in snapshot sender
|
2022-06-14 14:40:06 +08:00 |
Minghao Li
|
a2039d8bb2
|
fix(sync) if FpEqMsg return error, do not enqueue msg
|
2022-06-14 13:16:49 +08:00 |
Minghao Li
|
979420801e
|
fix(sync) if FpEqMsg return error, do not enqueue msg
|
2022-06-14 13:07:27 +08:00 |
Minghao Li
|
9cd54c5cc9
|
refactor(sync): update replica index in snapshot sender
|
2022-06-14 11:16:32 +08:00 |
Minghao Li
|
3887e940f1
|
fix(sync): when receive snapshot rsp from a dropped replica
|
2022-06-14 10:24:05 +08:00 |
Shengliang Guan
|
82112e8d4a
|
Merge pull request #13786 from taosdata/fix/mnode
fix(sync): send snapshot to multi nodes at the same time
|
2022-06-14 09:54:21 +08:00 |
Shengliang Guan
|
318f2771ea
|
fix(sync): close detail log
|
2022-06-13 22:36:54 +08:00 |
Shengliang Guan
|
be3de7b7df
|
fix(sync): send snapshot to multi nodes at the same time
|
2022-06-13 22:20:53 +08:00 |
Minghao Li
|
e4897e5f46
|
enh(sync): add leader transfer
|
2022-06-13 15:52:43 +08:00 |
Minghao Li
|
f47a28fe8a
|
enh(sync): add leader transfer
|
2022-06-13 15:47:43 +08:00 |
Xiaoyu Wang
|
1863bbee9a
|
merge 3.0
|
2022-06-13 15:01:29 +08:00 |
Xiaoyu Wang
|
380a071551
|
fix: handle the memory leak of parser
|
2022-06-13 14:54:38 +08:00 |
Minghao Li
|
b1093b4a79
|
fix(sync): use fqdn instead of raftId
|
2022-06-13 12:13:35 +08:00 |
Shengliang Guan
|
95e4b79091
|
feat: redistribute vgroup
|
2022-06-13 11:55:38 +08:00 |
Minghao Li
|
34c906a1e1
|
refactor(sync): add debug log
|
2022-06-13 10:39:32 +08:00 |
Minghao Li
|
aad288ab17
|
refactor(sync): add debug log
|
2022-06-12 15:21:56 +08:00 |
Minghao Li
|
6a4cdadef6
|
refactor(sync): add debug log
|
2022-06-11 21:56:44 +08:00 |
Minghao Li
|
f92f1bbcc0
|
fix(sync): snapshot overwrite config change
|
2022-06-11 16:20:15 +08:00 |
Minghao Li
|
104a1bb59b
|
fix(sync): snapshot overwrite config change
|
2022-06-11 16:11:18 +08:00 |
Minghao Li
|
dffbec29c7
|
refactor(sync): add last config index z
|
2022-06-11 15:31:49 +08:00 |