-
Notifications
You must be signed in to change notification settings - Fork 31
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
Allow to choose where to start rebalancer, via a config option #278
Labels
Milestone
Comments
I'd prefer to get this info from vshard.cfg more easily. Auto-choose is better than manual selection as long as I am able to quickly navigate to the node. |
E. g.
|
Gerold103
added a commit
that referenced
this issue
Aug 17, 2023
Currently people struggle to find the rebalancer location because it is unclear where it is spawned automatically (on the master with minimal uuid). The patch allows to choose in the configuration where the rebalancer should work and whether it should work at all. Closes #278 @TarantoolBot document Title: vshard: cfg to choose rebalancer mode and location There are 2 new config options: - Root option 'rebalancer_mode'. It can have one of the following values: - 'auto' - works like now. The rebalancer is selected as the master with the minimal UUID; - 'off' - rebalancer won't be active at all; - 'manual' - need to manually mark the node where the rebalancer should be spawned. The selection happens in the config. Default is 'auto'. - Instance option 'rebalancer'. It can be true or false. At most one instance in the config can have it set to true. If the rebalancer mode is 'manual' and none of the instances have this flag true, then the rebalancer won't be started anywhere. This option is ignored when the mode is not 'manual'. Default is false.
Gerold103
added a commit
that referenced
this issue
Aug 18, 2023
Currently people struggle to find the rebalancer location because it is unclear where it is spawned automatically (on the master with minimal uuid). The patch allows to choose in the configuration where the rebalancer should work and whether it should work at all. Closes #278 @TarantoolBot document Title: vshard: cfg to choose rebalancer mode and location There are 2 new config options: - Root option 'rebalancer_mode'. It can have one of the following values: - 'auto' - works like now. The rebalancer is selected as the master with the minimal UUID; - 'off' - rebalancer won't be active at all; - 'manual' - need to manually mark the node where the rebalancer should be spawned. The selection happens in the config. Default is 'auto'. - Instance option 'rebalancer'. It can be true or false. At most one instance in the config can have it set to true. If the rebalancer mode is 'manual' and none of the instances have this flag true, then the rebalancer won't be started anywhere. This option is ignored when the mode is not 'manual'. Default is false.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Otherwise it is hard to find it to read the logs.
The text was updated successfully, but these errors were encountered: