Recently upgraded Laserfiche server to 9.1 and had run into several Oracle errors which sounds like they will be addressed in an upcoming release (9.1.1). However it has recently been discovered that an error message "ORA-00060: Deadlock detected" has been occuring on the database server, with the following message pulled from a trace file:
*****
MODULE NAME:(lfs.exe)
[Transaction Deadlock]
The following deadlock is not an ORACLE error. It is a
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL.
user: 80/ED_HR_DBA <this is the repository schema>
----- Information for the OTHER waiting sessions -----
O/S info: user: ADMIN\ITS-EDM-service, term: EC-EDM-LASER
machine: ADMIN\EC-EDM-LASER program: lfs.exe
application name: lfs.exe
current SQL:
update toc set toc_flags = bitand(bitor(toc_flags, 1), bitnot(8192)) where tocid = :tocid1
Information for THIS session:
----- Current SQL Statement for this session (sql_id=08w3a5zbpsagf) -----
UPDATE TOC SET ACL_TOCID = :B2 WHERE TOCID = :B1 OR TOCID IN ( SELECT TOCID FROM TOC START WITH TOCID = :B1 CONNECT BY PARENTID = PRIOR TOCID AND (ACL_TOCID IS NULL OR ACL_TOCID <> TOCID))
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
0000000435C82208 27 procedure ED_HR_DBA.SET_ACL_TOCID
Current Wait Stack:
0: waiting for 'enq: TX - row lock contention'
**********
The second update command (in bold above) is related to version 9.1 functionality as it is updating the new ACL_TOCID column.
I'm not an expert in Oracle, but for those of you in the community who are, what is this error referring to? Users have been complaining of oddities occurring after the upgrade (searches not returning properly, general slowness, SQL command errors) and wondering if the above error has anything to do with the symptoms?
Thanks for any input.