#include <checkpoint_manager.h>
Definition at line 37 of file checkpoint_manager.h.
◆ CheckPointManager()
◆ ~CheckPointManager()
| resdb::CheckPointManager::~CheckPointManager |
( |
| ) |
|
|
virtual |
◆ AddCommitData()
| void resdb::CheckPointManager::AddCommitData |
( |
std::unique_ptr< Request > |
request | ) |
|
◆ CommitableSeqSignal()
| sem_t * resdb::CheckPointManager::CommitableSeqSignal |
( |
| ) |
|
◆ GetCommittableSeq()
| uint64_t resdb::CheckPointManager::GetCommittableSeq |
( |
| ) |
|
◆ GetHighestPreparedSeq()
| uint64_t resdb::CheckPointManager::GetHighestPreparedSeq |
( |
| ) |
|
◆ GetMaxTxnSeq()
| uint64_t resdb::CheckPointManager::GetMaxTxnSeq |
( |
| ) |
|
◆ GetStableCheckpoint()
| uint64_t resdb::CheckPointManager::GetStableCheckpoint |
( |
| ) |
|
|
overridevirtual |
◆ GetStableCheckpointWithVotes()
| StableCheckPoint resdb::CheckPointManager::GetStableCheckpointWithVotes |
( |
| ) |
|
◆ GetTxnDB()
| ChainState * resdb::CheckPointManager::GetTxnDB |
( |
| ) |
|
◆ IsValidCheckpointProof()
| bool resdb::CheckPointManager::IsValidCheckpointProof |
( |
const StableCheckPoint & |
stable_ckpt | ) |
|
◆ PopStableSeqHash()
| std::unique_ptr< std::pair< uint64_t, std::string > > resdb::CheckPointManager::PopStableSeqHash |
( |
| ) |
|
◆ ProcessCheckPoint()
| int resdb::CheckPointManager::ProcessCheckPoint |
( |
std::unique_ptr< Context > |
context, |
|
|
std::unique_ptr< Request > |
request |
|
) |
| |
◆ SetExecutor()
◆ SetHighestPreparedSeq()
| void resdb::CheckPointManager::SetHighestPreparedSeq |
( |
uint64_t |
seq | ) |
|
◆ SetTimeoutHandler()
| void resdb::CheckPointManager::SetTimeoutHandler |
( |
std::function< void()> |
timeout_handler | ) |
|
◆ Stop()
| void resdb::CheckPointManager::Stop |
( |
| ) |
|
◆ TimeoutHandler()
| void resdb::CheckPointManager::TimeoutHandler |
( |
| ) |
|
◆ UpdateStableCheckPointCallback()
| virtual void resdb::CheckPointManager::UpdateStableCheckPointCallback |
( |
int64_t |
current_stable_checkpoint | ) |
|
|
inlinevirtual |
◆ WaitSignal()
| void resdb::CheckPointManager::WaitSignal |
( |
| ) |
|
◆ checkpoint_thread_
| std::thread resdb::CheckPointManager::checkpoint_thread_ |
|
protected |
◆ committable_hash_
| std::string resdb::CheckPointManager::committable_hash_ |
|
protected |
◆ committable_seq_
| uint64_t resdb::CheckPointManager::committable_seq_ = 0 |
|
protected |
◆ committable_seq_signal_
| sem_t resdb::CheckPointManager::committable_seq_signal_ |
|
protected |
◆ config_
◆ current_stable_seq_
| std::atomic<uint64_t> resdb::CheckPointManager::current_stable_seq_ |
|
protected |
◆ cv_
| std::condition_variable resdb::CheckPointManager::cv_ |
|
protected |
◆ cv_mutex_
| std::mutex resdb::CheckPointManager::cv_mutex_ |
|
protected |
◆ data_queue_
◆ executor_
◆ hash_ckpt_
| std::map<std::pair<uint64_t, std::string>, std::vector<std::string> > resdb::CheckPointManager::hash_ckpt_ |
|
protected |
◆ highest_prepared_seq_
| std::atomic<uint64_t> resdb::CheckPointManager::highest_prepared_seq_ |
|
protected |
◆ last_hash_
| std::string resdb::CheckPointManager::last_hash_ |
|
protected |
◆ last_seq_
| uint64_t resdb::CheckPointManager::last_seq_ = 0 |
|
protected |
◆ lt_mutex_
| std::mutex resdb::CheckPointManager::lt_mutex_ |
|
protected |
◆ mutex_
| std::mutex resdb::CheckPointManager::mutex_ |
|
protected |
◆ new_data_
| int resdb::CheckPointManager::new_data_ = 0 |
|
protected |
◆ replica_communicator_
◆ sender_ckpt_
| std::map<std::pair<uint64_t, std::string>, std::set<uint32_t> > resdb::CheckPointManager::sender_ckpt_ |
|
protected |
◆ sign_ckpt_
| std::map<std::pair<uint64_t, std::string>, std::vector<SignatureInfo> > resdb::CheckPointManager::sign_ckpt_ |
|
protected |
◆ signal_
| std::condition_variable resdb::CheckPointManager::signal_ |
|
protected |
◆ stable_checkpoint_thread_
| std::thread resdb::CheckPointManager::stable_checkpoint_thread_ |
|
protected |
◆ stable_ckpt_
| StableCheckPoint resdb::CheckPointManager::stable_ckpt_ |
|
protected |
◆ stable_hash_queue_
| LockFreeQueue<std::pair<uint64_t, std::string> > resdb::CheckPointManager::stable_hash_queue_ |
|
protected |
◆ stop_
| std::atomic<bool> resdb::CheckPointManager::stop_ |
|
protected |
◆ timeout_handler_
| std::function<void()> resdb::CheckPointManager::timeout_handler_ |
|
protected |
◆ txn_accessor_
◆ txn_db_
| std::unique_ptr<ChainState> resdb::CheckPointManager::txn_db_ |
|
protected |
◆ verifier_