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

fix: ingest WC as a simple object or number for w value #2695

Merged
merged 4 commits into from
Jan 15, 2021

Conversation

nbbeeken
Copy link
Contributor

This reverts a change that now makes it possible to pass a
writeConcern option that maps directly to 'majority'
or a number for the w value

NODE-2836

This reverts a change that now makes it possible to pass a
writeConcern option that maps directly to 'majority'
or a number for the w value

NODE-2836
Copy link
Contributor

@emadum emadum left a comment

Choose a reason for hiding this comment

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

Looks like there is still a leaked resource in the CI run, maybe my requested change might fix it?

});

after(() => {
mock.cleanup();
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also return (or just remove the curly braces)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ooo nice catch thanks!!

@nbbeeken nbbeeken requested a review from emadum January 14, 2021 20:27
Copy link
Contributor

@emadum emadum left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

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

LGTM

@nbbeeken nbbeeken merged commit f5f9fd4 into master Jan 15, 2021
@nbbeeken nbbeeken deleted the NODE-2836/wc-fixes branch January 15, 2021 20:23
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