I have quartz configured to work in cluster here my simple quartz config
org.quartz.scheduler.instanceName=jobs-scheduler
org.quartz.scheduler.instanceId=AUTO
org.quartz.threadPool.threadCount=5
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.jobStore.useProperties=true
org.quartz.jobStore.misfireThreshold=10000
org.quartz.jobStore.tablePrefix=QRTZ_
org.quartz.jobStore.isClustered=true
org.quartz.jobStore.clusterCheckinInterval=20000
I have two nodes executing my jobs however when I schedule some task to run every second I can see it's being executed only on node1. If I pause scheduler on node1 task will move to node2 and sticks to it even when node1 came online again. How can I possibly make executions evenly deviated between the nodes?
Thanks