[MXS-197] Incorrect sequence of operations with DCB Created: 2015-06-15  Updated: 2015-07-07  Resolved: 2015-07-07

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.1.1
Fix Version/s: 1.3.0

Type: Bug Priority: Major
Reporter: martin brampton (Inactive) Assignee: martin brampton (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

All



 Description   

Partly because of MXS-196 there is a possibility that a DCB fails to start polling in the call to func.listen around line 351 of service.c but the DCB will be in state DCB_STATE_POLLING. When dcb_close is called there will be an attempt to remove the DCB from the poll list, but since it was never successfully added this will fail. The dcb_close function will emit an error, but not otherwise do anything, leaving a DCB in limbo.



 Comments   
Comment by martin brampton (Inactive) [ 2015-06-16 ]

This should only be resolved in relation to MXS-195 and MXS-196. The whole bundle of problems needs careful study before attempting a solution.

Comment by martin brampton (Inactive) [ 2015-07-07 ]

Passed to Markus for review

Comment by markus makela [ 2015-07-07 ]

Review done.

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