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

Set waitForTicketDurationMillis in _sumBlockedTimeTotal

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Execution Team 2024-04-29, Execution Team 2024-05-13

      We use waitForTicketDurationMillis to calculate the total blocked time of an operation but we also individually report waitForTicketDurationMillis. In all current uses of waitForTicketDurationMillis, we also call _sumBlockedTimeTotal. If we set waitForTicketDurationMillis in sumBlockedTimeTotal, we can avoid calling the locker twice and avoid callers of sumBlockedTimeTotal forgetting to set waitForTicketDurationMillis.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: