18 #ifndef FOEDUS_LOG_LOG_MANAGER_PIMPL_HPP_
19 #define FOEDUS_LOG_LOG_MANAGER_PIMPL_HPP_
124 "LogManagerControlBlock is too large.");
128 #endif // FOEDUS_LOG_LOG_MANAGER_PIMPL_HPP_
soc::SharedPolling durable_global_epoch_advanced_
Fired (broadcast) whenever durable_global_epoch_ is advanced.
std::vector< Logger * > loggers_
Local log writers.
std::atomic< Epoch::EpochInteger > durable_global_epoch_
The durable epoch of the entire engine.
ErrorStack uninitialize_once() override
Forward declarations of classes in log manager package.
void initialize(bool recursive=false)
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Typedefs of ID types used in thread package.
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
The information we maintain in savepoint manager and externalize to a file.
A polling-wait mechanism that can be placed in shared memory and used from multiple processes...
Typical implementation of Initializable as a skeleton base class.
~LogManagerControlBlock()=delete
LogManagerControlBlock * control_block_
Pimpl object of LogManager.
A mutex that can be placed in shared memory and used from multiple processes.
Epoch get_durable_global_epoch() const
MetaLogger * meta_logger_
Metadata log writer.
MetaLogBuffer meta_buffer_
Metadata log buffer.
Shared data in LogManagerPimpl.
Database engine object that holds all resources and provides APIs.
std::vector< LoggerRef > logger_refs_
All log writers.
thread::ThreadGroupId groups_
Epoch get_durable_global_epoch_weak() const
ErrorStack refresh_global_durable_epoch()
Forward declarations of classes in savepoint manager package.
uint16_t loggers_per_node_
ErrorStack initialize_once() override
void copy_logger_states(savepoint::Savepoint *new_savepoint)
soc::SharedMutex durable_global_epoch_savepoint_mutex_
To-be-removed Serializes the thread to take savepoint to advance durable_global_epoch_.
void announce_new_durable_global_epoch(Epoch new_epoch)
LogManagerControlBlock()=delete
ErrorCode wait_until_durable(Epoch commit_epoch, int64_t wait_microseconds)
uint8_t ThreadGroupId
Typedef for an ID of ThreadGroup (NUMA node).
ErrorCode
Enum of error codes defined in error_code.xmacro.