lp:~niemeyer/gozk/watches-die-on-reconnection

Created by Gustavo Niemeyer and last modified
Get this branch:
bzr branch lp:~niemeyer/gozk/watches-die-on-reconnection
Only Gustavo Niemeyer can upload to this branch. If you are Gustavo Niemeyer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gustavo Niemeyer
Project:
gozk
Status:
Merged

Recent revisions

35. By Gustavo Niemeyer

Any session event on a watcher now fires and closes the watch.

Also test that closing the connection closes the watch.

34. By Gustavo Niemeyer

Fixed example which was completely broken.

33. By Roger Peppe

zookeeper: make error messages more informative.

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

32. By Roger Peppe

zookeeper: allow CreateServer to work in an existing directory.

It only succeeds if the directory is empty, for instance
when it's created by ioutil.TempDir.

Also add Server.Addr method and change the NotRunning
error to ErrNotRunning.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/5787068

31. By Roger Peppe

zookeeper: make Conn.Close safe to call concurrently with other operations.

I am concerned at how complex the test for this is,
relative to the simplicity of the actual code change.
(and it's also potentially fragile on a heavily loaded machine).
That said, I can't think of another way to test the
operations directly, so I'm leaving it in.
Better suggestions welcome.

R=niemeyer, fwereade
CC=
https://codereview.appspot.com/5699093

30. By Gustavo Niemeyer

Fix after latest changes in Go's tip.

R=rog
CC=
https://codereview.appspot.com/5684066

29. By Gustavo Niemeyer

Fix Exists.

R=fwereade
CC=
https://codereview.appspot.com/5673057

28. By Gustavo Niemeyer

Use int32 rather than int for stat fields.

R=fwereade, TheMue, rog
CC=
https://codereview.appspot.com/5675059

27. By Gustavo Niemeyer

Fix support for weekly Go release.

R=TheMue
CC=
https://codereview.appspot.com/5656063

26. By Roger Peppe

Add some comments to Event and Stat types.

Also change Stat.CTime and Stat.MTime to return time.Time.

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

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~juju/gozk/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers