Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14379

Add Statistics to WriteResult Responses

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • Labels:
      None
    • Query Execution

      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.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            djones@squarespace.com Doug Jones
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: