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

[CBBS] Do not allow multiple scheduled jobs on the same repo to be run

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, 7.2.0
    • tools
    • None
    • 0

    Description

      What is the problem?
      Currently we allow multiple jobs to run against the same repository, as long as they are not the same task. James mentioned this was so that info and collect-logs could be run. There have been a couple of cases where customers with multiple backup nodes and multiple tasks have seen errors due to two tasks being run at the same time.

      The error message is confusing (it talks about lockfiles) but given we control the schedule we should be able to detect these cases,.

      What is the solution?
      I propose we skip scheduled jobs if we find that the repo already has a running scheduled task. This means there should only ever be a single scheduled job running at any one time which will cover most of the cases where customers have run into problems.

      Attachments

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

        Activity

          People

            owend Daniel Owen
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty