[SERVER-71607] $currentOp not display any session when not add getSiblingDB('admin') Created: 24/Nov/22 Updated: 25/Nov/22 Resolved: 24/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.4.12 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | jing xu | Assignee: | Edwin Zhou |
| Resolution: | Done | Votes: | 0 |
| Labels: | Bug | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
hi: the following is result:so is it a bug for it ? mongos> db |
| Comments |
| Comment by jing xu [ 25/Nov/22 ] | |||
|
hi Edwin Zhou: | |||
| Comment by Edwin Zhou [ 24/Nov/22 ] | |||
|
Hi 601290552@qq.com, Assuming that the output you have in your description is copy and pasted, it appears you have a typo for the admin database you're trying to collect $currentOp from.
Please try the following before executing the aggregation:
If you're still hitting this issue, we'd like to encourage you to start by asking our community for help by posting on the MongoDB Developer Community Forums. If the discussion there leads you to suspect a bug in the MongoDB server, then we'd want to investigate it as a possible bug here in the SERVER project. Best, |