Skip to content

elasticsearch-init check on existing index before reindex #321

Closed
klml wants to merge 1 commit intozammad:mainfrom
it-at-m:elasticsearch-init-reindex-check-split
Closed

elasticsearch-init check on existing index before reindex #321
klml wants to merge 1 commit intozammad:mainfrom
it-at-m:elasticsearch-init-reindex-check-split

Conversation

@klml
Copy link
Contributor

@klml klml commented Feb 12, 2025

What this PR does / why we need it

The initcontainer elasticsearch-init only executes an ElasticSearch reindex if the index Ticket does not exist. The ElasticSearch reindex can also be forced with the new parameter zammadConfig.elasticsearch.forceReinit. The parameter zammadConfig.elasticsearch.reindex has therefore been removed.

Which issue this PR fixes

Special notes for your reviewer

I had to expand bundle exec rake zammad:searchindex:rebuild into rails r to get access on SearchIndexBackend.

Checklist

  • Chart Version bumped
  • Upgrading instructions are documented in the zammad/README.md

@klml klml marked this pull request as draft February 12, 2025 07:26
@mgruner
Copy link
Collaborator

mgruner commented Mar 19, 2025

Superseded by #323. Thanks a lot for the proposal!

@mgruner mgruner closed this Mar 19, 2025
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.

elasticsearch.reindex rollout default?

2 participants