1
0
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:
Leandro Pacheco
2019-03-12 11:37:45 +01:00
committed by Daniele Sciascia
parent d9ada0226f
commit 98af85498b
2 changed files with 3 additions and 13 deletions

View File

@ -1292,7 +1292,7 @@ int wsrep::transaction::certify_fragment(
case wsrep::provider::success:
++fragments_certified_for_statement_;
assert(sr_ws_meta.seqno().is_undefined() == false);
streaming_context_.certified(data.size());
streaming_context_.certified();
if (storage_service.update_fragment_meta(sr_ws_meta))
{
storage_service.rollback(wsrep::ws_handle(),
@ -1332,7 +1332,7 @@ int wsrep::transaction::certify_fragment(
// we take a risk of sending one rollback fragment for nothing.
storage_service.rollback(wsrep::ws_handle(),
wsrep::ws_meta());
streaming_context_.certified(data.size());
streaming_context_.certified();
ret = 1;
error = wsrep::e_deadlock_error;
break;
@ -1700,7 +1700,6 @@ void wsrep::transaction::debug_log_state(
<< ", size: " << streaming_context_.fragment_size()
<< ", counter: " << streaming_context_.unit_counter()
<< ", log_pos: " << streaming_context_.log_position()
<< ", bytes: " << streaming_context_.bytes_certified()
<< ", sr_rb: " << streaming_context_.rolled_back()
<< "\n own: " << (client_state_.owning_thread_id_ == wsrep::this_thread::get_id())
<< " thread_id: " << client_state_.owning_thread_id_