etcdserver: simplify logic flow