Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61948

Jobs failed metric is incremented multiple times when a job is cancelled

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • Analytics Sprint 42

    Description

      This issue takes place when a job is cancelled, and the cancelled counter is incremented (correctly as expected), then the JobExecutor issues cleanup tasks for this cancelled job with a status of FAILED, leading the execution of these cleanup tasks to also increment the failed job counter (due to the FAILED status).

       

      We need to keep track of what job id has been stat-collected already, and not update the stats anymore on any follow up tasks for that specific job id.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              umang.agrawal Umang
              Hussain.Towaileb Hussain Towaileb
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty