Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
infoschema: refactor GetClusterServerInfo to avoid executing internal SQL #13765
Signed-off-by: Lonng email@example.com
What problem does this PR solve?
In the current implementation, we must to execute
What is changed and how it works?
This PR refactor this part and extras an individual function to obtains cluster topology and make other functions work more easily.
@@ Coverage Diff @@ ## master #13765 +/- ## =========================================== Coverage 80.0626% 80.0626% =========================================== Files 474 474 Lines 117107 117107 =========================================== Hits 93759 93759 Misses 15964 15964 Partials 7384 7384