radondb / xenon

The MySQL Cluster Autopilot Management with GTID and Raft
GNU General Public License v3.0
693 stars 162 forks source link

[propose] mv checkuser outof Ping() function #136

Open hustjieke opened 3 years ago

hustjieke commented 3 years ago

Now "check replication users" is in mysql.Ping(). This has nothing to do with the function of Ping().

PIng() {
...
CheckUserExists()
...
}

We should mv it out of Ping() like:

Ping(){
}
CheckUserExists(){
}