@@ -13,18 +13,25 @@ flushRouterConfig
1313.. dbcommand:: flushRouterConfig
1414
1515 :dbcommand:`flushRouterConfig` clears the cached routing table in a
16- :binary:`~bin.mongos` instance. Subsequent :binary:`~bin.mongos`
17- commands update the routing table as routes are needed.
16+ :binary:`~bin.mongos` instance. Subsequent commands against that
17+ :binary:`~bin.mongos` will repopulate the routing table cache from
18+ the :term:`config server` as they execute.
1819
19- When this command is called, it forces an update when the
20- configuration database holds data that is more recent than the data
21- cached in the :binary:`~bin.mongos` process.
20+ Use this command to force the routing table cache to be refreshed
21+ from the :term:`config server` if it contains more recent data. In
22+ most cases, this happens automatically. You should need to run
23+ :dbcommand:`flushRouterConfig` only after :dbcommand:`movePrimary`
24+ has been run.
25+
26+ .. seealso::
27+
28+ For when and why :dbcommand:`flushRouterConfig` is run, see
29+ **Considerations** on the :dbcommand:`movePrimary` page.
2230
2331 .. warning::
2432
25- Do not modify the config data, except as explicitly
26- documented. A config database cannot typically tolerate manual
27- manipulation.
33+ Do not modify the routing table data except when it is
34+ explicitly documented.
2835
2936 :dbcommand:`flushRouterConfig` is an administrative command that is
3037 only available for :binary:`~bin.mongos` instances.
0 commit comments