anchor.diff:              true ->
                   ok;
               false ->
  -                maybe_compact_views(DbName, MasterDbName, DDocNames, Config)
  +                maybe_compact_views(DbName, BucketName, DDocNames, Config)
               end;
           {'DOWN', DbMonRef, process, _, Reason} ->
               couch_db:close(Db),
  
positive.code:         case Config#config.parallel_view_compact of
          true ->
              ViewsCompactPid = spawn(fun() ->
                  maybe_compact_views(DbName, MasterDbName, DDocNames, Config)
              end),
              ViewsMonRef = erlang:monitor(process, ViewsCompactPid);
          false ->
  
negative.code:     case bucket_needs_compaction(VbNames, Config) of
      false ->
          lists:foreach(fun(N) ->
              maybe_compact_views(N, BucketName, DDocNames, Config) end,
              VbNames);
      true ->
          lists:foreach(fun(N) ->
              compact_vbucket(N, BucketName, DDocNames, Config) end,
              VbNames)
      end.
  
  