[
https://issues.apache.org/jira/browse/SLING-9481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved SLING-9481.
----------------------------------------
Resolution: Fixed
> Avoid seeding messages in PackageRepo
> -------------------------------------
>
> Key: SLING-9481
> URL: https://issues.apache.org/jira/browse/SLING-9481
> Project: Sling
> Issue Type: Improvement
> Components: Content Distribution
> Affects Versions: Content Distribution Journal Core 0.1.10
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Priority: Major
> Fix For: Content Distribution Journal Core 0.1.16
>
>
> Currently we us seeding messages to determine the oldest and newest offset on
> the journal. This is then used to cleanup the larger packages that are stored
> in the repo.
> To avoid those seeding messages we should rely on a much simpler algorithm.
> We only store very few packages in the repository. So there is no need to
> clean them quickly. We only must make sure we clean packages up after they
> are not anymore present in the journal. As retention time is maximum 7 days.
> We can assume that 30 days is a safe time after which we can delete packages.
> So the idea is to run a cleanup in certain intervals and cleanup all packages
> that are older than 30 days.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)