MXS-2605: Remove false debug assertion
The assertion doesn't count executed session commands and thus is not reliable.
This commit is contained in:
@ -415,8 +415,6 @@ json_t* RWSplit::diagnostics_json() const
|
|||||||
|
|
||||||
for (const auto& a : all_server_stats())
|
for (const auto& a : all_server_stats())
|
||||||
{
|
{
|
||||||
mxb_assert(a.second.total == a.second.read + a.second.write);
|
|
||||||
|
|
||||||
ServerStats::CurrentStats stats = a.second.current_stats();
|
ServerStats::CurrentStats stats = a.second.current_stats();
|
||||||
|
|
||||||
json_t* obj = json_object();
|
json_t* obj = json_object();
|
||||||
|
|||||||
Reference in New Issue
Block a user