File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ flushRouterConfig
1212
1313.. dbcommand:: flushRouterConfig
1414
15- :dbcommand:`flushRouterConfig` clears the current cluster
16- information cached by a :binary:`~bin.mongos` instance and reloads all
17- :term:`sharded cluster` metadata from the :term:`config database` .
15+ :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 .
1818
19- This forces an update when the configuration database holds data
20- that is newer than the data cached in the :binary:`~bin.mongos`
21- process.
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.
2222
2323 .. warning::
2424
@@ -29,4 +29,12 @@ flushRouterConfig
2929 :dbcommand:`flushRouterConfig` is an administrative command that is
3030 only available for :binary:`~bin.mongos` instances.
3131
32+ Call this command using the following form:
33+
34+ .. example::
35+
36+ .. code-block:: javascript
37+
38+ db.adminCommand("flushRouterConfig")
39+
3240 .. versionadded:: 1.8.2
You can’t perform that action at this time.
0 commit comments