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

Destroy opCtx after responding to clients

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc7, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • v4.4
    • Service arch 2020-05-04, Service arch 2020-05-18
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: