etcdserver: add shouldDiscover