diff --git a/gnocchi/storage/ceph.py b/gnocchi/storage/ceph.py index e242e0854..aad5b521c 100644 --- a/gnocchi/storage/ceph.py +++ b/gnocchi/storage/ceph.py @@ -157,10 +157,6 @@ class CephStorage(_carbonara.CarbonaraBasedStorage): self.ioctx.write_full( self._build_unaggregated_timeserie_path(metric, version), data) - def _delete_unaggregated_timeserie(self, metric, version=3): - self.ioctx.aio_remove( - self._build_unaggregated_timeserie_path(metric, version)) - def _get_object_content(self, name): offset = 0 content = b'' diff --git a/gnocchi/storage/file.py b/gnocchi/storage/file.py index 5a91de3fd..3c067befa 100644 --- a/gnocchi/storage/file.py +++ b/gnocchi/storage/file.py @@ -98,15 +98,6 @@ class FileStorage(_carbonara.CarbonaraBasedStorage): raise storage.MetricDoesNotExist(metric) raise - def _delete_unaggregated_timeserie(self, metric, version=3): - path = self._build_unaggregated_timeserie_path(metric, version) - try: - os.unlink(path) - except IOError as e: - if e.errno == errno.ENOENT: - raise storage.MetricDoesNotExist(metric) - raise - def _list_split_keys_for_metric(self, metric, aggregation, granularity, version=3): try: