1.

_______ forces an update to the cluster metadata cached by a mongos.(a) config(b) flushconf(c) flushRouterConfig(d) all of the mentionedI had been asked this question by my school principal while I was bunking the class.The question is from Sharded Cluster Data Management topic in chapter Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

The correct option is (c) flushRouterConfig

Easiest EXPLANATION: flushRouterConfig CLEARS the current CLUSTER information cached by a MONGOS instance and reloads all sharded cluster metadata from the config database.



Discussion

No Comment Found

Related InterviewSolutions