File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ flushRouterConfig
12
12
13
13
.. dbcommand:: flushRouterConfig
14
14
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 .
18
18
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.
22
22
23
23
.. warning::
24
24
@@ -29,4 +29,10 @@ flushRouterConfig
29
29
:dbcommand:`flushRouterConfig` is an administrative command that is
30
30
only available for :binary:`~bin.mongos` instances.
31
31
32
+ .. example::
33
+
34
+ .. code-block:: javascript
35
+
36
+ db.adminCommand("flushRouterConfig")
37
+
32
38
.. versionadded:: 1.8.2
You can’t perform that action at this time.
0 commit comments