Hi, Sergey! On Oct 12, Sergey Vojtovich wrote:
revision-id: 96e982bb1a72db47a41b97bb632b595b347d2956 (mariadb-5.5.57-14-g96e982b) parent(s): 93aadda513d8b5c2b49001514e235c4fdd73e08a committer: Sergey Vojtovich timestamp: 2017-10-12 14:42:17 +0400 message:
MDEV-7140 - Sporadic buildbot failures in rpl.rpl_semi_sync_uninstall_plugin
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.
ok to push Regards, Sergei Chief Architect MariaDB and security@mariadb.org