~fwereade/juju-core/uniter-filter-watches

Viewing all changes in revision 572.

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-09-25 23:11:29 UTC
  • mfrom: (561.1.9 juju-core)
  • Revision ID: fwereade@gmail.com-20120925231129-9hkgf5qtpgzegueu
state: drop RelationUnit.Pinger; consequences

This branch comprises:

* Complete removal of RelationUnit.Pinger;
* A pleasingly simple RelationUnitsWatcher et al;
* A lot of s/int/int64/ to allow for mgo/txn revnos rather than ZK versions;
* A large ugly addition to relation_test.go, ported directly from the
  original RUW tests with presence usage excised;
* Minimal changes to Relationer, using EnterScope/LeaveScope only;
* Minimal changes to tests in uniter to accommodate new Relationer;
* Extra changes in uniter_test.go to get a couple of Uniter tests passing.

R=niemeyer
CC=
https://codereview.appspot.com/6567044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: