alleyinteractive / alleyinteractive/searchpress

Eliminate downtime during flush index operations

Ouverte
#132 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
PHP
Étoiles
85
Forks
10
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Overview:
Running an index operation that flushes data is very disruptive. Since the whole index is deleted and then indexed, unindexed ES data is not available during runtime of the index. This can be quite problematic for sites with larger indexes as well as for sites that may heavily rely on Elastic search.

During flush index operations, if SearchPress could write to an auxiliary index and switch the indexed data after completion, this could allow for a little-to-no-downtime situation for sites.

## Proposed User story:
As a user initiating an index operation that flushes indexed data, I should see the Elastic search functionality experience little to no downtime.

## Proposed MVP:
- [ ] During index operations that flush data, an auxiliary index is written to.
- [ ] When index operations that flush data complete, the old index data is replaced with the auxiliary index data.

#### Nice to haves:
- [ ] An interface to trigger the index swap after a successful reindex.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.