-
Notifications
You must be signed in to change notification settings - Fork 486
[Server] TabletServer support controlled shutdown #1159
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
Conversation
luoyuxia
left a comment
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.
@swuferhong Thanks for the pr. Left some comments.
fluss-common/src/main/java/com/alibaba/fluss/config/ConfigOptions.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorEventProcessor.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorEventProcessor.java
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorServer.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/alibaba/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Show resolved
Hide resolved
...src/main/java/com/alibaba/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/tablet/TabletServer.java
Outdated
Show resolved
Hide resolved
1b12fb9 to
b2b825b
Compare
wuchong
left a comment
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.
As discussed offline, we need further testing on this, and guarantees the leadership transition before the server shutdown.
And I left some minor comments on the PR.
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorEventProcessor.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/coordinator/CoordinatorEventProcessor.java
Outdated
Show resolved
Hide resolved
fluss-server/src/main/java/com/alibaba/fluss/server/ServerBase.java
Outdated
Show resolved
Hide resolved
b2b825b to
3146e2d
Compare
2f06ab1 to
962777e
Compare
d88c76c to
434a4f4
Compare
.../src/main/java/org/apache/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Show resolved
Hide resolved
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorEventProcessor.java
Show resolved
Hide resolved
962777e to
28db633
Compare
|
@wuchong comments addressed. |
...n/java/org/apache/fluss/server/coordinator/statemachine/ReplicaLeaderElectionAlgorithms.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/fluss/server/coordinator/statemachine/TableBucketStateMachine.java
Outdated
Show resolved
Hide resolved
05073dd to
e33b510
Compare
e33b510 to
0c59730
Compare
|
@wuchong comments addressed. |
...n/java/org/apache/fluss/server/coordinator/statemachine/ReplicaLeaderElectionAlgorithms.java
Outdated
Show resolved
Hide resolved
|
@wuchong LGTM |
Purpose
Linked issue: close #1142
This pr is aims to support tabletServer support controlled shutdown.
Brief change log
Tests
API and Format
Documentation