anchor.diff:      set_entry_(State, Entry).
   
   %% @doc Removes all values with the given entry's key from the DB.
  -delete_entry_(State = {DB, _Subscr}, Entry) ->
  +delete_entry_(State, Entry) ->
       Key = db_entry:get_key(Entry),
  +    delete_entry_at_key(State, Key).
  +
  +delete_entry_at_key(State = {DB, _Subscr}, Key) ->
       ets:delete(DB, Key),
       call_subscribers(State, {delete, Key}),
       State.
  
positive.code: %%      ""wrapping around", i.e. its begin is larger than its end.
  %%      Returns the chunk and the remaining interval for which the DB may still
  %%      have data (a subset of I).
  %%      Precond: Interval is a subset of the range of the dht_node and thus, in
  %%      particular, continuous
  -spec get_chunk(DB::db(), Interval::intervals:interval(), ChunkSize::pos_integer()) ->
      {intervals:interval(), db_as_list()}.
  get_chunk(DB, Interval, ChunkSize) -> get_chunk_(DB, Interval, ChunkSize).
  
  -spec get_chunk_(DB::db_t(), Interval::intervals:interval(), ChunkSize::pos_integer()) ->
      {intervals:interval(), db_as_list()}.
  get_chunk_({ETSDB, _Subscr} = DB, Interval, ChunkSize) ->
      % assert ChunkSize > 0, see ChunkSize type
      case get_load_(DB) of
          0 -> {intervals:empty(), []};
  
negative.code:                     {intervals:empty(), []};
                  FirstKey ->
                      %ct:pal("first key: ~.0p~n", [FirstKey]),
                      FirstEntry = get_entry_(DB, FirstKey),
                      Chunk0 = case FilterFun(FirstEntry) of
                                   true -> [ValueFun(FirstEntry)];
                                   _    -> []
                               end,
                      {Next, Chunk} =
                          get_chunk_inner(DB, ets:next(ETSDB, FirstKey), FirstKey,
                                          Interval, FilterFun, ValueFun, ChunkSize - 1, Chunk0),
                      case Next of
                          '$end_of_table' ->
                              {intervals:empty(), Chunk};
  