• Sergei Golubchik's avatar
    perfschema: LOCK_all_status_vars not LOCK_status · 07a0173f
    Sergei Golubchik authored
    to iterate over all status variables one should use
    LOCK_all_status_vars not LOCK_status
    
    this fixes sporadic mutex lock inversion in plugins.password_reuse_check:
    * acl_cache->lock is taken over complex operations that might increment
      status counters (under LOCK_status).
    * acl_cache->lock is needed to get the values of Acl% status variables
      when iterating over status variables
    07a0173f
pfs_visitor.cc 40.4 KB