percona-toolkit icon indicating copy to clipboard operation
percona-toolkit copied to clipboard

Fix for PT-1799

Open svetasmirnova opened this issue 5 years ago • 1 comments

When slave DSN received from the processlist any non-default port is removed by the _resolve_recursion_methods function. Therefore printing port if slave_user is used makes sense only for the original DSN, specified as an argument to the tool. For all slaves, found by a recursion method, the port is not defined. This pull request checks if the port is defined and prints it only if it is.

svetasmirnova avatar Oct 02 '20 12:10 svetasmirnova

CLA assistant check
All committers have signed the CLA.

it-percona-cla avatar Oct 02 '20 12:10 it-percona-cla