[MXS-812] Number of conns not matching number of operations Created: 2016-07-27 Updated: 2016-09-15 Resolved: 2016-09-09 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Yorick Terweijden | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Output from $ maxadmin show servers
|
| Comments |
| Comment by Guillaume Lefranc [ 2016-09-08 ] |
|
I also encounter this bug in production. It seems the counters stop updating when the connection is closed due to an inconsistent state. |
| Comment by Guillaume Lefranc [ 2016-09-08 ] |
|
To put this in context, the backend (db18) is part of a Galera server. It left the cluster because of a network split with the other nodes, then rejoined. |
| Comment by markus makela [ 2016-09-09 ] |
|
The active operation counters were not updated properly when multiple client packets were received. The counters were also incremented for each received packet instead of each started operation. A good way to test this is to stream BLOB data via the C API and block the master connection mid-stream. This will cause an immediate mismatch in active connection and operation counts. |