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(shell-api): warn instead of throw for sh methods on non-mongos #1098

Merged
merged 2 commits into from
Sep 10, 2021

Conversation

addaleax
Copy link
Contributor

MONGOSH-982

Also cache the db.hello() result instead of running it for
every single sh method call.

Testing the extended sh.status(verbose, db) signature is left
for MONGOSH-742.

…NGOSH-982

Also cache the `db.hello()` result instead of running it for
every single `sh` method call.

Testing the extended `sh.status(verbose, db)` signature is left
for MONGOSH-742.
@addaleax addaleax changed the title fix(shell-api): warn instead of throw for sh methods on non-mongosh fix(shell-api): warn instead of throw for sh methods on non-mongos Sep 10, 2021
@addaleax addaleax merged commit 6133645 into main Sep 10, 2021
@addaleax addaleax deleted the 982-dev branch September 10, 2021 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants