Inline ExpressionContext::InterruptChecker::checkForInterruptSlow

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-11-10
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Recently we moved checkForInterruptSlow to .cpp, which prevents inlining.

      We suspect it might causes some performance issues.

      We should move it back to .h to restore performance.

      The problem is that we can't include curop.h in expression_context.h, because curop.h uses expression_context.h (indirectly).

      Most probably we will move only CurOp part to .cpp and put it in checkForInterruptVerySlow().

            Assignee:
            Ivan Fefer
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: