elastic / elastic/logstash

Reloading a pipeline can hang indefinitely if reloaded configuration has a syntax error.

Open
#7,718 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

When running with the ```-r``` flag, and a pipeline is reloaded with a syntax error, the instance of Logstash may never recover.

To reproduce start Logstash with a valid configuration and the ```-r``` option, then break the config by removing a required bracket. The pipeline will attempt to reload and fail (expected). Fix the configuration, the pipeline will not reload the valid configuration (not expected).

Reloading errors of the grammar seems works fine, just syntax error seem to have issues recovering properly.

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.