Skip to content
  • Joao Gramacho's avatar
    f7647331
    BUG#20593028 MORE CONCURRENCY IN SHOW SLAVE STATUS: MAKE · f7647331
    Joao Gramacho authored
                 LOCK_MSR_MAP AN RWLOCK
    
    This patch changed some channel_map->wrlock() by ->rdlock() when possible
    to allow better concurrency on replication administration commands.
    
    The benefit of the change is that it will be possible to have concurrent
    STOP SLAVE for distinct channels, and also it will be possible to check
    the slave status with SHOW SLAVE STATUS while having a pending STOP
    SLAVE.
    f7647331
    BUG#20593028 MORE CONCURRENCY IN SHOW SLAVE STATUS: MAKE
    Joao Gramacho authored
                 LOCK_MSR_MAP AN RWLOCK
    
    This patch changed some channel_map->wrlock() by ->rdlock() when possible
    to allow better concurrency on replication administration commands.
    
    The benefit of the change is that it will be possible to have concurrent
    STOP SLAVE for distinct channels, and also it will be possible to check
    the slave status with SHOW SLAVE STATUS while having a pending STOP
    SLAVE.
Loading