anchor.diff:  assign_queue({get, _Key, _VBucket}) -> #state.heavy_calls_queue;
   assign_queue({get_meta, _Key, _VBucket}) -> #state.heavy_calls_queue;
   assign_queue({delete, _Key, _VBucket, _CAS}) -> #state.heavy_calls_queue;
  -assign_queue({delete_with_meta, _Key, _VBucket, _Meta, _CAS}) -> #state.heavy_calls_queue;
   assign_queue({set, _Key, _VBucket, _Value}) -> #state.heavy_calls_queue;
  -assign_queue({set_with_meta, _Key, _VBucket, _Value, _Meta, _LocalCAS}) -> #state.heavy_calls_queue;
   assign_queue({update_with_rev, _Key, _VBucket, _Value, _Meta, _Deleted, _LocalCAS}) -> #state.heavy_calls_queue;
   assign_queue({sync, _Key, _VBucket, _CAS}) -> #state.very_heavy_calls_queue;
   assign_queue(_) -> #state.fast_calls_queue.
  
positive.code:             {set, Key, VBucket, Value}, ?TIMEOUT_HEAVY).
  
  
  -spec set_with_meta(bucket_name(), binary(), integer(), binary(), term(),
                      integer()) ->
      {ok, #mc_header{}, #mc_entry{}} | mc_error() | {error, invalid_meta}.
  set_with_meta(Bucket, Key, VBucket, Value, Meta, CAS) ->
      do_call(server(Bucket),
              {set_with_meta,
               Key, VBucket, Value, Meta, CAS},
              ?TIMEOUT_HEAVY).
  
  update_with_rev(Bucket, VBucket, Id, Value, RevId, Deleted, LocalCAS) ->
      do_call(server(Bucket),
              {update_with_rev, Bucket, VBucket,
               Id, Value, RevId, Deleted,
               LocalCAS},
              ?TIMEOUT_HEAVY).
  
negative.code:                                   #mc_entry{key = Key, cas = CAS}}),
      {reply, Reply, State};
  
  do_handle_call({set, Key, VBucket, Val}, _From, State) ->
      Reply = mc_client_binary:cmd(?SET, State#state.sock, undefined, undefined,
                                   {#mc_header{vbucket = VBucket},
                                    #mc_entry{key = Key, data = Val}}),
      {reply, Reply, State};
  
  do_handle_call({update_with_rev, VBucket, Key, Value, Rev, Deleting, LocalCAS},
                 _From, State) ->
      Reply = case Deleting of
                  true ->
  