The API function
CoreAdminHome.invalidateArchivedReports deletes the invalidated data.
Problem: when a lot of data is invalidated, this results in data loss in the user interface - until the reports are re-processed from the logs. It can often take hours for data to be re-processed for all dates and segments.
Goal of this ticket is to minimise temporary data loss when API invalidateArchivedReports is used by users (see How do I record tracking data in the past, and tell Piwik to re-process the past reports?)
I'll be happy to work on this.
I'll commit a short proposal today