You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your guide, I've found a code db.runCommand({ validate: 'products', background: true, full: true }); that doesn't work. I get error in MongoDB 6.0:
Command failed with error 72 (InvalidOptions): 'Running the validate command with both { background: true } and { full: true } is not supported.' on server
naXa777
changed the title
Non-working code example in the "validate()" topic
Non-working code example in the "validate()" topic (MongoDB Roadmap)
Oct 3, 2023
What is the URL where the issue is happening
https://roadmap.sh/mongodb
What browsers are you seeing the problem on?
Chrome
Describe the Bug
In your guide, I've found a code
db.runCommand({ validate: 'products', background: true, full: true });
that doesn't work. I get error in MongoDB 6.0:This issue is related specifically to https://github.com/kamranahmedse/developer-roadmap/blob/master/src/data/roadmaps/mongodb/content/102-collections/106-validate.md?plain=1#L32
The official MongoDB documentation doesn't even mention the
background
option. See https://www.mongodb.com/docs/manual/reference/command/validate/So I have to admit that the mention of
background
option in your guide creates some confusion.Output from browser console (if any)
No response
Participation
The text was updated successfully, but these errors were encountered: