Graylog2 / Graylog2/graylog2-server

Improve error handling for Lookup Table Cache purging

Open
#10,622 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

As continuation of https://github.com/Graylog2/graylog2-server/pull/10605 we could improve error handling on the FE side.

## Expected Behavior
The error message is expected to be enriched with details about nodes which failed to purge the cache and maybe with some further hints (e.g. regarding node availability)

## Current Behavior
![image](https://user-images.githubusercontent.com/26978790/117988833-0ea47280-b33c-11eb-85fe-78eafe3ddf9d.png)

## Steps to Reproduce (for bugs)

1. Locally: make the node endpoint (`LookupTableResource#performPurge`) unreachable, for instance by changing its path.
2. Set up a new Lookup Table
3. Try purging its cache

## Context
Original request: https://github.com/Graylog2/graylog2-server/issues/9554

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.