https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-08-19T15:26:46ZPulpPulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=58412015-08-19T15:26:46Zbmbouterbmbouter@redhat.com
<ul><li><strong>Blocks</strong> <i><a class="issue tracker-2 status-9 priority-6 priority-default closed child" href="/issues/1200">Task #1200</a>: Make all plugin sync importers and plugin distributors lazy aware</i> added</li></ul> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=65162015-10-06T19:53:35Zjcline@redhat.comjcline@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>jcline@redhat.com</i></li></ul> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=66682015-10-20T14:33:47Zjortel@redhat.comjortel@redhat.com
<ul></ul><p>Download:</p>
<ul>
<li>collection = downloads</li>
<li>path (unique)</li>
<li>unit_id</li>
<li>unit_type_id</li>
<li>downloaded</li>
<li>batch_id</li>
</ul>
<p>The download-one: just inserts a download record.<br>
The download-repo: inserts a download record for each path associated with each content unit in a repo.</p>
<p>A scheduled celery task runs each 30 min and queries for pending downloads ordered by object ID. if any, it groups 10 into a batch, updates the batch_id. Next it queries for batches that still have pending downloads and queues a task to download the batch with reservation. The task queries the catalog by path and concurrently downloads the files. On success, set downloaded=True.</p>
<p>The filesystem is checked (stat) to see if the file exists at every opportunity.</p>
<p>The downloads table is purged during orphan purge.</p> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=76182016-01-04T15:23:07Zjcline@redhat.comjcline@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p><a href="https://github.com/pulp/pulp/pull/2293" class="external">https://github.com/pulp/pulp/pull/2293</a></p> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=76432016-01-05T18:40:59ZAnonymous
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Create tasks to download lazy repository content. This introduces two new tasks, one to download..." href="https://pulp.plan.io/projects/pulp/repository/pulp/revisions/caa2d7752c715d4b9ea350680996e1a1a3e2c664">pulp|caa2d7752c715d4b9ea350680996e1a1a3e2c664</a>.</p> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=88482016-02-11T20:48:46Zrbarlow
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>5</i></li><li><strong>Platform Release</strong> set to <i>2.8.0</i></li></ul> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=100802016-03-23T18:15:17Zdkliban@redhat.com
<ul><li><strong>Status</strong> changed from <i>5</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul> Pulp - Task #1199: Add a generic task for a lazy-sync "active" that the plugins can dispatchhttps://pulp.plan.io/issues/1199?journal_id=396192019-04-15T20:44:28Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>