The Time Slicing job fails intermittently (may be a one time event), and errors is thrown in bg-ca.log. The error can be thrown repeatedly.
Examples of the error:
ERROR 2019-12-31 09:37:58,113 [Dispatch Time Slicing : bg@XXXXXXXXX (tenant=clarity)] niku.blobcrack (clarity:scheduler:13286425%Session%:Time Slicing) Error processing slices com.niku.union.persistence.PersistenceDeadlockException:
SQL error code: 60
Error message: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-00060: deadlock detected while waiting for resource
ERROR 2022-09-13 15:05:28,417 [Dispatch Time Slicing : bg@XXXXXX (tenant=clarity)] niku.blobcrack (clarity:admin:39670%Session%Time Slicing) Error while inserting slices.
com.niku.union.persistence.PersistenceDeadlockException:
SQL error code: 1205
Error message: [CA Clarity][SQLServer JDBC Driver][SQLServer]Transaction (Process ID <XX>) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
ERROR 2022-09-20 02:20:46,286 [Dispatch Time Slicing (tenant=clarity)] niku.njs (clarity:admin:22825688__62818%Session%) Database error for job 5278930
com.niku.union.persistence.PersistenceDeadlockException:
SQL error code: 0
Error message: ERROR: deadlock detected
Caused by: org.postgresql.util.PSQLException: ERROR: deadlock detected
Detail: Process XXXXXX waits for ShareLock on transaction XXXXXX; blocked by process XXXX.
Release : All supported Clarity releases, all database vendors (SQL Server (MSSQL), PostgreSQL, Oracle)