-
Suggestion
-
Resolution: Fixed
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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.
We've made some changes in 6.5.0 to detect if there is no parent ancestor record for a page. This change will block users from viewing pages with a missing parent ancestor record, and will log a warning for administrators.
The steps to resolve this issue is still to rebuild the ancestors table as described in this KB https://confluence.atlassian.com/x/8qr-Nw
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 DESCAll 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.
- is related to
-
CONFSERVER-34226 Detect loops when going through page tree structure
- Closed
-
CONFSERVER-35040 Page move action causes database deadlock and data corruption
- Closed
-
CONFSERVER-19753 Page.getAncestors() can sometime return duplicates
- Closed
- relates to
-
CONFSERVER-54945 CONFANCESTORS table obtains duplicate record after a page page re-order to space root
- Closed
-
CONFSERVER-25189 Confluence Page View Restriction is not Inherited when Ancestor CONFANCESTORS Table Gets out of Sync
- Closed
-
CONFSERVER-38939 Rebuilding ancestor table is slow and inefficient on large instances
- Closed
-
CONFSERVER-53054 Confluence Questions causes certain functions to be very slow
- Gathering Impact
-
CONFCLOUD-25188 Identify the health state of Confluence ancestor CONFANCESTORS table and rebuild it automatically
- Gathering Interest
-
CONFSERVER-38795 Progress report for rebuilding the ancestor table
- Gathering Interest
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...