Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add periodic check for elasticsearch indices. #1255

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

npomaroli
Copy link
Member

Abstract

When Mesh stores a document into an elasticsearch index, which does not exist (because it was dropped), the index will be generated automatically be elasticsearch with the default mappings. This can cause subsequent problems when searching.

A periodic check has been added, which compares the current mappings of all Mesh-related indices with the expected mappings and will drop, re-create and sync indices, if required.

Checklist

General

  • Added abstract that describes the change
  • Added changelog entry to /CHANGELOG.adoc
  • Ensured that the change is covered by tests
  • Ensured that the change is documented in the docs

On API Changes

  • Checked if the changes are breaking or not
  • Added GraphQL API if applicable
  • Added Elasticsearch mapping if applicable

@udovidio udovidio linked an issue Oct 18, 2021 that may be closed by this pull request
Add option to restrict index maintenance actions to specific indices
Let index maintenance actions run on the master, if cluster coordinator
is used
@npomaroli npomaroli force-pushed the hotfix-1.6.x-sup-12075 branch from d66f85f to 042b2cd Compare October 19, 2021 08:32
@plyhun plyhun self-requested a review October 19, 2021 10:19
@plyhun plyhun merged commit 701d8d9 into hotfix-1.6.x Oct 19, 2021
@plyhun plyhun deleted the hotfix-1.6.x-sup-12075 branch October 19, 2021 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clustered Mesh Search Status
2 participants