dbms: addition to prev. revision [#METR-17579].

This commit is contained in:
Alexey Milovidov 2015-12-13 10:00:43 +03:00
parent 28c63f20f6
commit 34236c3913

View File

@ -228,9 +228,10 @@ public:
++backoff_state.num_events;
ProfileEvents::increment(ProfileEvents::SlowRead);
LOG_DEBUG(log, "Slow read, event №" << backoff_state.num_events
LOG_DEBUG(log, std::fixed << std::setprecision(3)
<< "Slow read, event №" << backoff_state.num_events
<< ": read " << info.bytes_read << " bytes in " << info.nanoseconds / 1000000000.0 << " sec., "
<< info.bytes_read * 1000 / info.nanoseconds << " MB/s.");
<< info.bytes_read * 1000.0 / info.nanoseconds << " MB/s.");
if (backoff_state.num_events < backoff_settings.min_events)
return;