Recently i notice that a parameter fromRouter" : true exists on mongoDB aggregations. I search the MongoDB documentation and google for it, but i didn't found anything about it. Can anyone explain what this parameter is, or share any useful resource for it?
"op" : "command",
"ns" : "database_name.$cmd",
"command" : {
"aggregate" : "collection",
"pipeline" : [...erase them to make the post smaller...],
"fromRouter" : true,
"$queryOptions" : {
"$readPreference" : {
"mode" : "primary"
}
}
},
"ntoreturn" : 1,
"keyUpdates" : 0,
"numYield" : 440,
"lockStats" : {
"timeLockedMicros" : {
"r" : NumberLong(3106252),
"w" : NumberLong(0)
},
"timeAcquiringMicros" : {
"r" : NumberLong(5302577),
"w" : NumberLong(6145)
}
},