Project

Profile

Help

Refactor #1052

Updated by amacdona@redhat.com almost 9 years ago

Beginning with https://github.com/pulp/pulp/pull/1931, With the mongoengine conversion, some of the tasks are moving to the controller layer. have moved. In order to maintain backwards compatibility with task names, we have left the official task scheduler, definition where it is as a shim layer. When the names mongoengine work is complete, all of the tasks these shims should stay be removed and the same, meaning functions that they are named differently than their current location. call should be decorated as tasks. This is misleading, so when will limit the Mongoengine work task name interruption to a single release, which should be an X or Y release. 

 When this refactor is done and all tasks that need complete: 
 1. Any shim task (each should include a note with a link to this issue) should be moved are moved, removed. 
 2. The function where the logic for the tasks lives should be renamed all in decorated to be a single release real task. 
 3. The functions that queue these tasks should point to limit the interruption. This newly decorated task. 
 4. Notes should be done in an X go into the upgrade instructions to ensure that there are no waiting or Y release. running tasks. 

Back