1.

_______ enables the balancer and waits for balancing to start.(a) sh.waitForBalancer()(b) sh.startBalancer()(c) sh.waitForDLock()(d) all of the mentionedThe question was asked in exam.My question is from Sharded Cluster Data Management topic in division Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Correct ANSWER is (B) sh.startBalancer()

Easy explanation: sh.waitForDLock() waits for a SPECIFIED distributed sharded CLUSTER lock.



Discussion

No Comment Found

Related InterviewSolutions