-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement ReplicatorStateListener for Replicator consecutiveErrorTimes enhancement #256
Merged
fengjiachun
merged 14 commits into
sofastack:master
from
zongtanghu:feature_replicatorStateListener
Aug 27, 2019
Merged
Implement ReplicatorStateListener for Replicator consecutiveErrorTimes enhancement #256
fengjiachun
merged 14 commits into
sofastack:master
from
zongtanghu:feature_replicatorStateListener
Aug 27, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…istener implement.
SteNicholas
reviewed
Aug 22, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
按照JRaft代码格式修改下~
jraft-core/src/main/java/com/alipay/sofa/jraft/ReplicatorGroup.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorGroupTest.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorGroupTest.java
Outdated
Show resolved
Hide resolved
…bout replicatorStatusListener implement.
killme2008
reviewed
Aug 22, 2019
killme2008
reviewed
Aug 22, 2019
killme2008
reviewed
Aug 22, 2019
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/test/java/com/alipay/sofa/jraft/core/NodeTest.java
Outdated
Show resolved
Hide resolved
killme2008
reviewed
Aug 22, 2019
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorGroupTest.java
Outdated
Show resolved
Hide resolved
@zongtanghu 提了一些意见,还请再看下,谢谢 |
fengjiachun
reviewed
Aug 22, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/NodeTest.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/NodeTest.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorGroupTest.java
Outdated
Show resolved
Hide resolved
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorTest.java
Outdated
Show resolved
Hide resolved
fengjiachun
reviewed
Aug 22, 2019
Okay,I will adjust codes and push it later.
huzongtang@cmss.chinamobile.com
From: dennis zhuang
Date: 2019-08-22 19:20
To: sofastack/sofa-jraft
CC: Hu Zongtang; Mention
Subject: Re: [sofastack/sofa-jraft] Implement ReplicatorStateListener for Replicator consecutiveErrorTimes enhancement (#256)
@zongtanghu 提了一些意见,还请再看下,谢谢
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
fengjiachun
reviewed
Aug 26, 2019
fengjiachun
reviewed
Aug 26, 2019
fengjiachun
reviewed
Aug 26, 2019
fengjiachun
reviewed
Aug 26, 2019
fengjiachun
reviewed
Aug 26, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
fengjiachun
reviewed
Aug 26, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
fengjiachun
reviewed
Aug 26, 2019
killme2008
reviewed
Aug 27, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
…tatusListener implement.
fengjiachun
reviewed
Aug 27, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
…tatusListener implement.
@zongtanghu 代码需要格式化一下 |
SteNicholas
reviewed
Aug 27, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
done |
killme2008
reviewed
Aug 27, 2019
jraft-core/src/main/java/com/alipay/sofa/jraft/core/Replicator.java
Outdated
Show resolved
Hide resolved
I have already adjusted codes, code styles and comments! @fengjiachun @killme2008 @SteNicholas |
SteNicholas
reviewed
Aug 27, 2019
jraft-core/src/test/java/com/alipay/sofa/jraft/core/ReplicatorGroupTest.java
Outdated
Show resolved
Hide resolved
SteNicholas
approved these changes
Aug 27, 2019
fengjiachun
approved these changes
Aug 27, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modification:
(1)Implement ReplicatorStateListener for the issue that Replicator consecutiveErrorTimes enhancement.
(1)Implement serveral related Test Unit Class.
Result:
Fixes #197
If there is no issue then describe the changes introduced by this PR.