anchor.diff:              end
       end.
   
  +membase_delta_recovery_buckets_test() ->
  +    MembaseBuckets = [{"b1", conf}, {"b3", conf}],
  +    ["b1", "b3"] = membase_delta_recovery_buckets(["b1", "b2", "b3", "b4"], MembaseBuckets),
  +    ["b1", "b3"] = membase_delta_recovery_buckets(all, MembaseBuckets).
  +
   build_delta_recovery_buckets_loop_test() ->
       MappedConfigs = [{"b1", conf1, {map, opts}},
                        {"b2", conf2, false}],
  -    {ok, []} = build_delta_recovery_buckets_loop([], all, []),
  -    {error, not_possible} = build_delta_recovery_buckets_loop(MappedConfigs, all, []),
  +    All = membase_delta_recovery_buckets(all, [{"b1", conf}, {"b2", conf}]),
  +
  +    {ok, []} = build_delta_recovery_buckets_loop([], All, []),
  +    {error, not_possible} = build_delta_recovery_buckets_loop(MappedConfigs, All, []),
       {error, not_possible} = build_delta_recovery_buckets_loop(MappedConfigs, ["b2"], []),
       {error, not_possible} = build_delta_recovery_buckets_loop(MappedConfigs, ["b1", "b2"], []),
       {ok, []} = build_delta_recovery_buckets_loop(MappedConfigs, [], []),
       ?assertEqual({ok, [{"b1", conf1, {map, opts}}]},
                    build_delta_recovery_buckets_loop(MappedConfigs, ["b1"], [])),
       ?assertEqual({ok, [{"b1", conf1, {map, opts}}]},
  -                 build_delta_recovery_buckets_loop([hd(MappedConfigs)], all, [])).
  +                 build_delta_recovery_buckets_loop([hd(MappedConfigs)], All, [])).
   
   apply_delta_recovery_buckets([], _DeltaNodes, _CurrentBuckets) ->
       ok;
  
positive.code:                       BucketConfig,
                        find_delta_recovery_map(Config, AllNodes, DeltaNodes,
                                                Bucket, BucketConfig)}
                       || {Bucket, BucketConfig} <- AllBucketConfigs,
                          proplists:get_value(type, BucketConfig) =:= membase],
  
      case build_delta_recovery_buckets_loop(MappedConfigs, DeltaRecoveryBuckets, []) of
          {ok, Recovered0} ->
  
negative.code: build_delta_recovery_buckets_loop(MappedConfigs, DeltaRecoveryBuckets, Acc) ->
      [{Bucket, BucketConfig, RecoverResult0} | RestMapped] = MappedConfigs,
  
      NeedBucket = lists:member(Bucket, DeltaRecoveryBuckets),
      RecoverResult = case NeedBucket of
                          true ->
                              RecoverResult0;
  