Search Results and Recently Updated Macro Are Inconsistent across Confluence Cluster Nodes
This article applies to Confluence clustered 5.4 or earlier.
The Confluence index is inconsistent between each cluster. Symptoms include:
- Performing site search in a cluster comes back with different result on each cluster.
- The recently updated macro shows different content in each cluster node.
The index is inconsistent between the nodes.
Confirm that the issue is caused due to indexing and that the cache between the cluster nodes is not the cause. To do this, navigate to
http://<Confluence_URL>/admin/indexbrowser.jsp on the cluster and confirm that Confluence indexes are inconsistent between nodes.
Reindexing the cluster will fix the issue.
There are two approaches to fixing this issue.
- Shut down the load balancer and disable access to Confluence nodes.
- Re-index each Confluence node separately.
- Ensure that indexes are consistent, by visiting http://<Confluence_URL>/admin/indexbrowser.jsp on each Confluence node.
- Shut down the load balancer and all Confluence nodes.
- Start-up the primary Confluence node and perform a re-index.
- Once re-index is completed, shutdown the Confluence installation.
- Copy over the contents of <Confluence-Home>/index directory from the primary Confluence node in step(3) above to all other Confluence installs. Thus overriding the contents of <Confluence-Home>/index directory across all Confluence nodes.
- Restart the cluster and ensure that indexes are consistent, by visiting http://<Confluence_URL>/admin/indexbrowser.jsp