taco-db  0.1.0
Public Attributes | List of all members
taco::FMMetaPageData Struct Reference

#include <storage/FileManager_private.h>

Public Attributes

MetaPageHeaderData m_ph
 
uint64_t m_magic
 
PageNumber m_fdir1_pid
 
FreePageList m_fpl
 
atomic< FileIdm_last_free_fid
 m_last_free_fid serves as a hint to locate the last allocated free file id. More...
 

Member Data Documentation

◆ m_fdir1_pid

PageNumber taco::FMMetaPageData::m_fdir1_pid

◆ m_fpl

FreePageList taco::FMMetaPageData::m_fpl

◆ m_last_free_fid

atomic<FileId> taco::FMMetaPageData::m_last_free_fid

m_last_free_fid serves as a hint to locate the last allocated free file id.

Usually, the next free file ID should be just next to it. Stale value of m_last_free_fid should not render the reader's implementation to be incorrect, rather it should only affect the efficiency.

◆ m_magic

uint64_t taco::FMMetaPageData::m_magic

◆ m_ph

MetaPageHeaderData taco::FMMetaPageData::m_ph

The documentation for this struct was generated from the following file: