anchor.diff:  -spec insert_log_record(log(), log_id(), #log_record{}, boolean()) -> {ok, #op_number{}} | {error, reason()}.
   insert_log_record(Log, LogId, LogRecord, EnableLogging) ->
       Result = case EnableLogging of
  -                 true ->
  -                     disk_log:log(Log, {LogId, LogRecord});
  -                 false ->
  -                     ok
  -             end,
  +        true ->
  +            disk_log:log(Log, {LogId, LogRecord});
  +        false ->
  +            ok
  +    end,
       case Result of
           ok ->
               {ok, LogRecord#log_record.op_number};
  
positive.code:          read_from/3,
           get/5,
           get_all/4,
           request_bucket_op_id/4,
           request_op_id/3]).
  
  
negative.code:             {reply, {error, Reason}, State}
      end;
  
  handle_command({get_commits, LogId}, _Sender, State = #state{
      logs_map = LogMap,
      partition = Partition
  }) ->
      Response = case get_log_from_map(LogMap, Partition, LogId) of
          {error, Reason} ->
              {error, Reason};
  
          {ok, Log} ->
              get_commits_from_log(Log)
      end,
      {reply, Response, State};
  
  handle_command(_Message, _Sender, State) ->
      {noreply, State}.
  
  