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

Refactor fetching all child patches

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: app
    • Labels:
      None

      Description

      Right now we get child patches by iterating over p.Triggers.ChildPatches and fetching each patch one by one. Instead, we should write a query that gets all of them with one db call. There are currently two instances where we iterate over patches and use findOneId() 

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            chaya.malik Chaya Malik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: