You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2020/01/08 08:17:00 UTC

[jira] [Resolved] (SLING-8969) Make sure that cleaning the package repo creates as few seeding packages as possible

     [ https://issues.apache.org/jira/browse/SLING-8969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved SLING-8969.
----------------------------------------
    Resolution: Fixed

I solved this now by running the cleanup task only once per week. This will create so few seeding packages that we do not have to care about them.

Additionally the seeding packages are sent from author so they are in the same region even for a multi region setup.

> Make sure that cleaning the package repo creates as few seeding packages as possible
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-8969
>                 URL: https://issues.apache.org/jira/browse/SLING-8969
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content Distribution
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>            Priority: Major
>             Fix For: Content Distribution Journal Core 0.1.8
>
>
> When cleaning the PackageRepo we determine the head and tail offset of the package topic. This operation requires to use seeding packages which then have to be read and skipped by every other instance. 
> So we should make sure that we create only the least possible amounts of such seeding packages. 
> One option is the adjust the delays between sending seeding messages. 
> Another option is to make sure cleanup happens in longer cycles. ( Like once per week).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)