anchor.diff:          false ->
               [];
           true ->
  +            StaticChildren = [index_status_keeper, index_stats_collector],
  +
               BucketCfgs = ns_bucket:get_buckets(Config),
               BucketNames = [Name || {Name, BConfig} <- BucketCfgs,
                                      lists:keyfind(type, 1, BConfig) =:= {type, membase}],
  -            lists:sort([{Mod, Name}
  -                        || Name <- BucketNames,
  -                           Mod <- [stats_archiver, stats_reader]])
  +            PerBucketChildren =
  +                [{Mod, Name}
  +                 || Name <- BucketNames,
  +                    Mod <- [stats_archiver, stats_reader]],
  +
  +            lists:sort(StaticChildren ++ PerBucketChildren)
       end.
   
   refresh_children() ->
  
positive.code:     WantedChildren = compute_wanted_children(ns_config:get()),
      ToStart = ordsets:subtract(WantedChildren, RunningChildren),
      ToStop = ordsets:subtract(RunningChildren, WantedChildren),
      [start_new_child(Mod, Name) || {Mod, Name} <- ToStart],
      [stop_child({Mod, Name}) || {Mod, Name} <- ToStop],
      ok.
  
  start_new_child(Mod, Name) when Mod =:= stats_archiver; Mod =:= stats_reader ->
      {ok, _Pid} = supervisor:start_child(
                     index_stats_children_sup,
                     {{Mod, Name},
                      {Mod, start_link, ["@index-" ++ Name]},
                      permanent, 1000, worker, []}).
  
  stop_child(Id) ->
      ok = supervisor:terminate_child(index_stats_children_sup, Id),
  
negative.code:           {supervisor, start_link, [{local, index_stats_children_sup}, ?MODULE, child]},
            permanent, infinity, supervisor, []},
           {index_stats_worker, {erlang, apply, [fun start_link_worker/0, []]},
            permanent, 1000, worker, []}],
      {ok, {{one_for_all,
             misc:get_env_default(max_r, 3),
  