Code Fix: Deadlock errors experienced on Eventbus, after K2 Host Server service restart
When you restart the K2 Host Server service, deadlock errors are experienced on Eventbus. But after another restart the deadlock errors are no longer experienced.
The following error occurs in the K2 Host Server log file: “"??","[date time]","Error","EventBus","7498","General","ServerDAL.UpdateLogCustomEventInstanceStatus","7498 An error has occurred: System.Data.SqlClient.SqlException (0xXXXX): Transaction (Process ID [ID]) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.”
- Ensure you have K2 Five (5.1) installed.
- Download the K2 Five (5.1) FP21 from K2 Partner and Customer Portal.
- Install the K2 Five (5.1) FP21 to apply the fix.