Destroy opCtx after responding to clients

XMLWordPrintableJSON

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

      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
            Reporter:
            Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: