MXS-3149 Properly remove master-status from server during demotion

Removing it from the pending status field has not effect as the
pending changes have all ready been written to real status.
This commit is contained in:
Esa Korhonen
2020-09-02 12:25:16 +03:00
parent c6c664b365
commit 9304230212
2 changed files with 2 additions and 3 deletions

View File

@ -514,8 +514,6 @@ void MariaDBMonitor::tick()
}
log_master_changes();
flush_server_status();
process_state_changes();
hangup_failed_servers();
store_server_journal(m_master ? m_master->m_server_base : nullptr);