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

LockState caching in OperationContextImpl is broken

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.3
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Storage 2016-12-12, Storage 2017-01-23, Storage 2017-02-13
    • 0

    Description

      In the OperationContextImpl destructor we create a new locker then immediately destroy it. If the point of caching is that construction/destruction of LockState is too expensive, then we are are still paying the cost and getting nothing out of it. We should consider removing the cache rather than fixing it.

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: