Skip to content
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 weighted-election for TSO keyspace group primary election. #6616

Closed
binshi-bing opened this issue Jun 15, 2023 · 0 comments · Fixed by #6617
Closed

Support weighted-election for TSO keyspace group primary election. #6616

binshi-bing opened this issue Jun 15, 2023 · 0 comments · Fixed by #6617
Assignees
Labels
type/development The issue belongs to a development tasks

Comments

@binshi-bing
Copy link
Contributor

Development Task

Issue Number: Ref #5895

Used to balance keyspace group primaries' distribution.
Among multiple replicas of a keyspace group, the higher the priority, the more likely the replica is to be elected as primary.

It's the foundation for scale-out and re-balance tso service.

@binshi-bing binshi-bing added the type/development The issue belongs to a development tasks label Jun 15, 2023
@binshi-bing binshi-bing self-assigned this Jun 15, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jun 26, 2023
…ection (#6617)

close #6616

Add the tso server registry watch loop in tso's keyspace group manager.
re-distribute TSO keyspace group primaries according to their replica priorities

Signed-off-by: Bin Shi <binshi.bing@gmail.com>
rleungx pushed a commit to rleungx/pd that referenced this issue Aug 2, 2023
…ection (tikv#6617)

close tikv#6616

Add the tso server registry watch loop in tso's keyspace group manager.
re-distribute TSO keyspace group primaries according to their replica priorities

Signed-off-by: Bin Shi <binshi.bing@gmail.com>
rleungx pushed a commit to rleungx/pd that referenced this issue Aug 2, 2023
…ection (tikv#6617)

close tikv#6616

Add the tso server registry watch loop in tso's keyspace group manager.
re-distribute TSO keyspace group primaries according to their replica priorities

Signed-off-by: Bin Shi <binshi.bing@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/development The issue belongs to a development tasks
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant