anchor.diff:      end.
   
   
  -maybe_compact_views(_DbName, [], _Config) ->
  +maybe_compact_views(_DbName, _MasterDbName, [], _Config) ->
       ok;
  -maybe_compact_views(DbName, [DDocName | Rest], Config) ->
  -    case maybe_compact_view(DbName, DDocName, Config) of
  +maybe_compact_views(DbName, MasterDbName, [DDocName | Rest], Config) ->
  +    case maybe_compact_view(DbName, MasterDbName, DDocName, Config) of
       ok ->
  -        maybe_compact_views(DbName, Rest, Config);
  +        maybe_compact_views(DbName, MasterDbName, Rest, Config);
       timeout ->
           ok
       end.
  
positive.code:     compact_loop(Parent).
  
  
  maybe_compact_bucket(VbNames, Config) ->
      case bucket_needs_compaction(VbNames, Config) of
      false ->
          ok;
      true ->
          lists:foreach(fun(N) -> compact_vbucket(N, Config) end, VbNames)
      end.
  
  
  
negative.code:                     end
                  end,
                  {0, []}, couch_util:get_value(map, Config)),
              NameBin = ?l2b(Name),
              {NameBin, VbNames, bucket_compact_config(NameBin)}
          end,
          ns_bucket:get_buckets()),
      lists:foreach(
          fun({_BucketName, _VbNames, nil}) ->
              ok;
          ({BucketName, VbNames, {ok, Config}}) ->
              MasterDbName = <<BucketName/binary, "/master">>,
              maybe_compact_bucket(MasterDbName, VbNames, Config)
          end,
          Buckets),
      case ets:info(?CONFIG_ETS, size) =:= 0 of
  