Skip to content

DOCS-3443 - clarification re: user for db.copyDatabase() with --auth #1986

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mpaik
Copy link
Contributor

@mpaik mpaik commented Sep 15, 2014

No description provided.

@@ -3,6 +3,10 @@ Be aware of the following properties of |copydb|:
- |copydb| runs on the destination :program:`mongod`
instance, i.e. the host receiving the copied data.

- If the destination :program:`mongod` has authorization enforcement enabled,
|copydb| *must* be executed with the credentials of a user present in the *source*
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't "be executed with" -> "specifying"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

? "db.copyDatabase() must specifying the credentials of a user present in the source"?

Maybe s/with/using/ or s/with/specifying/? Or is that what you meant to begin with?

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry, grammatical integration issue.

"you must specify the credentials to |copydb| of a user present in the source database."

"executed with" makes me think of the state at the call site rather than the arguments. to the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Perhaps s/executed/called/ then? Otherwise your sentence seems fine with the prepositional phrases swapped - "you must specify the credentials of a user present in the source database [when calling] |copydb|." which keeps the 'of a user' more closely modifying 'credentials.' I know you love your second person replacements of passive clauses. =)

@tychoish tychoish closed this Sep 23, 2014
mongo-cr-bot pushed a commit that referenced this pull request Oct 7, 2022
* documents moveRange

* review feedback

* restores moveChunk() method

* cleanup

* toShard

* removes moveChunk

* updates

* revert 2.6

* revert

* review feedback

* review feedback
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.

2 participants