-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1258]: Send election request from master during table creation
Summary: For each tablet, the master selects a replica as a proposed leader on creation. This selection takes into account affinitized leaders as well as leader blacklisting. When the master receives a heartbeat from sufficient replicas, a `RunLeaderElection` RPC is sent to the proposed leader. New flag - yb-master: `use_create_table_leader_hint` (default = true) Test Plan: ybd debug --gtest_filter RaftConsensusITest.TestHintedLeader -n 100 ybd debug --java-test org.yb.cql.TestInsertJson#ttl -n 100 Reviewers: rahuldesirazu, bogdan Reviewed By: rahuldesirazu, bogdan Subscribers: zyu, alex, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D8730
- Loading branch information
Showing
22 changed files
with
510 additions
and
189 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.