CMK-259

TitleFix piggyback cleanup mechanism
ComponentBase
Date2018-02-20
StateNew
ClassBug


The logic for cleaning up piggyback files is not scaling well and may also include race conditions. Idea: - Remove the cleanup routine (remove_piggyback_info_from()) - Also remove the os.remove() from get_piggyback_files() - Persist the time the a piggy source host was delivering data for the last time - Only use the piggyback data which is of equal age or newer than the last time the piggyback source host was contacted. -> Replace "config.piggyback_max_cachefile_age" handling and replace it with the timestamp of the last source host contact