翻译或纠错本页面

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 than the data cached in the mongos process.

警告

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.

1.8.2 新版功能.

←   分片命令 addShard  →