Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46732

Cap number of tasks generated on non-required build variants

    • Fully Compatible
    • v4.4
    • DAG 2020-03-23
    • 1

      We recently hit an issue where the amount of evergreen project config generated by generate.tasks exceeded the maximum document size and started causing issues. It looks like this was caused by the number of tasks being generated as each task adds to the project config. It also looks like this would only happen if all the build variants in the version were run.

      We could reduce the chance of this happening by capping the number of sub-tasks we will generate for a task in non-required build variants.


      As a server engineer,
      I want to limit the number of tasks dynamically generated in non-required builders,
      So that versions do not hit the maximum document size.


      AC:

      • non-required builders set a cap on number of tasks to generate.

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: