• Andrei's avatar
    MDEV-32365 detailize the semisync replication magic number error · 9c433432
    Andrei authored
    Semisync ack (master side) receiver thread is made to report
    details of faced errors.
    In case of 'magic byte' error, a hexdump of the received packet
    is always (level) NOTEd into the error log.
    In other cases an exact server level error is print out
    as a warning (as it may not be critical) under log_warnings > 2.
    
    An MTR test added for the magic byte error. For others existing mtr
    tests cover that, provided log_warnings > 2 is set.
    9c433432
semisync_master.cc 40.7 KB