[SERVER-14379] Add Statistics to WriteResult Responses Created: 27/Jun/14  Updated: 06/Dec/22

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

Type: New Feature Priority: Major - P3
Reporter: Doug Jones Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-18067 Add the time spent waiting for write ... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

Currently there is no information about the performance of a write in WriteResult. Having this information would be great. Here are some things that would be nice to have:

  • Total execution time
  • Time waiting to acquire lock
  • Time holding lock
  • Time waiting for replication

To clarify the last point, this would be the additional time that the primary waited to hear a replication response from a secondary in the case that a write concern > 1 is used.


Generated at Thu Feb 08 03:34:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.