Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18683 Smart group refresh locks issue on 4.7.8rc
  3. CRM-18695

Don't break roll back when clearing caches if smartgroup timeout is 0

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.17, 4.7.8
    • Fix Version/s: 4.6.21, 4.7.11
    • Component/s: None
    • Documentation Required?:
      None
    • Sprint:
      4.7.10 Performance, UK Sprint
    • Funding Source:
      Contributed Code

      Description

      Currently if smartgroupcache time out is 0 then CiviCRM performs a TRUNCATE. Since 4.6 CiviMail has relied on transactions to do rollbacks and truncate breaks these. This means that setting smart group cache timeout to 0 causes CiviMails to go out when during the editing phase.

      Note that on sites with many groups the smart group cache seems to detract from performance so it's important to be able to turn it off.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: