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

Comment on: "manual/reference/command/repairDatabase.txt"

      What about sharding? Can db.repairDatabase() be run against a router (mongos)? Will mongos run the command for a sharded database on all shards and on all replicaSet members simultaneously? What happens if only one replicaSet member doesn't have enough free disk space? Will it cancel the command on all the other mongod instances as well? How is it possible to pass the repairpath parameter if running the command against mongos? If it's not possible, do we need to run the command against every mongod instance of the sharded system or "only" against the primary of every replicaSet/shard?

            Assignee:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Reporter:
            kay.agahd@idealo.de Kay Agahd
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 37 weeks ago