forked from civicrm/civicrm-core
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRM-20722: 'Lock wait timeout exceeded' error triggered on smart grou…
…p cache rebuild This patch is merged upstream & I am submitting it & civicrm#10943 to our codebase. Doing this a) syncs us with upstream in the area we are working on b) adds some code consolidation making it easier for us to tinker with the impact of cache tables. Note that this change switches from one sql call to many when clearing groups from the group_contact_cache table. I'm thinking this is probably not a problem for us as we have not that many groups (& hopefully we can further reduce them). Also the apparent COMMIT is a bit of a a myth - CRM_Core_Transaction does weird complex transaction nesting stuff... Change-Id: I3d6505b04af1134884f660d71316afb2490221d1
- Loading branch information
1 parent
ca9aed3
commit 2339807
Showing
1 changed file
with
44 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters