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

Inline ClientCursorPin dassert boolean to prevent unecessary work on non-debug builds

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.3
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2018-02-26, Query 2018-03-12
    • 0

    Description

      this line is intended to check that the caller is holding the appropriate locks. I have no hard proof that it is running in our release builds, but when I was doing local performance profiling on a non-debug build it was showing up. It doesn't hurt legibility too much to inline it.

      Attachments

        Activity

          People

            charlie.swanson@mongodb.com Charlie Swanson
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: