[SERVER-56602] Track usage of match expressions in serverStatus Created: 04/May/21 Updated: 29/Oct/23 Resolved: 05/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.11, 4.2.18, 5.0.4, 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Katya Kamenieva | Assignee: | Milena Ivanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Backport Requested: |
v5.0, v4.4, v4.2
|
||||||||||||||||||||||||
| Sprint: | Query Optimization 2021-05-31, Query Optimization 2021-06-14, Query Optimization 2021-06-28, Query Optimization 2021-07-12, Query Optimization 2021-07-26, Query Optimization 2021-08-09 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
Add counters for match expressions (https://docs.mongodb.com/manual/reference/operator/query/) Something like this:
|
| Comments |
| Comment by Githook User [ 23/Nov/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: (cherry picked from commit 98b4a0a2b2c4a230efe1c2ddc3da487a575d670d) |
| Comment by Githook User [ 27/Oct/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: (cherry picked from commit 98b4a0a2b2c4a230efe1c2ddc3da487a575d670d) |
| Comment by Githook User [ 25/Oct/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: (cherry picked from commit 98b4a0a2b2c4a230efe1c2ddc3da487a575d670d) |
| Comment by Githook User [ 12/Oct/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: (cherry picked from commit 98b4a0a2b2c4a230efe1c2ddc3da487a575d670d) |
| Comment by Githook User [ 05/Aug/21 ] |
|
Author: {'name': 'Milena Ivanova', 'email': 'milena.ivanova@mongodb.com', 'username': 'mivanova3'}Message: |
| Comment by Katya Kamenieva [ 04/May/21 ] |
|
"<expression>" will be a $-prefixed MongoDB operator, one if these https://docs.mongodb.com/manual/reference/operator/query/. Not an expression like '$my_fav_obj_name.field1' |
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] |
|
Assuming this just means operators and not expressions, should this be called matchOperatorCounters? |
| Comment by Bruce Lucas (Inactive) [ 04/May/21 ] |
|
What does "<expression>" mean? Is this a literal string "<expression>" or a placeholder for something open-ended? Just checking to make sure we're not excessively inflating FTDC. |