[CONJ-672] Batch using multi-send can hang when using query timeout Created: 2019-01-09 Updated: 2019-02-08 Resolved: 2019-01-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | batch |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.0, 2.4.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When using pipelining, a batch can hang when statement.setQueryTimout is set and batch time > to query timeout. When query timeout is reached, a KILL QUERY command can be issued. Depending on server state, results seem to miss a result packet (reproduced on travis with galera). Connector might wait for a result that will never come. |