LJ::use_diff_db
LJ::use_diff_db — given two DB roles, returns true only if it is certain the two roles are served by different database servers.
Info
This is useful for, say, the moveusercluster script: You would not want to select something from one DB, copy it into another, and then delete it from the source if they were both the same machine.