Refactor CurOp API to Use WithLock

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2026-03-30, QE 2026-04-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Refactor the CurOp class to adopt the WithLock parameter for functions that require the primary mutex to be held. Update calling code to provide the required lock-holding resource.

      Benefits:

      • Improves code clarity and safety.
      • Aligns CurOp with established best practices for mutex usage.

      References:

      See cpp_style.md for more information.

            Assignee:
            Niels Lohmann
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: