michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Clustering supported? #18

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi, as far as I can see there is currently no support for clustering and failover. Is that right? If so is there any support intended?

regards

michaelklishin commented 11 years ago

There is no support for failover. Feel free to contribute it.

kidahl commented 11 years ago

Forgive me for being a bit confused, but what does "no support for failover" mean? Given the settings: org.quartz.jobStore.addresses=host1,host2 Isn't this a jobstore failover configuration that indicate the redundant MongoDB hosts in the cluster used for the jobstore?

Can I schedule a job with quartz-mongodb that is guaranteed to only execute on one of the nodes that share the scheduler? If so, will not this give a complete failover solution for execution of this job?

Thanks

michaelklishin commented 11 years ago

It may not sufficient to just specify multiple hosts to connect to, depending what "failover" means to you. There was no work done on ensuring that a job is only executed on one scheduler node. This is likely a feature that has nothing to do with job stores but quartz-mongodb was not tested in such scenarios.

Feel free to contribute any missing functionality you may find.