[MXS-244] Memory leak when using prepared statements without arguments Created: 2015-07-03 Updated: 2015-07-04 Resolved: 2015-07-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | 1.1.1 |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
There is a memory leak when executing prepared statements. I have tested this on a 3-node galera cluster on both the stable version and the 1.2 version. Config:
This is the PHP script that triggers the memory leak:
The script was used to test some other stuff as well so you can disregard the getStatus() and getDiff() calls. It may take a while, you need to execute it a couple of thousand times |
| Comments |
| Comment by markus makela [ 2015-07-04 ] |
|
The response buffer was only partially consumed when a slave server replied to an already replied prepare statement query. |