[SERVER-58087] Reduce overhead of activated generated tasks Created: 25/Jun/21  Updated: 29/Oct/23  Resolved: 13/Jul/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: DAG 2021-07-26
Participants:
Story Points: 2

 Description   

After SERVER-57003, task generation will be split into 2 phases: the actual creation of the tasks and the activation of the tasks. The activation step is fairly straightforward and shouldn't require a lot of setup. However, the standard setup for server tasks performs a lot of unneeded work (cloning the repo takes around a minute alone). We should optimize the task setup for activated tasks, since they will be a lot of them run still.


As an engineer,
I want task activation to be as fast as possible,
So that the resources activate the tasks can be used for other tasks.


AC:

  • Most of the time in the activating tasks in spend making evergreen api calls.
     


 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 27/Jul/21 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-58087: Cleanup generate tasks setup

(cherry picked from commit b25d57c6a354cf5e4dab3237647797ccc5b30c4d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/ce503d131ffab70979e972e6eb95136b583d1f62

Comment by Githook User [ 13/Jul/21 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-58087: Cleanup generate tasks setup
Branch: master
https://github.com/mongodb/mongo/commit/b25d57c6a354cf5e4dab3237647797ccc5b30c4d

Generated at Thu Feb 08 05:43:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.