alleyinteractive / alleyinteractive/searchpress

Eliminate downtime during flush index operations

Đang mở
#132 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
PHP
Star
85
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.