Skip to content

Rebuilding index doesn't update the indexes of front end servers in a load balanced environment #8060

@jaandrews

Description

@jaandrews

When I rebuild the index via the examine management tab in a load balanced environment on azure, the front end indexes are not updated. I confirmed that they are updated when publishing a node, so I doubt this is a configuration issue.

Umbraco version

I am seeing this issue on Umbraco version: 8.2.2

Reproduction

Bug summary

In a load balanced environment, the indexes on the front end servers are not updated when I rebuild the index via the examine management section in the umbraco backoffice on the admin environment.

Specifics

I have a load environment with 1 admin server and 2 front end server. I've configured the following in the web config.

  • Umbraco.Core.LocalTempStorage = EnvironmentTemp
  • Umbraco.Examine.LuceneDirectoryFactory = Examine.LuceneEngine.Directories.SyncTempEnvDirectoryFactory, Examine
    Note that when I publish a node, the index updates properly on the front end servers. It only fails to update when doing the bulk rebuild in the examine management section. I am able to work around this issue by deleting the indexes on the front end server to force them to regenerate.

Steps to reproduce

I identified this issue by doing the following.

  1. Rebuilt index with examine manager in admin environment.
  2. Checked search results page on admin server.
  3. Checked search results on front end server.
  4. Confirmed that the results are different.

Expected result

The same search results on the front end servers as the admin server.

Actual result

I received different search results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions