[MXS-2563] Failing debug assertion at rwsplitsession.cc:1129 : m_expected_responses == 0 Created: 2019-06-13  Updated: 2019-06-17  Resolved: 2019-06-17

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.3.8
Fix Version/s: 2.3.9

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MXS-2562 Oracle's MySQL Connector/ODBC gets pa... Closed
Problem/Incident
causes MXS-2461 Unexpected internal state with ReadWr... Closed

 Description   

Managed to hit this debug assertion with m_expected_responses == 1 when doing a controlled server shutdown.



 Comments   
Comment by markus makela [ 2019-06-13 ]

For some strange reason this makes the debug assertion disappear:

Disregard that, it just took longer to appear.

Comment by markus makela [ 2019-06-14 ]

This appears to happen when a query is being executed on one server while another server fails twice before the result is returned. This causes the handle_error_new_connection function to retry the ongoing query on a different server causing two results to be returned.

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