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

Docs for SERVER-9043: Link `flushRouterConfig` on the config server and shards

      Description

      Description:

      With this change, the flushRouterConfig command is now available on all nodes (shards and config server), so the linked documentation needs to be updated to say that.

      In addition, starting in version 3.4, the instructions in points 6 and 7 are not correct anymore. The balancer doesn't need to be restarted, instead, they should be:

      6) Clear current cluster meta information. After the jumbo flag has been cleared out from the chunks collection, run flushRouterConfig: <DB.collection> directly against the config server primary.

      Engineering Ticket Description:

      Currently there is the ability to flush router config on mongos nodes. The Primary nodes in repl sets also hold some cached config information in ChunkManager. Currently the way to 'flush' this information from a Primary is to step down, causing a new Primary to be elected. If the functionality existed that allowed a similar operation to FlushRouterConfig to run on Primaries, then this step down could be avoided in those cases where it currently is used.

      Scope of changes

      • source/includes/ref-toc-command-sharding.yaml
      • source/reference/command/flushRouterConfig.txt
      • source/includes/steps-clear-jumbo-flag.yaml
      • source/reference/command/movePrimary.txt
      • source/tutorial/remove-shards-from-cluster.txt <<- include the flushRouterConfig blurb found in movePrimary here.

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 21 weeks, 4 days ago