-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.1.4
-
Component/s: Aggregation Framework
-
None
-
Fully Compatible
-
ALL
-
Query 2018-11-19
When running a $currentOp agg with idleCursors: true, the host field for output documents with type: "idleCursor" doesn't include the port — but it should, like the type: "op" documents. Without this it's impossible to distinguish between multiple mongod/mongos servers running on different ports of a host.
It uses getHostNameCached() but should use getHostNameCachedAndPort() instead (see also $collStats).
- related to
-
SERVER-37436 Add fields to top level of idleCursor object in curOp output
- Closed