Details
Description
rpl_slave_state::load() is missing locking when calling rpl_slave_state::update().
This can cause crashes when called from the IO thread in get_master_version_and_clock() simultaneously with other updates to the GTID position, and potentially other problems.