Skip to content

Supporting dynamic scheduling in MTS #398

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

abhinav04sharma
Copy link
Contributor

Summary: Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.

Test Plan: Check if all test cases pass and ascertain if the code kicks off when imbalance occurs

@facebook-github-bot
Copy link

@abhinav04sharma has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

SKIP_OPEN_TABLE},
{"WORKER", 21, MYSQL_TYPE_LONGLONG, 0, MY_I_S_UNSIGNED, "Worker ID",
SKIP_OPEN_TABLE},
{"DB_LOAD", 21, MYSQL_TYPE_LONGLONG, 0, MY_I_S_UNSIGNED, "DB Load",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This denotes the load on the DB since the last checkpoint, not the total load since the server started.

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

Summary: Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.

Test Plan: Check if all test cases pass and ascertain if the code kicks off when imbalance occurs
@facebook-github-bot
Copy link

@abhinav04sharma updated the pull request - view changes - changes since last import

@abhinav04sharma abhinav04sharma deleted the dynamic-scheduling-mts branch November 30, 2016 20:22
abhinav04sharma added a commit to abhinav04sharma/mysql-5.6 that referenced this pull request Dec 6, 2016
Summary:
Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Closes facebook#398
Github Author: Abhinav Sharma <abhinavsharma@fb.com>

Github PR Sync: {sync, type="child", parent="github", parentrepo="facebook/mysql-5.6", parentprnum="398", parentprfbid="203659330076618"}

Test Plan:  Check if all test cases pass and ascertain if the code kicks off when imbalance occurs

Reviewers: santoshb, svcscm

Reviewed By: santoshb, svcscm

Subscribers: svcscm, webscalesql-eng@

Differential Revision: https://phabricator.intern.facebook.com/D4134877

Tasks: 11720554

Signature: t1:4134877:1479516874:7653c8d789eb229322f1915705aba3dd348629b3
hermanlee pushed a commit that referenced this pull request Jan 31, 2017
Summary:
Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Closes #398

Reviewed By: santoshbanda

Differential Revision: D4134877

Pulled By: abhinav04sharma

fbshipit-source-id: 0700fcd
VitaliyLi pushed a commit to VitaliyLi/mysql-5.6 that referenced this pull request Feb 9, 2017
Summary:
Statically assigning shards to slave workers can cause imbalance if a few shards are hotter than others. We should be able to check the imbalance among slave workers and dynamically reassign shards.
Closes facebook#398

Reviewed By: santoshbanda

Differential Revision: D4134877

Pulled By: abhinav04sharma

fbshipit-source-id: 0700fcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants