Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-17136

NonClusterManager does not prevent concurrent execution of jobs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.10.4, 3.0.1, 3.0.2
    • Fix Version/s: 3.1
    • Component/s: None

      Description

      The implementation of ClusterManager for non clustered licenses does not implement any kind of locking at all.

      This means oncePerCluster (such as the ClusterSafetyJob) jobs can run concurrently, amongst other problems, which can lead to errors.

      Update: see the comment below for patch instructions.

        Attachments

        1. nonclustered.zip
          3 kB
        2. NonClusterManager.class
          5 kB
        3. NonClusterManager.java
          4 kB
        4. NonClusterManager$SimpleClusteredLock.class
          1 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  5 years, 19 weeks, 2 days ago