Merge "Check the existence of raft dir." into nyc-mr1-dev