- Reference >
- Database Commands >
- Sharding Commands >
- flushRouterConfig
flushRouterConfig¶
-
flushRouterConfig¶ flushRouterConfigclears the current cluster information cached by amongosinstance 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
mongosprocess.Warning
Do not modify the config data, except as explicitly documented. A config database cannot typically tolerate manual manipulation.
flushRouterConfigis an administrative command that is only available formongosinstances.New in version 1.8.2.