Hi all,
After changing the number of replicas from 1 to 2 through the unsupported /diag/eval call, proposed by Aliaksey (see below), I keep getting this message (see subject) no matter how many times I rebalance. I've even tried replacing all servers one by one, but the message has stuck. What I did was increasing the replicas to 2. I could finish rebalance after that, so I set the replicas down to one again, after which the rebalance worked fine again. Except from this message:
Fail Over Warning: Rebalance recommended, some data does not have the desired number of replicas!
This was the call I used to increase and descrease replicas.
wget -O- --user=Administrator --password=xxxxx --post-data='ReplicasNum = 2, BucketName = "default", {ok, Config} = ns_bucket:get_bucket(BucketName), Map = [lists:sublist(Chain ++ [undefined, undefined, undefined, undefined], ReplicasNum+1) || Chain <- proplists:get_value(map, Config)], ns_bucket:update_bucket_props(BucketName, [{map, Map}, {num_replicas,ReplicasNum}]).' http://127.0.0.1:8091/diag/eval
Any idea how I get rid of the message?
Lasse