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

one of mongo node shutdown, will trigger jvm exit. #156

Closed ghost closed 6 years ago

ghost commented 6 years ago

when one of mongo node shutdown, CheckinTask will catch MongoException, then do System.exit(1); In fact, one of mongo node shutdown, but the hole mongo cluster can continue work.

michaelklishin commented 6 years ago

https://github.com/michaelklishin/quartz-mongodb/commit/116546623734455191611822b23abe7c8740453f explains why. This is not great but it's not obvious what should be done (e.g. how to stop just Quartz itself) in clustered setups.

michaelklishin commented 6 years ago

Actually, there's already an issue about this, #147.