tarantool / vshard

The new generation of sharding based on virtual buckets
Other
99 stars 30 forks source link

storage: allow to choose rebalancer location #431

Closed Gerold103 closed 1 year ago

Gerold103 commented 1 year ago

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:

Totktonada commented 1 year ago

I would like to configure a replicaset to work in the rebalancer role, that means that a master instance in this replicaset runs the rebalancer.

Gerold103 commented 1 year ago

@Totktonada this is not possible until master=auto is implemented for storages. In the current version you can set rebalancer flag together with master flag.

Serpentian commented 1 year ago

@Gerold103, the PR should be probably closed