1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Changed default streaming unit to bytes.

This commit is contained in:
Teemu Ollakka
2018-07-10 14:36:17 +03:00
parent 80ca03daaf
commit d03736c4c3
2 changed files with 4 additions and 1 deletions

View File

@ -14,8 +14,8 @@ namespace wsrep
public: public:
enum fragment_unit enum fragment_unit
{ {
row,
bytes, bytes,
row,
statement statement
}; };

View File

@ -1266,6 +1266,9 @@ void wsrep::transaction::debug_log_state(
<< "\n" << "\n"
<< " is_sr: " << is_streaming() << " is_sr: " << is_streaming()
<< ", frags: " << streaming_context_.fragments_certified() << ", frags: " << streaming_context_.fragments_certified()
<< ", unit: " << streaming_context_.fragment_unit()
<< ", size: " << streaming_context_.fragment_size()
<< ", counter: " << streaming_context_.unit_counter()
<< ", bytes: " << streaming_context_.bytes_certified() << ", bytes: " << streaming_context_.bytes_certified()
<< ", sr_rb: " << streaming_context_.rolled_back() << ", sr_rb: " << streaming_context_.rolled_back()
<< "\n own: " << (client_state_.owning_thread_id_ == wsrep::this_thread::get_id()) << "\n own: " << (client_state_.owning_thread_id_ == wsrep::this_thread::get_id())