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

Destroy opCtx after responding to clients

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc7, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Service arch 2020-05-04, Service arch 2020-05-18
    • 0

      Destroying OperationContex before responding to a client (see here) makes the cost of reclaiming resources visible to the client, and negatively impacts the performance. We should investigate the possibility of postponing the destruction until after the response has been sent to the client.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: