~therve/pyjuju/subordinates-relation-check

Viewing all changes in revision 615.

  • Committer: Kapil Thangavelu
  • Author(s): Kapil Thangavelu
  • Date: 2013-02-14 23:06:05 UTC
  • mfrom: (614.1.5 peers-from-hurd)
  • Revision ID: kapil.foss@gmail.com-20130214230605-q7pedvxiobiws2z6
Unit process multiple relations in defined order.

Previously when unit agents were being notified of multiple relations, typicaly 
at startup, they would process them in essentially random order. This would 
complicate things for applications that would have peer relations as well, for 
ha or replication, as they couldn't tell if they were being run standalone or
in a cluster/quorum. Instead when a unit has multiple relations, we process
peer relations first followed by client/server relations.

R=bcsaller
CC=
https://codereview.appspot.com/7341044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: