Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-25188

Identify the health state of Confluence ancestor CONFANCESTORS table and rebuild it automatically

XMLWordPrintable

    • 1
    • 25
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      There are times that Confluence ancestor CONFANCESTORS table gets out of sync which could cause some bizarre issues.

      Currently, the only way to identify this is to wait until a user hit into the above issues or any unknown upcoming issue. This is very hard to catch. And currently, one would need to rebuild it manually.

      It'd be nice if the health state of CONFANCESTORS table can be identified from an accessible page in admin console or perhaps in the System Information (would be a huge win for Support).

      It'd be even nicer if Confluence would automatically rebuild the ancestor table once it's detected to be out of sync or corrupted.

      Workaround

      Quoting from this KB - Unable to Move Pages with Attachments. This can be checked manually by running this SQL query:

      SELECT A.ANCESTORID, A.DESCENDENTID, COUNT(A.DESCENDENTID)
      FROM CONFANCESTORS A, CONTENT B
      WHERE B.CONTENTID = A.DESCENDENTID
      GROUP BY A.ANCESTORID, A.DESCENDENTID
      ORDER BY 3 DESC
      

      All returned rows should have value '1' for the column 'count'. If there is a value other than '1' (e.g. '2', '3', etc.), the CONFANCESTORS table is broken.

              Unassigned Unassigned
              halatas HuseinA
              Votes:
              30 Vote for this issue
              Watchers:
              37 Start watching this issue

                Created:
                Updated: