Remove incorrect assertion

The assertion would hold true for a single worker but it can't be
guaranteed to be true on a multi-worker system where the statistics are
distributed across the workers.
This commit is contained in:
Markus Mäkelä
2018-11-23 12:39:39 +02:00
parent dcf53da209
commit 8b92c63248

View File

@ -365,7 +365,6 @@ void RWSplit::diagnostics(DCB* dcb)
"dur", "active", "selects");
for (const auto& s : srv_stats)
{
mxb_assert(s.second.total == s.second.read + s.second.write);
ServerStats::CurrentStats cs = s.second.current_stats();
dcb_printf(dcb,