mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
removing bytes_certified
This commit is contained in:
committed by
Daniele Sciascia
parent
d9ada0226f
commit
98af85498b
@ -45,7 +45,6 @@ namespace wsrep
|
||||
, rollback_replicated_for_()
|
||||
, fragment_unit_()
|
||||
, fragment_size_()
|
||||
, bytes_certified_()
|
||||
, unit_counter_()
|
||||
, log_position_()
|
||||
{ }
|
||||
@ -102,10 +101,9 @@ namespace wsrep
|
||||
fragment_size_ = 0;
|
||||
}
|
||||
|
||||
void certified(size_t bytes)
|
||||
void certified()
|
||||
{
|
||||
++fragments_certified_;
|
||||
bytes_certified_ += bytes;
|
||||
}
|
||||
|
||||
size_t fragments_certified() const
|
||||
@ -131,11 +129,6 @@ namespace wsrep
|
||||
fragments_.push_back(seqno);
|
||||
}
|
||||
|
||||
size_t bytes_certified() const
|
||||
{
|
||||
return bytes_certified_;
|
||||
}
|
||||
|
||||
void rolled_back(wsrep::transaction_id id)
|
||||
{
|
||||
assert(rollback_replicated_for_ == wsrep::transaction_id::undefined());
|
||||
@ -193,7 +186,6 @@ namespace wsrep
|
||||
fragments_certified_ = 0;
|
||||
fragments_.clear();
|
||||
rollback_replicated_for_ = wsrep::transaction_id::undefined();
|
||||
bytes_certified_ = 0;
|
||||
unit_counter_ = 0;
|
||||
log_position_ = 0;
|
||||
}
|
||||
@ -210,7 +202,6 @@ namespace wsrep
|
||||
wsrep::transaction_id rollback_replicated_for_;
|
||||
enum fragment_unit fragment_unit_;
|
||||
size_t fragment_size_;
|
||||
size_t bytes_certified_;
|
||||
size_t unit_counter_;
|
||||
size_t log_position_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user