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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2018-02-26, Query 2018-03-12
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: