Relation membership for child relations should be cached before hook execution

Bug #977528 reported by Jim Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
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)
description: updated
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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