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

Add more aggressive timeouts to commit queue tasks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      DAG 2020-09-07
    • Story Points:
      1

      Description

      There are occasionally issues where the tasks in the commit queue appear to hang. Since the default timeouts are around 2 hours, this can cause large back ups in the queue. We could add more aggressive timeouts to the tasks in the queue so that they timeout much earlier. The lint tasks already do this and timeout around 40 minutes.

      We should look at the historic runtimes of the tasks to pick appropriate timeouts.


      As a server engineer,
      I want hung commit queue tasks to time out earlier,
      So that the commit queue does not get blocked for a long period of time waiting for a task that is just going to timeout anyway.


      AC:

      • All tasks in the commit-queue have a timeout of under 1 hour.

        Attachments

          Activity

            People

            Assignee:
            david.bradford David Bradford
            Reporter:
            david.bradford David Bradford
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: