We're updating the issue view to help you get more done. 

Should only delete from *totals* metrics on deletion of programs, streams, etc.

Description

Deleting from all metrics tables (all resolutions) may be very slow, as timeseries data may accumulate lots of data. Until we do CDAP-1124, we want to delete metrics only from "totals" resolution, which is expected to be fast enough.

Release Notes

None

Activity

Show:
Alex Baranau
March 18, 2015, 9:59 PM

CubeDeleteQuery should have resolution as parameter. MetricDeleteQuery doesn't have it: DefaultMetricStore will use 0 (totals) as resolution to construct underlying CubeDeleteQuery

Alex Baranau
March 18, 2015, 11:13 PM

Assignee

Alex Baranau

Reporter

Alex Baranau

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Blocker
Configure