protected function _fixedSwitchLogic()
 {
     if ($this->_synchronization->isMaster() && $this->_synchronization->isMasterMainRole() && $this->_synchronizationRSM->isSlave()) {
         //and that's ok
     }
     if ($this->_synchronization->isMaster() && $this->_synchronization->isSlaveMainRole() && $this->_synchronizationRSM->isMaster()) {
         $this->_synchronization->setInSlave();
     }
     if ($this->_synchronization->isSlave() && $this->_synchronization->isSlaveMainRole() && $this->_synchronizationRSM->isMaster()) {
         //and that's ok
     }
     if ($this->_synchronization->isSlave() && $this->_synchronization->isMasterMainRole() && $this->_synchronizationRSM->isSlave()) {
         $this->_synchronization->setInMaster();
     }
 }