Closed sunshine-Chun closed 1 year ago
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
@sunshine-Chun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@sunshine-Chun has updated the pull request. You must reimport the pull request before landing.
Summary: When rebuilding a db, mysqld fails because it can not find rocksdb_datadir in move_wals_to_target_dir(). rocksdb_datadir has not been created at the time, but move_wals_to_target_dir() assumes it has.
Add a check about rocksdb_datadir, if it doesn't exist, create the path.
The reason why we never hit this before is, when we test the clone, the db has already been built and the rocksdb_datadir has been created.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: