New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard / widget in load balanced setup #2732

Closed
jalogisch opened this Issue Aug 23, 2016 · 0 comments

Comments

Projects
None yet
4 participants
@jalogisch
Member

jalogisch commented Aug 23, 2016

Expected Behavior

If you run a widget on a dashboard and change the search relative time this should be propagated to all nodes.

Current Behavior

The search relative time is not set on all nodes instant. This leads to flipping widgets for different users that are not usable.

Possible Solution

Propagate the changed relative time via cluster event to all nodes in the cluster.

Steps to Reproduce

  1. Loadbalanced Graylog (two nodes behind a load balancer)
  2. Create a Dashboard Widget
  3. Load the Widget Configuration and change time relative time

Context

Having a Load balanced Environment of Graylog Nodes to shift the load of the Web Interface. No sticky connection let the people "jump" between the configured nodes. But every request is then served with the new (changed) relative time or the old that is not propagated to all nodes instant.

Your Environment

  • Graylog Version: 2.X

@dennisoelkers dennisoelkers self-assigned this Aug 24, 2016

dennisoelkers added a commit that referenced this issue Aug 25, 2016

Invalidating widget result cache cluster wide when a widget changes.
Before this, a change to a widget done on one node was not reflected
correctly on other nodes, due to the widget being cached in the
WidgetResultsCache.

This change now creates and tracks widget update events cluster-wide and
invalidates the local caches accordingly.

Fixes #2732.

@joschi joschi added this to the 2.1.0 milestone Aug 29, 2016

@joschi joschi added bug S2 P3 labels Aug 29, 2016

@joschi joschi closed this in #2745 Aug 29, 2016

joschi added a commit that referenced this issue Aug 29, 2016

Invalidate widget result cache cluster-wide when a widget changes (#2745
)

Before this, a change to a widget done on one node was not reflected
correctly on other nodes, due to the widget being cached in the
WidgetResultsCache.

This change now creates and tracks widget update events cluster-wide and
invalidates the local caches accordingly.

Fixes #2732

@kroepke kroepke added the triaged label Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment