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

endpoint for validating task assignment consistency

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2017.02.01
    • Component/s: app
    • Labels:

      Description

      GET - /status/consistent_task_assignment

      Audits tasks to make sure they didn’t finish without unassigning themselves from their hosts and that running tasks do not share a host. Returns a json document of the form

      {status: “ERROR/SUCCESS”, errors:[list of error strings], tasks:[task ids], hosts:[host ids]}
      

      .
      The audit will ensure specifically that:

      1. All active hosts with a running task field have a relevant task document in the “running” state with the proper host id cache.
      2. All “running” tasks are assigned to a host and no two running tasks share the same host id.

        Attachments

          Activity

            People

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: