- Reference >
- Database Commands >
- Sharding Commands >
- flushRouterConfig
flushRouterConfig¶
-
flushRouterConfig
¶ flushRouterConfig
clears the current cluster information cached by amongos
instance and reloads all sharded cluster metadata from the config database.This forces an update when the configuration database holds data that is newer than the data cached in the
mongos
process.Warning
Do not modify the config data, except as explicitly documented. A config database cannot typically tolerate manual manipulation.
flushRouterConfig
is an administrative command that is only available formongos
instances.New in version 1.8.2.