Relation membership for child relations should be cached before hook execution

Reported by Jim Baker on 2012-04-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Low
Unassigned

Bug Description

When executed, relation hooks compute the membership of the implied
relation as part of the watch used by the unit relation
lifecycle. However, other membership for other relations is computed
upon the first use of the relation-list command, then cached.

This should be changed such that membership is computed for all
relations. Presumably this can be done such that it is point-in-time
consistent by the use of multi-operation support in the ZK client.

Jim Baker (jimbaker) on 2012-04-09
description: updated
Clint Byrum (clint-fewbar) wrote :

This seems like a good idea, though it is python specific

Changed in juju:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers