anchor.diff:      ?CATCH_UPDATE_UNEXPECTED_ERRORS(
           begin
               {TimeSeriesCollectionHeads, PersistenceCtx} = ts_persistence:init_for_existing_collection(Ctx, Id, Batch),
  -            SelectedHeads = select_heads(TimeSeriesCollectionHeads, MetricsToDelete, ignore),
  +            SelectedHeads = select_heads(TimeSeriesCollectionHeads, MetricsToDelete, ignore_missing_metrics),
               PersistenceCtxAfterDelete = delete_time_series(maps:to_list(SelectedHeads), false, PersistenceCtx),
   
               UpdatedTimeSeriesCollectionHeads = ts_persistence:get_time_series_collection_heads(PersistenceCtxAfterDelete),
  
positive.code:         end
      end, [], ConfigMapExtension),
  
      SelectedHeads = select_heads(TimeSeriesCollectionHeads, MetricsToDelete, ignore),
      delete_time_series(maps:to_list(SelectedHeads), false, PersistenceCtx).
  
  
  
negative.code:         TimeSeries ->
              FilteredTimeSeries = lists:foldl(fun(MetricId, Acc) ->
                  case maps:get(MetricId, TimeSeries, undefined) of
                      undefined when ErrorHandlingMode =:= fail_if_metric_is_missing -> throw({error, metric_not_found});
                      undefined -> Acc;
                      Metric -> maps:put(MetricId, Metric, Acc)
                  end
  