Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-15148

Rename the alias queue to secondary queue

    XMLWordPrintable

    Details

      Description

      The "distro alias queue" should really be called the "distro secondary queue". The primary queue is the standard distro queue where tasks go if the distro is the first one on the run_on/distro parameter in the project YAML. The secondary queue is the queue where distros that have extra idle capacity can run tasks. The only way to be put in a secondary queue is to put multiple entries in the run_on/distro parameter in the project YAML (all distros except the first are the secondary queues).

      For example, if the YAML looks like this:

      run_on:
          - ubuntu1604-small
          - ubuntu1604-large
      

      The task will be put in the ubuntu1604-small primary queue and the ubuntu1604-large secondary queue.

      Renaming the "distro alias queue" avoids a naming confusion with "distro aliases", which are unrelated to secondary queues. Distro aliases are a way of putting one task in multiple queues without preference for any single distro with that alias.

      For example, if the YAML looks like this:

      run_on:
          - ubuntu1604
          - rhel70-small
      

      ubuntu1604 is an alias for both the ubuntu1604-small and ubuntu1604-large distros. The task will be put in the primary queue for both ubuntu1604-small and ubuntu1604-large and whichever distro gets to it first will run the task. It will also be put in the rhel70-small secondary queue.

      Furthermore, there are references to "distro aliases" in the task lifecycle code that aren't actually related to distro aliases - they're related to the distro secondary queue. We should audit and update this code as well.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            kimberly.tao Kim Tao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: