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:
@ -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,
|
||||
|
Reference in New Issue
Block a user