1.

Point out the correct statement.(a) sh.deadForDLock() waits for a specified distributed sharded cluster lock(b) sh.waitForBalancerOff() waits until the balancer stops running(c) sh.statusserver() reports on the status of a sharded cluster, as db.printShardingStatus()(d) all of the mentionedThe question was asked by my school teacher while I was bunking the class.I need to ask this question from Sharded Cluster Data Management in section Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Correct OPTION is (a) sh.deadForDLock() waits for a specified distributed SHARDED cluster lock

To elaborate: sh.stopBalancer() disables the BALANCER and waits for any in progress balancing rounds to complete.



Discussion

No Comment Found

Related InterviewSolutions