-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
*: support raft learner in etcd - part 2 #10727
Commits on May 15, 2019
-
*: add learner field in endpoint status
Added learner field to endpoint status API.
Configuration menu - View commit details
-
Copy full SHA for 355d0ab - Browse repository at this point
Copy the full SHA 355d0abView commit details -
etcdserver: filter rpc request to learner
Hardcoded allowed rpc for learner node. Added filtering in grpc interceptor to check if rpc is allowed for learner node.
Configuration menu - View commit details
-
Copy full SHA for 43ed94f - Browse repository at this point
Copy the full SHA 43ed94fView commit details -
integration: add TestKVForLearner
Adding TestKVForLearner. Also adding test utility functions for clientv3 integration tests.
Configuration menu - View commit details
-
Copy full SHA for 57a11eb - Browse repository at this point
Copy the full SHA 57a11ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba9fd62 - Browse repository at this point
Copy the full SHA ba9fd62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f9479a - Browse repository at this point
Copy the full SHA 7f9479aView commit details -
etcdserver: exclude learner from leader transfer
1. Maintenance API MoveLeader() returns ErrBadLeaderTransferee if transferee does not exist or is raft learner. 2. etcdserver TransferLeadership() only choose voting member as transferee.
Configuration menu - View commit details
-
Copy full SHA for 44d935e - Browse repository at this point
Copy the full SHA 44d935eView commit details -
integration: add TestMoveLeaderToLearnerError
Adding integration test TestMoveLeaderToLearnerError, which ensures that leader transfer to learner member will fail.
Configuration menu - View commit details
-
Copy full SHA for e8dc4c5 - Browse repository at this point
Copy the full SHA e8dc4c5View commit details -
integration: add TestTransferLeadershipWithLearner
Adding integration test TestTransferLeadershipWithLearner, which ensures that TransferLeadership does not timeout due to learner is automatically picked by leader as transferee.
Configuration menu - View commit details
-
Copy full SHA for bd7f428 - Browse repository at this point
Copy the full SHA bd7f428View commit details -
Configuration menu - View commit details
-
Copy full SHA for a039f2e - Browse repository at this point
Copy the full SHA a039f2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c55519b - Browse repository at this point
Copy the full SHA c55519bView commit details -
etcdserver: remove unnecessary bool comparison
Fixes 'gosimple' test.
Configuration menu - View commit details
-
Copy full SHA for c836e37 - Browse repository at this point
Copy the full SHA c836e37View commit details -
integration: remove unnecessary type conversion
Fixes go 'unconvert' test.
Configuration menu - View commit details
-
Copy full SHA for ac05795 - Browse repository at this point
Copy the full SHA ac05795View commit details -
clientv3/integration: fix cluster tests
Fixes TestMemberAddForLearner and TestMemberPromoteForLearner.
Configuration menu - View commit details
-
Copy full SHA for b23c8f3 - Browse repository at this point
Copy the full SHA b23c8f3View commit details -
clientv3/integration: deflake TestKVForLearner
Adding delay in the test for the newly started learner member to catch up applying config change entries in raft log.
Configuration menu - View commit details
-
Copy full SHA for 90d28c0 - Browse repository at this point
Copy the full SHA 90d28c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f1d02 - Browse repository at this point
Copy the full SHA 23f1d02View commit details