-
Notifications
You must be signed in to change notification settings - Fork 34
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
Disable tablets load balancing on taking the snapshot #3759
Comments
@bhalevy FYI |
Is it safe to assume that we always want to disable it for taking a snapshot and always enable it afterwards? What about a situation when (for whatever reason) SM snapshots a cluster with already disabled tablet migration. Should SM enable tablet migration after snapshot anyway? I don't see any endpoint for checking if tablet migration is enabled or not, so it's not possible for SM keep the original tablet migration state after snapshot. |
Using the api to temporarily disable load balancing is an interim solution. |
We must ensure that tablets load balancing is disabled before taking the snapshot and to reenable (!) it just afterwards.
The endpoint is as follow:
Tablets could migrate during the snapshot creation time otherwise what makes the snapshot useless.
It must be used only on tablets enabled environment.
The text was updated successfully, but these errors were encountered: