Schedules range server maintenance.
More...
#include <MaintenanceScheduler.h>
Schedules range server maintenance.
Definition at line 47 of file MaintenanceScheduler.h.
bool MaintenanceScheduler::debug_signal_file_exists |
( |
std::chrono::steady_clock::time_point |
now | ) |
|
|
private |
Checks to see if scheduler debug signal file exists.
- Returns
- true if scheduler debug signal file exists, false otherwise.
Definition at line 505 of file MaintenanceScheduler.cc.
int MaintenanceScheduler::get_level |
( |
RangeData & |
rd | ) |
|
|
private |
bool Hypertable::MaintenanceScheduler::low_memory_mode |
( |
| ) |
|
|
inlineprivate |
Checks if low memory maintenance prioritization is enabled.
- Returns
- true if in low memory mode, false otherwise
Definition at line 84 of file MaintenanceScheduler.h.
void MaintenanceScheduler::schedule |
( |
| ) |
|
Schedules maintenance.
Update current time to compute "low activity" window
Purge commit log fragments
Definition at line 111 of file MaintenanceScheduler.cc.
void Hypertable::MaintenanceScheduler::set_low_memory_mode |
( |
bool |
on | ) |
|
|
inline |
void MaintenanceScheduler::write_debug_output |
( |
std::chrono::steady_clock::time_point |
now, |
|
|
Ranges & |
ranges, |
|
|
const String & |
header_str |
|
) |
| |
|
private |
Writes debugging output and removes signal file.
- Parameters
-
now | Current time |
ranges | Set of ranges for which to output scheduler debugging informantion |
header_str | Beginning content written to debugging output |
Definition at line 514 of file MaintenanceScheduler.cc.
int32_t Hypertable::MaintenanceScheduler::m_initialization_per_interval |
|
private |
bool Hypertable::MaintenanceScheduler::m_initialized {} |
|
private |
std::chrono::steady_clock::time_point Hypertable::MaintenanceScheduler::m_last_check |
|
private |
std::chrono::steady_clock::time_point Hypertable::MaintenanceScheduler::m_last_low_memory |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_low_memory_limit_percentage |
|
private |
bool Hypertable::MaintenanceScheduler::m_low_memory_mode {} |
|
private |
bool Hypertable::MaintenanceScheduler::m_low_memory_prioritization |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_maintenance_interval |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_maintenance_queue_worker_count |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_merges_per_interval |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_merging_delay |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_move_compactions_per_interval |
|
private |
std::mutex Hypertable::MaintenanceScheduler::m_mutex |
|
private |
int64_t Hypertable::MaintenanceScheduler::m_query_cache_memory |
|
private |
int32_t Hypertable::MaintenanceScheduler::m_start_offset {} |
|
private |
std::set<std::string> Hypertable::MaintenanceScheduler::m_table_blacklist |
|
private |
The documentation for this class was generated from the following files: