Opened 2 years ago

Closed 2 years ago

#2783 closed Bug (fixed)

Piwik load balancer stale cache causes UI bug

Reported by: matt Owned by:
Priority: normal Milestone: 1.7 Piwik 1.7
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no


If Piwik is load balanced between 2 servers, and administrative calls are done on serverA and serverB hosts the UI. When serverA has modifications to Goals or websites, causing tmp/cache/tracker/ to be deleted and rebuilt, this is not done in serverB until the next cache expire.

Therefore the Piwik UI must never rely on the tracker cache. It makes sense but for "performance" reasons it was done. Now, we will have extra SQL requests on a few requests to the UI, but shouldn't impact much.

Change History (1)

comment:1 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5440]) Fixes #2783

Note: See TracTickets for help on using tickets.