Do the reblance in cb programmatically from java sdk in Windows

Because of the mutation opeartion slowing down after auto -failover, I want to do reblance programmatically in windows.

hi @xiger

There is no way to do a rebalance operation from the Java SDK (you can only configure buckets and add/remove buckets from the SDK, not act on the nodes themselves).

However, Couchbase has an extensive REST API that you can also use to rebalance the cluster (note that you may have to look at adding / removing nodes via the REST API as well as a prerequisite to rebalancing the cluster, as stated in the doc).

But if I do so, the rebalance operation will affect the performance.
And what do you think of the question: ’ the mutation opeartion slow down a lot after auto -failover completes ’