Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: log error but not crash if found an imcomplete replica path (#1428)
#1383 The replica instance path will be removed to trash path, a.k.a `<table_id>.<pid>.<timestamp>.err`, but it may not complete when a replica server crash, then the path is left but some files (e.g. `.init-info`) in the path have been moved. When restart the server after that, server will crash because of a check on existence of the files, which is not necessary, the server is able to trash the corrupt path and start normally, the missing replica can be recovered from other servers automatically. This patch removes the check.
- Loading branch information