Clone
Nicolas Filotto
committed
on 11 Mar 14
KER-279: WARNING during start up slave node in cluster node when configuring Quartz in share mode
Problem analysis
* In cluster mode, the jo… Show more
KER-279: WARNING during start up slave node in cluster node when configuring Quartz in share mode

Problem analysis

* In cluster mode, the jobs and the triggers are persisted such that when the database has already been initialized we get some warning at server startup because we try to register jobs that have already been defined in the database.

Fix description: update the jobs registration.

* In case the jobs are not persisted, keep the old behavior to remain backward compatible.

 In case the jobs are persisted, when we try to register a job, we first check whether it exists already.

 If it doesn't exist, we register it.

 Otherwise we continue to check if the job that we try to register is the same as the one already registered.

 If it is the same, we skip the registration and log a message in debug level. Otherwise we raise an exception indicating that a job already exists.

Show less

UXP-296 + 4 more