Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the issue that tiflash's data is not clean up (#768)
We use ServicePort in DestroyClusterTombstone to construct id and filter by id, but the id of instances of cluster is contract using Port(TCPPort for tiflash), so it will not get the instance and clean it's data in DestroyClusterTombstone. Note the GetMainPort() is TCPPort now, change the code to both using GetMainPort() to avoid inconsistent.
- Loading branch information