• Sergey Vojtovich's avatar
    MDEV-10892 - rpl.rpl_semi_sync_uninstall_plugin fails with Assertion `0' failure · 8be76a6a
    Sergey Vojtovich authored
                 in buildbot
    
    Removed plugin_array_version: it is being checked without mutex protection and
    thus is prone to data race and race conditions. In effect plugins are not
    protected from concurrent destruction.
    
    Removed state_mask inversion: doesn't seem to make any sense.
    
    When collecting local plugins list, only add plugins that match state_mask.
    
    Use plugin ref counting to protect against concurrent plugin destruction.
    8be76a6a
sql_plugin.cc 117 KB