flushRouterConfig command

flushRouterConfig

This command will clear the current cluster information that a mongos process has cached and load the latest settings from the config db. This can be used to force an update when the config db and the data cached in [mongos|display/DOCS/Architecture+and+Components] are out of sync. It is was added in 1.8.2.

Warning: do not change the config db's content except in ways that are explicitly documented as being acceptable. The config database is not intended to be write manipulated manually.

Example

$ mongo mongos-server.local
> db.adminCommand("flushRouterConfig")
{... "flushed":true }

Labels

commands commands Delete
command command Delete
flushrouterconfig flushrouterconfig Delete
sharding sharding Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.

blog comments powered by Disqus