Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-7382

Error in command shown on Backup a Sharded Cluster with Filesystem Snapshots page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • manual
    • None
    • Docs Sprint 2016 (03.28-04.15), Docs Sprint 2016 (03.07-03.25), Docs Sprint 2016(04.18-05.06), Docs Sprint 2016(05.09-05.27)

    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

      Attachments

        Issue Links

          Activity

            People

              ravind.kumar Ravind Kumar (Inactive)
              ronan.bohan@mongodb.com Ronan Bohan
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 30 weeks, 4 days ago