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

Corrupted faster permission tables could cause inaccurate results.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 8.5.23, 9.2.5
    • Content - Restrictions
    • None

      Issue Summary

      Confluence's default permission checking method is very efficient when checking permissions for a single page, and guarantees strong permission consistency. However, this method can be quite slow and memory intensive when Confluence needs to check many thousands of pages.

      The faster permissions service solves this by replicates permissions information in a database structure that can be queried more efficiently. It uses database triggers to register changes to pages, spaces and their permissions, and records these in a change log. These change logs are processed regularly, and keep the fast permissions database tables up to date.

      If these database tables become corrupted, page searches and macros, such as the children macros, may display inaccurate information.

      Steps to Reproduce

      For still unknown reasons, in some rare occasions, the Faster Permissions table can become corrupted.

      Expected Results

      Macros and features that use the "faster permissions" should display correct information

      Actual Results

      Page searches and macros, such as the children macros, display inaccurate information.

      Workaround

      The process to diagnose the issue and the workaround is described in detail in this article.

       Before applying the workaround, make sure you have a healthy ancestor table. Diagnostic query here.

              Unassigned Unassigned
              f7fe77b3bc24 Filipe Rodrigues
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: