Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-41003

Loading pages with SQL macro are slower than normal and timeout more frequently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 5.9.7
    • 5.9.5, 6.0.0-m22, 5.9.6
    • None

    Description

      Bob Swift's SQL Macro is loading slowly and timing out. This is due to the rendering order of macros - in the past, nested macros would render after their parent macros. In 5.9.5 however this appears to have changed, and the inner macros are rendered first. This is negating the benefits of using the Cache, Future and Run macros to wrap slow SQL macros.

      Input:

      Future -> Cache -> SQL

      New rendering flow:

      SQL -> Cache -> SQL -> Future -> Cache -> SQL

      Old rendering flow:

      Future -> Cache -> SQL

      Attachments

        Issue Links

          Activity

            People

              rading Ran
              rbattaglin Renan Battaglin
              Votes:
              4 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: