• Daniel Black's avatar
    MDEV-10272: add master host/port info to slave thread exit messages · 29d9897f
    Daniel Black authored
    Sample log error message generated:
    
    2021-01-21  2:33:24 139912137520896 [Note] Slave SQL thread exiting, replication stopped in log 'master-bin.000001' at position 369
    33:24 139912137520896 [Note] master was 127.0.0.1:16400
    2021-01-21  2:33:24 139912137828096 [Note] Slave I/O thread exiting, read up to log 'master-bin.000001', position 369
    2021-01-21  2:33:24 139912137828096 [Note] master was 127.0.0.1:16400
    
    Based on work by Hartmut Holzgraefe.
    
    Reviewer: knielsen@knielsen-hq.org, Andrei, Sachin
    29d9897f
slave.cc 264 KB