[SERVER-37842] host field for idleCursors doesn't include port Created: 31/Oct/18 Updated: 29/Oct/23 Resolved: 08/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 4.1.4 |
| Fix Version/s: | 4.1.6 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Martin Neupauer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Query 2018-11-19 | ||||||||
| Participants: | |||||||||
| Description |
|
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). |
| Comments |
| Comment by Githook User [ 08/Nov/18 ] |
|
Author: {'name': 'Martin Neupauer', 'email': 'martin.neupauer@mongodb.com', 'username': 'MartinNeupauer'}Message: |