anchor.diff:              {next_state,waiting_vnode_dw,NewStateData}
       end;
   waiting_vnode_dw({dw, Idx, ResObj, ReqId},
  -                 StateData=#state{dw=DW, client=Client, replied_dw=Replied0,
  +                 StateData=#state{dw=DW, req_id=ReqId, replied_dw=Replied0,
                                     allowmult=AllowMult, returnbody=ReturnBody,
                                     rclient=RClient, resobjs=ResObjs0}) ->
       Replied = [Idx|Replied0],
  
positive.code:     NewStateData = StateData#state{replied_dw=Replied, resobjs=ResObjs},
      {next_state,waiting_vnode_w,NewStateData};
  waiting_vnode_w({fail, Idx, ReqId},
                    StateData=#state{n=N,w=W,client=Client,
                                     replied_fail=Replied0}) ->
      Replied = [Idx|Replied0],
      NewStateData = StateData#state{replied_fail=Replied},
  
negative.code: 
      if
          W =:= error ->
              client_reply({error, {w_val_violation, W0}}, StateData0),
              {stop, normal, none};
          DW =:= error ->
              client_reply({error, {dw_val_violation, DW0}}, StateData0),
              {stop, normal, none};
          (W > N) or (DW > N) ->
              client_reply({error, {n_val_violation, N}}, StateData0),
              {stop, normal, none};
          true ->
              AllowMult = proplists:get_value(allow_mult,BucketProps),
  