host field for idleCursors doesn't include port

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.6
    • Affects Version/s: 4.1.4
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Query 2018-11-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Martin Neupauer (Inactive)
              Reporter:
              Kevin Pulo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: