RSS Feed/News Marking thread as read doesn't use ALLOW_DEADLOCK_RERUN

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
32,511
Points
823

Reputation:

The Forum repository wraps the insert query to xf_forum_read in a executeTransaction block with AbstractAdapter::ALLOW_DEADLOCK_RERUN, but the equivalent Thread repository function markThreadReadByUser doesn't. Wondering if there's a reason for this, and if it could be explored that both do it, as we're seeing some deadlock errors on a very active forum and not sure if this may fix it.

Continue reading...
 
Status
Not open for further replies.
Top