Search Results and Recently Updated Macro Are Inconsistent across Confluence Cluster Nodes

Still need help?

The Atlassian Community is here for you.

Ask the community

This article applies to Confluence clustered 5.4 or earlier.

Symptoms

The Confluence index is inconsistent between each cluster. Symptoms include:

  1. Performing site search in a cluster comes back with different result on each cluster.
  2. The recently updated macro shows different content in each cluster node.

Cause

The index is inconsistent between the nodes.

Diagnosis

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.

Workaround

Reindexing the cluster will fix the issue.

Resolution

There are two approaches to fixing this issue.

First solution:

  1. Shut down the load balancer and disable access to Confluence nodes.
  2. Re-index each Confluence node separately.
  3. Ensure that indexes are consistent, by visiting http://<Confluence_URL>/admin/indexbrowser.jsp on each Confluence node.

Second Solution:

  1. Shut down the load balancer and all Confluence nodes.
  2. Start-up the primary Confluence node and perform a re-index.
  3. Once re-index is completed, shutdown the Confluence installation.
  4. 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.
  5. Restart the cluster and ensure that indexes are consistent, by visiting http://<Confluence_URL>/admin/indexbrowser.jsp

Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.