[SERVER-41707] Add field to serverStatus that discounts secondary cursors Created: 13/Jun/19  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alyson Cabral (Inactive) Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-44735 track metrics for system initiated op... Backlog
Assigned Teams:
Query Execution
Participants:

 Description   

"cursor" : { 
     "timedOut" : NumberLong(<num>), 
      "open" : { 
                "noTimeout" : NumberLong(<num>), 
                 "pinned" : NumberLong(<num>), 
                 "multiTarget" : NumberLong(<num>), 
                 "singleTarget" : NumberLong(<num>), 
                  "total" : NumberLong(<num>), } } 

We'd like some way to distinguish client cursors from secondary cursors. Charlie suggested this could be accomplished by discounting oplog cursors while still including change streams. We will have some false negatives, but I expect this new field to be more representative of client activity than the current field.


Generated at Thu Feb 08 04:58:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.