27 #ifndef Hypertable_RangeServer_LogReplayBarrier_h
28 #define Hypertable_RangeServer_LogReplayBarrier_h
35 #include <condition_variable>
177 #endif // Hypertable_RangeServer_LogReplayBarrier_h
bool wait_for_root(ClockT::time_point deadline)
Waits for ROOT commit log replay to complete.
bool m_user_complete
Flag indicating if USER commit log replay is complete.
std::condition_variable m_root_complete_cond
Condition variable used to signal ROOT commit log replay complete.
chrono::time_point< fast_clock > time_point
Declarations for TableIdentifier and TableIdentifierManaged.
void set_root_complete()
Signals ROOT commit log replay has been completed.
void set_user_complete()
Signals USER commit log replay has been completed.
bool m_metadata_complete
Flag indicating if METADATA commit log replay is complete.
bool wait_for_user(ClockT::time_point deadline)
Waits for USER commit log replay to complete.
std::condition_variable m_system_complete_cond
Condition variable used to signal SYSTEM commit log replay complete.
std::mutex m_mutex
Mutex to serialize concurrent access.
std::shared_ptr< LogReplayBarrier > LogReplayBarrierPtr
Smart pointer to LogReplayBarrier.
Declarations for RangeSpec and RangeSpecManaged.
bool wait_for_system(ClockT::time_point deadline)
Waits for SYSTEM commit log replay to complete.
void set_system_complete()
Signals SYSTEM commit log replay has been completed.
bool m_root_complete
Flag indicating if ROOT commit log replay is complete.
std::condition_variable m_metadata_complete_cond
Condition variable used to signal METADATA commit log replay complete.
void set_metadata_complete()
Signals METADATA commit log replay has been completed.
Blocks requests until specific commit log has finished replaying.
bool m_system_complete
Flag indicating if SYSTEM commit log replay is complete.
bool user_complete()
Checks if replay of USER commit log is complete.
bool wait(ClockT::time_point deadline, const TableIdentifier &table, const RangeSpec &range)
Waits for commit log replay to complete for range class defined by a given range. ...
std::condition_variable m_user_complete_cond
Condition variable used to signal USER commit log replay complete.
bool wait_for_metadata(ClockT::time_point deadline)
Waits for METADATA commit log replay to complete.