Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26067

Stopping a node removes the SprintAutoStartStopJob job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 10.4.0
    • 9.8.0, 9.12.12, 9.17.2
    • Sprint
    • 9.08
    • 2
    • Severity 2 - Major
    • 42
    • Hide
      Atlassian Update – 19 December 2024

      Dear Customers,

      Thank you for reporting this issue. In the last weeks we have been working hard on fixing it.

      Since now Jira will recognise other ALIVE(with heartbeat) and ACTIVE nodes in the cluster. If such exist it will not unschedule the job.

      Best regards.

      Daniel Dudziak
      Principal Software Engineer

      Show
      Atlassian Update – 19 December 2024 Dear Customers, Thank you for reporting this issue. In the last weeks we have been working hard on fixing it. Since now Jira will recognise other ALIVE(with heartbeat) and ACTIVE nodes in the cluster. If such exist it will not unschedule the job. Best regards. Daniel Dudziak Principal Software Engineer

      Issue Summary

      Every time a Jira node is properly stopped, the schedules for this job is removed: com.atlassian.greenhopper.service.sprint.services.SprintAutoStartStopJob

      While this makes sense for disabling plugins from the UPM UI, this may break important the functionality for those jobs whenever a node is stopped and not started again.

      Steps to Reproduce

      1. Set up a Jira DC with 2 nodes or more;
      2. Check "Parallel Sprints" in Jira Software Configuration
      3. Stop a node.

      Expected Results

      Everything remains working as normal

      Actual Results

      The job schedule for com.atlassian.greenhopper.service.sprint.services.SprintAutoStartStopJob is removed:

      We can see Jira doing it in the logs:

      2024-08-13 11:34:31,850 FelixShutdown INFO      [com.atlassian.greenhopper.Launcher] Unscheduling Jira Agile jobs...
      2024-08-13 11:34:31,850 FelixShutdown INFO      [service.sprint.services.SprintAutoStartStopScheduler] [SPRINT-AUTO-START-STOP] Starting to unschedule a SprintAutoStartStopJob...
      2024-08-13 11:34:31,853 FelixShutdown INFO      [service.sprint.services.SprintAutoStartStopScheduler] [SPRINT-AUTO-START-STOP] SprintAutoStartStopJob has been unscheduled.
      

      Workaround

      • When stopping a node permanently, stop it using
        kill -9 <pid>
        
      • Or restart one remaining node after the removal. Jira will always create the schedules again when Jira Software starts up
      • Disabling "Parallel Sprints" and re-enabling it recreates the job

              ddudziak Stasiu
              5fb7769fcbc7 Allan Gandelman
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: