18 #ifndef FOEDUS_SNAPSHOT_LOG_GLEANER_IMPL_HPP_
19 #define FOEDUS_SNAPSHOT_LOG_GLEANER_IMPL_HPP_
121 return new_root_page_pointers_;
134 std::map<storage::StorageId, storage::SnapshotPagePointer> new_root_page_pointers_;
166 #endif // FOEDUS_SNAPSHOT_LOG_GLEANER_IMPL_HPP_
Definitions of IDs in this package and a few related constant values.
Forward declarations of classes in log manager package.
uint32_t StorageId
Unique ID for storage.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
A log-gleaner, which constructs a new set of snapshot files during snapshotting.
Forward declarations of classes in root package.
Local resource for the log gleaner, which runs only in the master node.
Brings error stacktrace information as return value of functions.
Forward declarations of classes in snapshot manager package.
Typedefs of ID types used in log package.
Forward declarations of classes in storage package.
Database engine object that holds all resources and provides APIs.
std::string to_string() const
Represents one snapshot that converts all logs from base epoch to valid_until epoch into snapshot fil...
LogGleaner & operator=(const LogGleaner &other)=delete
ErrorStack execute()
Main routine of log gleaner.
A remote view of LogGleaner from all engines.
Forward declarations of classes in thread package.
const std::map< storage::StorageId, storage::SnapshotPagePointer > & get_new_root_page_pointers() const
Returns pointers to new root pages constructed at the end of gleaning.
friend std::ostream & operator<<(std::ostream &o, const LogGleaner &v)