Added DONE_INVALIDATED flag to archiving and considering it when fetching archives
Added DONE_INVALIDATED constant
Added purging of invalidated archives in scheduled tasks
Merge remote-tracking branch 'upstream/master' into feature/5932-invalidate-archived-reports
Added integration test case for data invalidation
Added tests for segments, renamed fixtures, removed code duplication, changed purge invaldiated data task priority
Merge master
Fixed tests to work with current master
Remove unnecessary comment
Merge remote-tracking branch 'upstream/master' into feature/5932-invalidate-archived-reports
Small changes in purgeInvalidatedArchives query
Merge remote-tracking branch 'upstream/master' into feature/5932-invalidate-archived-reports
Fix codeStyle in ArchivePurger, ArchiveInvalidationTest
Merge pull request #6116 from mkurzeja/feature/5932-invalidate-archived-reports

fixes #5932 Allow invalidated archive data to be used until they are re-processed