[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.


Generated at Thu Feb 08 03:17:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.