anchor.diff:  %%
   %% -spec handle_command({append, log_id(), #log_operation{}, boolean()}, pid(), #state{}) ->
   %%                      {reply, {ok, #op_number{}} #state{}} | {reply, error(), #state{}}.
  -handle_command({append, LogId, LogOperation, Sync}, _Sender,
  -               #state{logs_map=Map,
  -                      op_id_table=OpIdTable,
  -                      partition=Partition,
  -              enable_log_to_disk=EnableLog}=State) ->
  +handle_command({append, LogId, LogOperation, Sync}, _Sender, #state{
  +    logs_map = Map,
  +    partition = Partition,
  +    op_id_table = OpIdTable,
  +    enable_log_to_disk = EnableLog,
  +    pvc_commit_cache = PVCCommitCache
  +} = State) ->
  +
       case get_log_from_map(Map, Partition, LogId) of
           {ok, Log} ->
               MyDCID = dc_meta_data_utilities:get_my_dc_id(),
  
positive.code:                         op_id_table=OpIdTable,
                          recovered_vector=MaxVector,
                          senders_awaiting_ack=dict:new(),
                          enable_log_to_disk=EnableLoggingToDisk,
                          last_read=start}}
      end.
  
negative.code: 
  handle_command({get_commits, LogId}, _Sender, State = #state{
      logs_map = LogMap,
      partition = Partition,
      enable_log_to_disk = EnableLog,
      pvc_commit_cache = PVCCommitCache
  }) ->
      Response = case get_log_from_map(LogMap, Partition, LogId) of
          {error, Reason} ->
              {error, Reason};
  
          {ok, Log} ->
              case EnableLog of
                  true ->
                      get_commits_from_log(Log);
                  false ->
                      Found = ets:lookup(PVCCommitCache, Log),
                      Commits = lists:map(fun({_, Record}) -> Record end, Found),
                      {ok, Commits}
              end
      end,
      {reply, Response, State};
  
  