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

Use task document instead of duplicate key to prevent generators from re-executing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: v2019.11.01
    • Component/s: app
    • Labels:

      Description

      Using a duplicate key to prevent generators from re-running means that we cannot TTL the collection that contains generators. Instead we should check the task collection. This may be as simple as adding an additional check to t.GeneratedTasks earlier https://github.com/evergreen-ci/evergreen/blob/6b269c26ba8894eb815ccb9feb4f849fda9b937f/units/generate_tasks.go#L84.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            brian.samek Brian Samek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: