Graylog2 / Graylog2/graylog2-server

DataNode: Merge provisioning periodicals state and steps with the process state machine

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

Description

Merge the steps/state of the Certificate Provisioning periodicals into the OpenSearchProcess state machine so that we have only one place to add/change behaviour.

Currently provisioning is not part of the data node's state and handled in a separate flow
![Image](https://github.com/Graylog2/graylog2-server/assets/33032967/20c003bd-2adc-4b0e-9332-a9a057278462)

![Image](https://github.com/Graylog2/graylog2-server/assets/33032967/e190e99d-fa2b-4b16-b5a1-698e40ea6059)

This leads to unnecessary and error-prone checks when trying to determine the exact status of data nodes. Additionally, the logic for transitioning is outside of the state machine's actions.

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.