return err when the doozerd not is not writable
Merge branch 'master' of github.com:xiangli-cmu/etcd-client