Navigation
This version of the documentation is archived and no longer supported.

flushRouterConfig

flushRouterConfig

flushRouterConfig clears the current cluster information cached by a mongos instance and reloads all sharded cluster metadata from the config database.

This forces an update when the configuration database holds data that is newer that 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 for mongos instances.

New in version 1.8.2.

←   findAndModify fsync  →