anchor.diff:                end, Histograms).
   
   update_progress(Bucket, Nodes, Fraction) ->
  -    Progress = [{Node, Fraction} || Node <- Nodes],
  -    gen_server:cast(server(Bucket), {progress, Progress}).
  +    Progress = [{Node, Fraction} || Node <- lists:usort(Nodes)],
  +    gen_server:cast(server(Bucket), {update_progress, Progress}).
  
positive.code:     {reply, not_running, State};
  handle_call({start_rebalance, KeepNodes, EjectNodes}, _From,
              State = #state{bucket=Bucket, rebalancer=undefined, janitor=Janitor}) ->
      {_NumReplicas, _NumVBuckets, Map, Servers} = ns_bucket:config(Bucket),
      Histograms = histograms(Map, Servers),
      case {lists:sort(Servers), lists:sort(KeepNodes), EjectNodes,
  
negative.code:                  end, Map4, lists:seq(2, ChainLength)),
          ns_bucket:set_servers(Bucket, KeepNodes),
          ns_bucket:set_map(Bucket, Map5),
          %% Push out the config with the new map in case this node is being removed
          ns_config_rep:push(),
          maybe_stop(),
  