![]() |
MySQL 26.10.0
Source Code Documentation
|
Recovery State. More...
#include <health_monitor_disk.h>
Public Member Functions | |
| Recovery_State ()=default | |
| void | reset () |
| void | hard_reset () |
| bool | enabled () const |
| void | set_enabled (bool value) |
| int | level_pct () const |
| void | set_level_pct (int value) |
| int | time_1 () const |
| void | set_time_1 (int value) |
| int | time_2 () const |
| void | set_time_2 (int value) |
| int | max_cycles () const |
| void | set_max_cycles (int value) |
| int | increment () const |
| void | set_increment (int value) |
| uint64_t | window () const |
| void | set_window (uint64_t value) |
| uint64_t | level_mb () const |
| void | set_level_mb (uint64_t value) |
| int | count () const |
| int & | count () |
| void | set_count (int value) |
| bool | in_progress () const |
| void | set_in_progress (bool value) |
| bool | ineligible_warning () const |
| void | set_ineligible_warning (bool value) |
| bool | offline_warning () const |
| void | set_offline_warning (bool value) |
| bool | cycle_warning () const |
| void | set_cycle_warning (bool value) |
| time_t | expiration () const |
| void | set_expiration (time_t value) |
Public Attributes | |
| int | m_count {0} |
Private Attributes | |
| bool | m_enabled {false} |
| int | m_level_pct {0} |
| int | m_time_1 {0} |
| int | m_time_2 {0} |
| int | m_max_cycles {0} |
| int | m_increment {0} |
| uint64_t | m_window {0} |
| uint64_t | m_level_mb {0} |
| bool | m_in_progress {false} |
| bool | m_ineligible_warning {false} |
| bool | m_offline_warning {false} |
| bool | m_cycle_warning {false} |
| time_t | m_expiration {0} |
Recovery State.
"Recovery" is the process of unfencing the server and restoring normal operating mode by setting SUPER_READ_ONLY = OFF and OFFLINE_MODE = OFF. The recovery process is triggered when storage levels rise above the configured recovery level after the server has been fenced.
The Recovery_State class manages the state of the recovery process, such as tracking the recovery timers and the number of recovery cycles.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int hm::Recovery_State::m_count {0} |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |