[SERVER-53458] Restrict $operationMetrics stage to the admin database Created: 18/Dec/20 Updated: 29/Oct/23 Resolved: 05/Jan/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Execution Team 2021-01-11 | ||||
| Participants: | |||||
| Description |
|
By convention, cluster-wide aggregation pipeline stages are restricted to the admin database. The $operationMetrics stage may run on any database, but that does not change the output. We should restrict its usage to be consistent with other stages. |
| Comments |
| Comment by Githook User [ 05/Jan/21 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |