石英集群调度程序死锁

Azh*_*har 5 mysql quartz-scheduler

在 6 个实例上运行石英集群调度程序时,我们随机得到以下异常:

无法获取下一个触发器:尝试获取锁时发现死锁;尝试重新启动事务

这是我们的quartzConfig.properties

    scheduler.skipUpdateCheck = true
    scheduler.instanceName = 'quartzScheduler'
    scheduler.instanceId = 'AUTO'
    threadPool.threadCount = 13
    threadPool.threadPriority = 5
    jobStore.misfireThreshold = 300000
    jobStore.'class' = 'org.quartz.impl.jdbcjobstore.JobStoreTX'
    jobStore.driverDelegateClass = 'org.quartz.impl.jdbcjobstore.StdJDBCDelegate'
    jobStore.useProperties = true
    jobStore.dataSource = 'myDS'
    jobStore.tablePrefix = 'QRTZ_'
    jobStore.isClustered = true
    jobStore.clusterCheckinInterval = 10000
    dataSource.myDS.driver='com.mysql.jdbc.Driver'
    dataSource.myDS.maxConnections = 15
Run Code Online (Sandbox Code Playgroud)

我们在mysql db的应用程序中使用quartz grails插件(带有quartz 2.2.1)。