This one got me So I want to give few hints without giving answer away.
Hint 1. Do not use Pymongo documentation for finding “default values”. Apparently there are two notations for the host. And for some fields the default value is different if you use the Standard Connection String Format or the DNS Seedlist Connection Format.
Hint 2. For the key-word arguments (kwargs) the default value is not shown for the output. Only main parameters is shown by MongoClient.stats
Question. I was not able to evoke this method (MongoClient.stats
) both in Mongo Shell and Python program. Nor I could find the description of it in the documentations. Any links?
PS Question 3 is only one I failed. So I already know the correct answer. But I would like to read up on the mc.stats. Thanks.