I am running a batch job in a cluster at the same time with the same parameters. Though, its fine that it is running only on one instance but the exception I am getting is:
Detail: Key (job_name, job_key)=(offlineTicketRefreshJob, c5d36835a13fd8ae0e91a69a6fa1c2d8) already exists.; nested exception is org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "job_inst_un"
I was expecting that it will give JobAlreadyRunningException or the other. I think the isolation level is also serializable for batch job repository so why is it giving PSQLException?