Merge "drop _delete_unaggregated_timeserie"

This commit is contained in:
Jenkins 2017-04-21 08:39:29 +00:00 committed by Gerrit Code Review
commit 19eb043a2e
2 changed files with 0 additions and 13 deletions

View File

@ -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''

View File

@ -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: