Refactor CurOp API to Use WithLock

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • 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:
            Unassigned
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: