18 #ifndef FOEDUS_SNAPSHOT_SNAPSHOT_HPP_
19 #define FOEDUS_SNAPSHOT_SNAPSHOT_HPP_
70 #endif // FOEDUS_SNAPSHOT_SNAPSHOT_HPP_
Definitions of IDs in this package and a few related constant values.
Typedefs of ID types used in snapshot package.
uint32_t StorageId
Unique ID for storage.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Epoch valid_until_epoch_
This snapshot contains all the logs until this epoch.
friend std::ostream & operator<<(std::ostream &o, const Snapshot &v)
storage::StorageId max_storage_id_
Largest storage ID as of starting to take the snapshot.
SnapshotId id_
Unique ID of this snapshot.
Represents one snapshot that converts all logs from base epoch to valid_until epoch into snapshot fil...
uint16_t SnapshotId
Unique ID of Snapshot.
Epoch base_epoch_
This snapshot was taken on top of previous snapshot that is valid_until this epoch.
const Epoch INVALID_EPOCH
A constant epoch object that represents an invalid epoch.