-
Committer:
Kapil Thangavelu
-
Author(s):
Kapil Thangavelu
-
Date:
2013-02-01 16:26:22 UTC
-
mfrom:
(611.1.5 sane-relation-ids)
-
Revision ID:
kapil.foss@gmail.com-20130201162622-br2nruouyvl4kl5y
Fix relation-ids cache coherency for hooks.
Relation-ids was answering questions about relations
directly from state, whilst other pieces of relation-*
cli was using a hook execution cache. This led to
odd races where a hook would query relation-ids
and then attempt to use relation-list/etc against
that relation resulting in a relation not found error.
This branch also does a drive by to improve the error
reporting for relation not found to include the relation
id where applicable.
R=bcsaller
CC=
https://codereview.appspot.com/7241062