
If the session starts with no master but later one becomes available, when a transaction is started the code would unconditionally use the master's name in a log message.
If the session starts with no master but later one becomes available, when a transaction is started the code would unconditionally use the master's name in a log message.