anchor.diff:          nil -> ok;
           _ -> ok = gen_server:cast(Owner, {partial_update, Parent, Group2})
           end,
  -        do_writes(Parent, Owner, Group2, WriteQueue, InitialBuild)
  +        ?MODULE:do_writes(Parent, Owner, Group2, WriteQueue, InitialBuild)
       end.
   
   -spec view_insert_query_results([#doc{}], list(), any(), any()) -> any().
  
positive.code:     {ok, WriteQueue} = couch_work_queue:new(100000, 500),
      Self = self(),
      ViewEmptyKVs = [{View, []} || View <- Group2#group.views],
      spawn_link(fun() -> do_maps(Group, MapQueue, WriteQueue, ViewEmptyKVs) end),
      spawn_link(fun() -> do_writes(Self, Owner, Group2, WriteQueue, Seq == 0) end),
      % compute on all docs modified since we last computed.
      TotalChanges = couch_db:count_changes_since(Db, Seq),
      % update status every half second
  
negative.code: 
  -module(couch_view_updater).
  
  -export([update/2, do_maps/4, do_writes/5, load_docs/3]).
  
  -include("couch_db.hrl").
  
  