-
I suppose that "deadlock" was most likely caused by
TigPubSubRemoveServicewhich concurrently tried to acquire the lock on items and then on jids while inserting procedure was creating a lock on jids and then on items table. I've adjusted order of locks that should fix this issue.Additionally, I've replaced functions
ensureJidandensureServiceJidwith stored procedures to make them more compliant with MySQL binlog.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Version |
tigase-server-8.2.0
|
Issue Votes (0)
Watchers (0)
With MySQL, we are experiencing deadlocks. As it was discussed in relation to #servers-350, most likely this is a result of "non deterministic" functions marked as deterministic and possible order of execution when user is being removed in
TigPubSubRemoveServicestored procedure.