#include <swcdb/ranger/db/CommitLog.h>
Public Types | |
typedef Core::Vector< Fragment::Ptr > | Vec |
typedef Fragments * | Ptr |
typedef Core::Vector< Vec > | CompactGroups |
Public Member Functions | |
Fragments (const DB::Types::KeySeq key_seq) | |
void | init (const RangePtr &for_range) |
Fragments (const Fragments &)=delete | |
Fragments (const Fragments &&)=delete | |
Fragments & | operator= (const Fragments &)=delete |
~Fragments () noexcept | |
void | schema_update () |
SWC_CAN_INLINE int64_t | modification_ts () const noexcept |
void | add (const DB::Cells::Cell &cell) |
SWC_CAN_INLINE std::shared_mutex & | cells_mutex () noexcept |
SWC_CAN_INLINE void | _add (const DB::Cells::Cell &cell, size_t *offset_itp, size_t *offsetp) |
SWC_CAN_INLINE void | check_sequence (const char *msg, bool w_assert=true) |
void | commit () noexcept |
size_t | commit_release () |
void | commit_finalize () |
void | add (Fragment::Ptr &frag) |
bool | is_compacting () const |
size_t | need_compact (CompactGroups &groups, const Vec &without, size_t vol) |
bool | try_compact (uint32_t tnum=1) |
void | finish_compact (const Compact *compact) |
std::string | get_log_fragment (const int64_t frag) const |
std::string | get_log_fragment (const std::string &frag) const |
void | load (int &err) |
void | expand (DB::Cells::Interval &intval) |
void | expand_and_align (DB::Cells::Interval &intval) |
void | load_cells (BlockLoader *loader, bool &is_final, Vec &frags, uint8_t vol) |
void | get (Vec &fragments) |
size_t | release (size_t bytes) |
void | remove (int &err, Vec &fragments_old) |
void | remove (int &err, Fragment::Ptr &frag, bool remove_file) |
void | remove () |
void | unload () |
Fragment::Ptr | take_ownership (int &err, Fragment::Ptr &frag) |
void | take_ownership (int &err, Vec &frags, Vec &removing) |
bool | deleting () |
size_t | cells_count (bool only_current=false) |
bool | empty () |
size_t | size () noexcept |
size_t | size_bytes (bool only_loaded=false) |
size_t | size_bytes_encoded () |
bool | processing () noexcept |
uint64_t | next_id () |
void | print (std::ostream &out, bool minimal) |
Public Attributes | |
RangePtr | range |
Core::AtomicBool | stopping |
Private Attributes | |
std::shared_mutex | m_mutex_cells |
DB::Cells::MutableVec | m_cells |
Core::StateRunning | m_commit |
Core::AtomicBool | m_compacting |
std::shared_mutex | m_mutex |
bool | m_deleting |
std::condition_variable_any | m_cv |
Core::Semaphore | m_sem |
uint64_t | m_last_id |
Core::Atomic< size_t > | m_releasable_bytes |
Core::Atomic< size_t > | m_modification_ts |
Additional Inherited Members | |
Private Types inherited from SWC::Core::Vector< Fragment::Ptr > | |
using | value_type = Fragment::Ptr |
using | size_type = uint32_t |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type * | iterator |
typedef const value_type * | const_iterator |
typedef value_type & | reference |
typedef const value_type & | const_reference |
Static Private Member Functions inherited from SWC::Core::Vector< Fragment::Ptr > | |
constexpr static SWC_CAN_INLINE size_type | max_size () noexcept |
Definition at line 19 of file CommitLog.h.
Definition at line 29 of file CommitLog.h.
Definition at line 28 of file CommitLog.h.
Definition at line 27 of file CommitLog.h.
|
explicit |
Definition at line 18 of file CommitLog.cc.
|
delete |
|
delete |
|
noexcept |
Definition at line 30 of file CommitLog.cc.
References SWC::System::Resources::less_mem_releasable(), m_releasable_bytes, and SWC::Env::Rgr::res().
|
inline |
Definition at line 61 of file CommitLog.h.
References SWC::DB::Cells::MutableVec::add_raw(), and m_cells.
Referenced by _commit(), add(), and take_ownership().
|
private |
Definition at line 191 of file CommitLog.cc.
References _narrow(), SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::Core::Vector< Fragment::Ptr >::cend(), SWC::DB::KeySeq::compare(), SWC::Condition::GT, SWC::Core::Vector< Fragment::Ptr >::insert(), SWC::DB::Cells::MutableVec::key_seq, m_cells, and SWC::Core::Vector< Fragment::Ptr >::push_back().
|
private |
Definition at line 101 of file CommitLog.cc.
References _add(), _need_roll(), _next_id(), SWC::Core::Semaphore::acquire(), SWC::System::Resources::adj_mem_releasable(), cells_count(), SWC::DB::Cells::MutableVec::empty(), SWC::Core::AtomicBase< T, OrderT >::exchange(), SWC::Core::BufferDyn< BufferT >::fill(), get_log_fragment(), SWC::System::Resources::less_mem_future(), SWC::LOG_WARN, m_cells, m_commit, m_cv, m_deleting, m_mutex, m_mutex_cells, m_releasable_bytes, m_sem, SWC::Ranger::CommitLog::Fragment::make_write(), SWC::System::Resources::more_mem_future(), SWC::Error::OK, SWC::Error::print(), range, SWC::Env::Rgr::res(), SWC::DB::Cells::MutableVec::size_of_internal(), SWC::Core::StateRunning::stop(), SWC_LOG_OSTREAM, SWC_LOG_OUT, try_compact(), SWC::Error::UNPOSSIBLE, SWC::Core::Semaphore::wait_all(), SWC::Core::Semaphore::wait_available(), and SWC::DB::Cells::MutableVec::write_and_free().
Referenced by commit(), commit_finalize(), and commit_release().
|
private |
Definition at line 349 of file CommitLog.cc.
References SWC::Ranger::BlockLoader::block, SWC::Core::Vector< T, SizeT, GROW_SZ >::cbegin(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cend(), SWC::Ranger::Block::is_consist(), and SWC::Core::Vector< T, SizeT, GROW_SZ >::push_back().
Referenced by load_cells().
|
private |
Definition at line 706 of file CommitLog.cc.
References SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::DB::KeySeq::compare(), SWC::DB::Cell::Key::empty(), SWC::Condition::GT, SWC::DB::Cells::MutableVec::key_seq, m_cells, SWC::Ranger::CommitLog::MAX_FRAGMENTS_NARROW, and SWC::Core::Vector< Fragment::Ptr >::size().
Referenced by _add().
|
private |
Definition at line 611 of file CommitLog.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::assign(), SWC::Core::Vector< T, SizeT, GROW_SZ >::back(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cbegin(), SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cend(), SWC::Core::Vector< Fragment::Ptr >::cend(), SWC::DB::KeySeq::compare(), SWC::Core::Vector< T, SizeT, GROW_SZ >::emplace_back(), SWC::Core::Vector< T, SizeT, GROW_SZ >::empty(), SWC::Condition::EQ, SWC::Core::Vector< T, SizeT, GROW_SZ >::erase(), SWC::Core::Vector< T, SizeT, GROW_SZ >::front(), SWC::DB::Cells::MutableVec::key_seq, SWC::Condition::LT, m_cells, SWC::Core::Vector< T, SizeT, GROW_SZ >::push_back(), range, SWC::Core::Vector< T, SizeT, GROW_SZ >::reserve(), SWC::Core::Vector< T, SizeT, GROW_SZ >::size(), SWC::Core::Vector< Fragment::Ptr >::size(), and stopping.
Referenced by need_compact(), and try_compact().
|
private |
Definition at line 667 of file CommitLog.cc.
References range, and SWC::Core::Vector< Fragment::Ptr >::size().
Referenced by try_compact().
|
privatenoexcept |
Definition at line 594 of file CommitLog.cc.
References SWC::DB::Cells::MutableVec::empty(), m_cells, SWC::System::Resources::need_ram(), range, SWC::Env::Rgr::res(), SWC::DB::Cells::MutableVec::size(), and SWC::DB::Cells::MutableVec::size_bytes().
Referenced by _commit(), and commit().
|
private |
Definition at line 555 of file CommitLog.cc.
References SWC::LOG_WARN, m_last_id, SWC::Time::now_ns(), SWC_LOG_OSTREAM, and SWC_LOG_OUT.
Referenced by _commit(), and next_id().
|
privatenoexcept |
Definition at line 685 of file CommitLog.cc.
References m_commit.
Referenced by print(), and processing().
|
private |
Definition at line 389 of file CommitLog.cc.
References SWC::Core::Semaphore::acquire(), SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::Core::Vector< Fragment::Ptr >::cend(), and SWC::Core::Vector< Fragment::Ptr >::erase().
Referenced by remove(), and take_ownership().
|
private |
Definition at line 694 of file CommitLog.cc.
References m_cells, m_mutex_cells, size(), and SWC::DB::Cells::MutableVec::size_bytes().
Referenced by print(), and size_bytes().
SWC_CAN_INLINE void SWC::Ranger::CommitLog::Fragments::add | ( | const DB::Cells::Cell & | cell | ) |
Definition at line 54 of file CommitLog.cc.
References SWC::DB::Cells::MutableVec::add_raw(), m_cells, and m_mutex_cells.
Referenced by SWC::Ranger::Blocks::add_logged(), load(), SWC::Ranger::CommitLog::Fragment::split(), and take_ownership().
SWC_CAN_INLINE void SWC::Ranger::CommitLog::Fragments::add | ( | Fragment::Ptr & | frag | ) |
Definition at line 186 of file CommitLog.cc.
References _add(), and m_mutex.
size_t SWC::Ranger::CommitLog::Fragments::cells_count | ( | bool | only_current = false | ) |
Definition at line 499 of file CommitLog.cc.
References m_cells, m_mutex, m_mutex_cells, and SWC::DB::Cells::MutableVec::size().
Referenced by _commit(), and print().
|
inlinenoexcept |
Definition at line 56 of file CommitLog.h.
References m_mutex_cells.
|
inline |
Definition at line 67 of file CommitLog.h.
References SWC::DB::Cells::MutableVec::check_sequence(), m_cells, and m_mutex_cells.
|
noexcept |
Definition at line 59 of file CommitLog.cc.
References _commit(), _need_roll(), SWC::System::Resources::adj_mem_releasable(), SWC::Core::AtomicBase< T, OrderT >::exchange(), m_cells, m_commit, m_modification_ts, m_mutex_cells, m_releasable_bytes, SWC::Time::now_ns(), SWC::Env::Rgr::post(), SWC::Env::Rgr::res(), SWC::Ranger::run(), SWC::Core::StateRunning::running(), SWC::DB::Cells::MutableVec::size_of_internal(), SWC::Core::StateRunning::stop(), SWC::Core::AtomicBase< T, OrderT >::store(), and SWC_CAN_INLINE.
Referenced by SWC::Ranger::Range::_run_add_queue().
void SWC::Ranger::CommitLog::Fragments::commit_finalize | ( | ) |
Definition at line 90 of file CommitLog.cc.
References _commit(), m_commit, m_compacting, m_cv, m_mutex, and SWC::Core::StateRunning::running().
Referenced by SWC::Ranger::Blocks::unload().
size_t SWC::Ranger::CommitLog::Fragments::commit_release | ( | ) |
Definition at line 82 of file CommitLog.cc.
References _commit(), m_commit, m_compacting, m_mutex, m_releasable_bytes, and SWC::Core::StateRunning::running().
Referenced by SWC::Ranger::Blocks::release().
bool SWC::Ranger::CommitLog::Fragments::deleting | ( | ) |
Definition at line 494 of file CommitLog.cc.
References m_deleting, and m_mutex.
SWC_CAN_INLINE bool SWC::Ranger::CommitLog::Fragments::empty | ( | ) |
Definition at line 514 of file CommitLog.cc.
References SWC::Core::Vector< Fragment::Ptr >::empty(), SWC::DB::Cells::MutableVec::empty(), m_cells, m_mutex, and m_mutex_cells.
Referenced by SWC::Ranger::Range::can_be_merged().
void SWC::Ranger::CommitLog::Fragments::expand | ( | DB::Cells::Interval & | intval | ) |
Definition at line 322 of file CommitLog.cc.
References SWC::DB::Cells::Interval::expand(), and m_mutex.
Referenced by SWC::Ranger::Blocks::expand().
void SWC::Ranger::CommitLog::Fragments::expand_and_align | ( | DB::Cells::Interval & | intval | ) |
Definition at line 328 of file CommitLog.cc.
References SWC::DB::Cells::Interval::align(), SWC::DB::Cells::Interval::expand(), and m_mutex.
Referenced by SWC::Ranger::Blocks::expand_and_align().
void SWC::Ranger::CommitLog::Fragments::finish_compact | ( | const Compact * | compact | ) |
Definition at line 263 of file CommitLog.cc.
References SWC::Ranger::Range::COMPACT_NONE, SWC::Env::Rgr::log_compact_finished(), m_compacting, m_cv, m_mutex, range, SWC::Ranger::CommitLog::Compact::repetition, stopping, SWC::Core::AtomicBase< T, OrderT >::store(), and try_compact().
Referenced by SWC::Ranger::CommitLog::Compact::Compact(), SWC::Ranger::CommitLog::Compact::finalized(), and try_compact().
void SWC::Ranger::CommitLog::Fragments::get | ( | Fragments::Vec & | fragments | ) |
Definition at line 362 of file CommitLog.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::assign(), SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::Core::Vector< Fragment::Ptr >::cend(), and m_mutex.
std::string SWC::Ranger::CommitLog::Fragments::get_log_fragment | ( | const int64_t | frag | ) | const |
Definition at line 279 of file CommitLog.cc.
References SWC::DB::RangeBase::LOG_DIR, range, and SWC::Core::to_string().
Referenced by _commit(), load(), and take_ownership().
std::string SWC::Ranger::CommitLog::Fragments::get_log_fragment | ( | const std::string & | frag | ) | const |
Definition at line 289 of file CommitLog.cc.
References SWC::DB::RangeBase::LOG_DIR, and range.
SWC_CAN_INLINE void SWC::Ranger::CommitLog::Fragments::init | ( | const RangePtr & | for_range | ) |
Definition at line 35 of file CommitLog.cc.
References range, and schema_update().
Referenced by SWC::Ranger::Blocks::init().
SWC_CAN_INLINE bool SWC::Ranger::CommitLog::Fragments::is_compacting | ( | ) | const |
Definition at line 205 of file CommitLog.cc.
References m_compacting.
Referenced by SWC::Ranger::Blocks::_split(), and SWC::Ranger::Blocks::scan().
void SWC::Ranger::CommitLog::Fragments::load | ( | int & | err | ) |
Definition at line 297 of file CommitLog.cc.
References add(), SWC::Error::FS_PATH_NOT_FOUND, get_log_fragment(), SWC::Env::FsInterface::interface(), SWC::DB::RangeBase::LOG_DIR, SWC::Ranger::CommitLog::Fragment::make_read(), SWC::Error::OK, and range.
Referenced by SWC::Ranger::Blocks::load().
SWC_CAN_INLINE void SWC::Ranger::CommitLog::Fragments::load_cells | ( | BlockLoader * | loader, |
bool & | is_final, | ||
Fragments::Vec & | frags, | ||
uint8_t | vol | ||
) |
Definition at line 337 of file CommitLog.cc.
References _load_cells(), SWC::Ranger::BlockLoader::block, SWC::Ranger::Block::load_final(), m_cells, m_mutex, and m_mutex_cells.
Referenced by SWC::Ranger::BlockLoader::load_cells().
|
inlinenoexcept |
Definition at line 49 of file CommitLog.h.
References SWC::Core::AtomicBase< T, OrderT >::load(), and m_modification_ts.
size_t SWC::Ranger::CommitLog::Fragments::need_compact | ( | CompactGroups & | groups, |
const Vec & | without, | ||
size_t | vol | ||
) |
Definition at line 209 of file CommitLog.cc.
References _need_compact(), and m_mutex.
uint64_t SWC::Ranger::CommitLog::Fragments::next_id | ( | ) |
Definition at line 549 of file CommitLog.cc.
References _next_id(), and m_mutex.
Referenced by take_ownership().
void SWC::Ranger::CommitLog::Fragments::print | ( | std::ostream & | out, |
bool | minimal | ||
) |
Definition at line 566 of file CommitLog.cc.
References _processing(), _size_bytes(), cells_count(), m_cells, m_mutex, m_mutex_cells, SWC::Core::Vector< Fragment::Ptr >::size(), and SWC::DB::Cells::MutableVec::size().
Referenced by SWC::Ranger::Blocks::print().
|
noexcept |
Definition at line 540 of file CommitLog.cc.
References _processing(), and m_mutex.
Referenced by SWC::Ranger::Blocks::wait_processing().
size_t SWC::Ranger::CommitLog::Fragments::release | ( | size_t | bytes | ) |
Definition at line 367 of file CommitLog.cc.
References m_mutex.
Referenced by SWC::Ranger::Blocks::release().
void SWC::Ranger::CommitLog::Fragments::remove | ( | ) |
Definition at line 409 of file CommitLog.cc.
References SWC::Core::Vector< Fragment::Ptr >::clear(), m_commit, m_compacting, m_cv, m_deleting, m_mutex, m_sem, range, SWC::Core::StateRunning::running(), SWC::Core::StateRunning::stop(), stopping, SWC::Core::AtomicBase< T, OrderT >::store(), and SWC::Core::Semaphore::wait_all().
void SWC::Ranger::CommitLog::Fragments::remove | ( | int & | err, |
Fragment::Ptr & | frag, | ||
bool | remove_file | ||
) |
Definition at line 400 of file CommitLog.cc.
References SWC::Core::Vector< Fragment::Ptr >::cbegin(), SWC::Core::Vector< Fragment::Ptr >::cend(), SWC::Core::Vector< Fragment::Ptr >::erase(), and m_mutex.
void SWC::Ranger::CommitLog::Fragments::remove | ( | int & | err, |
Fragments::Vec & | fragments_old | ||
) |
Definition at line 380 of file CommitLog.cc.
References _remove(), m_mutex, and SWC::Core::Semaphore::wait_all().
Referenced by SWC::Ranger::Blocks::apply_new(), SWC::Ranger::Blocks::remove(), and SWC::Ranger::CommitLog::Splitter::run().
SWC_CAN_INLINE void SWC::Ranger::CommitLog::Fragments::schema_update | ( | ) |
Definition at line 41 of file CommitLog.cc.
References SWC::DB::Cells::MutableVec::configure(), m_cells, m_mutex_cells, and range.
Referenced by init(), and SWC::Ranger::Blocks::schema_update().
|
noexcept |
Definition at line 522 of file CommitLog.cc.
References m_mutex, and SWC::Core::Vector< Fragment::Ptr >::size().
Referenced by _size_bytes(), SWC::Ranger::CommitLog::Compact::Compact(), SWC::Ranger::CommitLog::Compact::finalized(), and size_bytes_encoded().
SWC_CAN_INLINE size_t SWC::Ranger::CommitLog::Fragments::size_bytes | ( | bool | only_loaded = false | ) |
Definition at line 528 of file CommitLog.cc.
References _size_bytes().
Referenced by SWC::Ranger::Blocks::size_bytes_total().
size_t SWC::Ranger::CommitLog::Fragments::size_bytes_encoded | ( | ) |
Definition at line 532 of file CommitLog.cc.
References m_mutex, and size().
Fragment::Ptr SWC::Ranger::CommitLog::Fragments::take_ownership | ( | int & | err, |
Fragment::Ptr & | frag | ||
) |
Definition at line 441 of file CommitLog.cc.
References add(), get_log_fragment(), SWC::Env::FsInterface::interface(), SWC::FS::SmartFd::make_ptr(), SWC::Ranger::CommitLog::Fragment::make_read(), next_id(), SWC::Error::OK, and range.
Referenced by SWC::Ranger::CommitLog::Splitter::run().
void SWC::Ranger::CommitLog::Fragments::take_ownership | ( | int & | err, |
Fragments::Vec & | frags, | ||
Fragments::Vec & | removing | ||
) |
Definition at line 458 of file CommitLog.cc.
References _add(), _remove(), SWC::Core::Semaphore::acquire(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cbegin(), SWC::Core::Vector< T, SizeT, GROW_SZ >::cend(), SWC::Core::Vector< T, SizeT, GROW_SZ >::clear(), SWC::Core::Vector< T, SizeT, GROW_SZ >::empty(), SWC::Core::Vector< T, SizeT, GROW_SZ >::erase(), get_log_fragment(), SWC::Env::FsInterface::interface(), m_mutex, SWC::FS::SmartFd::make_ptr(), SWC::Ranger::CommitLog::Fragment::make_read(), next_id(), SWC::Error::OK, SWC::Core::Vector< T, SizeT, GROW_SZ >::push_back(), range, stopping, and SWC::Core::Semaphore::wait_all().
bool SWC::Ranger::CommitLog::Fragments::try_compact | ( | uint32_t | tnum = 1 | ) |
Definition at line 216 of file CommitLog.cc.
References _need_compact(), _need_compact_major(), SWC::Ranger::Range::COMPACT_COMPACTING, SWC::Ranger::Range::COMPACT_PREPARING, SWC::Env::Rgr::compaction_schedule(), SWC::Core::AtomicBase< T, OrderT >::compare_exchange_weak(), finish_compact(), SWC::Env::Rgr::log_compact_finished(), SWC::Env::Rgr::log_compact_possible(), m_compacting, m_cv, m_mutex, range, SWC::Env::Rgr::res(), SWC::Core::Vector< T, SizeT, GROW_SZ >::size(), stopping, and SWC::Core::AtomicBase< T, OrderT >::store().
Referenced by _commit(), and finish_compact().
void SWC::Ranger::CommitLog::Fragments::unload | ( | ) |
Definition at line 427 of file CommitLog.cc.
References SWC::Core::Vector< Fragment::Ptr >::clear(), m_commit, m_compacting, m_cv, m_mutex, range, SWC::Core::StateRunning::running(), SWC::Core::StateRunning::stop(), stopping, and SWC::Core::AtomicBase< T, OrderT >::store().
Referenced by SWC::Ranger::Blocks::unload().
|
private |
Definition at line 162 of file CommitLog.h.
Referenced by _add(), _commit(), _narrow(), _need_compact(), _need_roll(), _size_bytes(), add(), cells_count(), check_sequence(), commit(), empty(), load_cells(), print(), and schema_update().
|
private |
Definition at line 164 of file CommitLog.h.
Referenced by _commit(), _processing(), commit(), commit_finalize(), commit_release(), remove(), and unload().
|
private |
Definition at line 165 of file CommitLog.h.
Referenced by commit_finalize(), commit_release(), finish_compact(), is_compacting(), remove(), try_compact(), and unload().
|
private |
Definition at line 169 of file CommitLog.h.
Referenced by _commit(), commit_finalize(), finish_compact(), remove(), try_compact(), and unload().
|
private |
Definition at line 168 of file CommitLog.h.
Referenced by _commit(), deleting(), and remove().
|
private |
Definition at line 171 of file CommitLog.h.
Referenced by _next_id().
|
private |
Definition at line 173 of file CommitLog.h.
Referenced by commit(), and modification_ts().
|
private |
Definition at line 167 of file CommitLog.h.
Referenced by _commit(), add(), cells_count(), commit_finalize(), commit_release(), deleting(), empty(), expand(), expand_and_align(), finish_compact(), get(), load_cells(), need_compact(), next_id(), print(), processing(), release(), remove(), size(), size_bytes_encoded(), take_ownership(), try_compact(), and unload().
|
private |
Definition at line 161 of file CommitLog.h.
Referenced by _commit(), _size_bytes(), add(), cells_count(), cells_mutex(), check_sequence(), commit(), empty(), load_cells(), print(), and schema_update().
|
private |
Definition at line 172 of file CommitLog.h.
Referenced by _commit(), commit(), commit_release(), and ~Fragments().
|
private |
Definition at line 170 of file CommitLog.h.
RangePtr SWC::Ranger::CommitLog::Fragments::range |
Definition at line 31 of file CommitLog.h.
Referenced by _commit(), _need_compact(), _need_compact_major(), _need_roll(), SWC::Ranger::CommitLog::Compact::Compact(), SWC::Ranger::CommitLog::Compact::finalized(), finish_compact(), SWC::Ranger::CommitLog::Compact::finished(), SWC::Ranger::CommitLog::Compact::get_filepath(), get_log_fragment(), init(), load(), remove(), SWC::Ranger::CommitLog::Splitter::run(), schema_update(), take_ownership(), try_compact(), and unload().
Core::AtomicBool SWC::Ranger::CommitLog::Fragments::stopping |
Definition at line 32 of file CommitLog.h.
Referenced by _need_compact(), finish_compact(), SWC::Ranger::Range::internal_remove(), SWC::Ranger::Range::internal_unload(), remove(), SWC::Ranger::Range::remove(), take_ownership(), try_compact(), and unload().