anchor.diff:  
   %% @doc Replicate an object from local-node to remote node
   %% @private
  --spec(replicate(put | delete, integer(), #object{}) ->
  -             ok | {error, any()}).
  -replicate(Method, AddrId, Object) ->
  -    case leo_redundant_manager_api:get_redundancies_by_addr_id(put, AddrId) of
  +-spec(replicate(replication(), put | delete, #object{}) ->
  +             ok | {error, any()}).
  +replicate(?REP_LOCAL, Method, Object) ->
  +    case leo_redundant_manager_api:get_redundancies_by_addr_id(put, Object#object.addr_id) of
           {ok, #redundancies{nodes     = Redundancies,
                              w         = WriteQuorum,
                              d         = DeleteQuorum,
  
positive.code:                     {error, Cause}
              end
      end;
  replicate(_,_) ->
      {error, badarg}.
  
  
negative.code:              ok | {error, any()}).
  put(Object, ReqId) ->
      _ = leo_statistics_req_counter:increment(?STAT_REQ_PUT),
      replicate(?REP_LOCAL, ?CMD_PUT, Object#object{method = ?CMD_PUT,
                                                    req_id = ReqId}).
  
  %% @doc Insert an object (request from local.replicator).
  %%
  