• unknown's avatar
    MDEV-359: Server crash when SET GLOBAL rpl_semi_sync_master_enabled = OFF · 5e13093d
    unknown authored
    The semisync code does a fast-but-unsafe check for enabled or not without lock,
    followed by a slow-but-safe check under lock. However, if the slow check failed,
    the code still referenced not valid data (in an assert() expression), causing a
    crash.
    
    Fixed by not running the incorrect assert when semisync is disabled.
    5e13093d
rpl_mdev359.test 1.23 KB