Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9482

Seed the cache from offset persisted in the source repository

    XMLWordPrintableJSON

Details

    Description

      The approach taken in SLING-9460 to avoid sending seeding messages does not address some scenarios like publishing content without subscriber agents. Without subscriber agents.

      To be sure we always have a recent seed available, we should persist seed offsets in the source repository (typ. author) and seed caches from it. We do have the local store class that allows to easily write the offsets in the repository. To not stress the repository too much, we should batch those writes (e.g. 1 offset update every 10 package processed). To support a cluster, the writes must be initiated only from the cluster leader instance.

      Attachments

        Issue Links

          Activity

            People

              marett Timothee Maret
              marett Timothee Maret
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: