Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVPROD-4926 add use_xlarge_distro option to mongo-task-generator #71

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

Trevor159
Copy link
Collaborator

@Trevor159 Trevor159 commented Feb 16, 2024

for https://jira.mongodb.org/browse/BF-29398 we need to increase the distro size of one generated task but currently generated tasks only allow the variant distro or the configured large distro for a variant. This ticket will add a third option so we will not have to increase the distro size for every task unnecessarily.

Here are the server changes that are necessary for this https://github.com/10gen/mongo/pull/19089

use_xlarge_distro acts as use_large_distro for variants that do not have xlarge_distro_name configured.

@IamXander IamXander requested review from a team February 16, 2024 23:17
@Trevor159 Trevor159 merged commit b723a93 into master Feb 16, 2024
2 checks passed
@Trevor159 Trevor159 deleted the add-use_xlarge_distro branch February 16, 2024 23:25
let build_variant_name = build_variant.name.as_str();

if generated_task.use_large_distro() {
if generated_task.use_xlarge_distro() && xlarge_distro_name.is_some() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if you specify both large and xlarge distros? Does that work and it looks like xlarge would take precedence?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it works fine and xlarge takes precedence which I think is desired behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants