[DOCS-7382] Error in command shown on Backup a Sharded Cluster with Filesystem Snapshots page Created: 09/Mar/16  Updated: 30/Oct/23  Resolved: 20/Apr/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Ronan Bohan Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-6597 Update documented sharded cluster bac... Closed
Participants:
Days since reply: 7 years, 49 weeks ago

 Description   

In the steps to backup a config server '(Backup a Sharded Cluster with Filesystem Snapshots)' in the section entitled 'If the sharded cluster uses CSRS' it says to run the following command:

db.changelog.find({what:/^moveChunk/}).sort({time:-1}).next().what"

This results in a syntax error, due to the spurious '.what"' at the end of the command.

This command should end at the '.next()' (noting too that this command will fail if no chunk migrations have taken place yet, e.g. for a new cluster)

GitHub source is here: https://github.com/mongodb/docs/blob/master/source/includes/steps-backup-sharded-cluster-with-snapshots.yaml#L96


Generated at Thu Feb 08 07:54:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.