Google News
logo
MongoDB - Quiz(MCQ)
_______ reports on the last chunk migration.
A)
sh._lastMigration()
B)
sh.addShard()
C)
sh._checkMongos()
D)
Aall of the above

Correct Answer :   sh._lastMigration()


Explanation : The sh._lastMigration() method returns a document with details about the last migration performed on the database or collection.

Advertisement