mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
This commit fixes the issue of creating member dir before validating the configuration. When member dir exists, it indicates the local etcd process is a valid etcd member. So we should only create member dir after we finish configuration validation, joining validation or discovery validation.