From d03736c4c3ab23de11a3193247335cfa91c62bbe Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Tue, 10 Jul 2018 14:36:17 +0300 Subject: [PATCH] Changed default streaming unit to bytes. --- include/wsrep/streaming_context.hpp | 2 +- src/transaction.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/wsrep/streaming_context.hpp b/include/wsrep/streaming_context.hpp index c04fe26..b9c1ab4 100644 --- a/include/wsrep/streaming_context.hpp +++ b/include/wsrep/streaming_context.hpp @@ -14,8 +14,8 @@ namespace wsrep public: enum fragment_unit { - row, bytes, + row, statement }; diff --git a/src/transaction.cpp b/src/transaction.cpp index 073a1e7..ebacf47 100644 --- a/src/transaction.cpp +++ b/src/transaction.cpp @@ -1266,6 +1266,9 @@ void wsrep::transaction::debug_log_state( << "\n" << " is_sr: " << is_streaming() << ", 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() << ", sr_rb: " << streaming_context_.rolled_back() << "\n own: " << (client_state_.owning_thread_id_ == wsrep::this_thread::get_id())