Graylog2 / Graylog2/graylog2-server

Prevent use of Rolling Update if any Index Set has 0 Replica shards

Open
#25,291 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

We offer two methods of updating Data Node - Cluster Restart, and Rolling Upgrade.

Rolling Upgrade only works correctly if all Index Sets have a replica set >0. Any Index lacking replica shards will become unavailable when the Data Node hosting the shards goes offline, which will move Opensearch into Red status and prevent traffic being unloaded into OS (so causing Graylog Journal to grow).

We should prevent the user from starting a Rolling Upgrade when any Index Sets have a replica shard count of 0.

We can allow the user to navigate to the tab, but not to start the upgrade. We should put a red banner on the page explaining why the buttons are grayed out.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.