• seppo's avatar
    LOCK_thread_count and COND_thread_count removed from wsrep modules (#1197) · 785092ee
    seppo authored
    Refactored wsrep patch to not use LOCK_thread_count and COND_thread_count anymore.
    This has partially been replaced by using old LOCK_wsrep_slave_threads mutex.
    For slave thread count change waiting, new COND_wsrep_slave_threads signal has been added
    
    Added LOCK_wsrep_cluster_config mutex to control that cluster address change cannot happen in parallel
    
    Protected wsrep_slave_threads variable changes with LOCK_cluster_config mutex
    This is for avoiding concurrent slave thread count and cluster joining operations to happen
    
    Fixes according to Teemu's review
    785092ee
wsrep_schema.cc 40.2 KB