[2.3, trunk] MAAS power types should be cached by the regiond and not asked all the time

Bug #1748570 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse

Bug Description

The regiond should cache the power types that a rack controller has instead of always asking it over and over again.

At the moment the regiond asks the rackd what its power types anytime it needs that information. That information is unlikely to change unless the rackd is reset.

The regiond should cache this information linked to each rackd connection, and once that connection is dropped to clear that information. This will ensure that data is always up to date, will require no database work, and can be backported to 2.3.

Tags: performance

Related branches

Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 2.4.x → 2.4.0alpha2
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.