[MCOL-3812] MariaDB asserts when connection closed Created: 2020-02-20  Updated: 2020-11-12  Due: 2020-02-21  Resolved: 2020-06-11

Status: Closed
Project: MariaDB ColumnStore
Component/s: MDB Plugin
Affects Version/s: 1.5.3
Fix Version/s: 1.5.1

Type: Bug Priority: Blocker
Reporter: David Hall (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2020-3, 2020-4, 2020-5, 2020-6, 2020-7

 Description   

When a connection is closed, ha_mcs_impl_close_connection() is executed. In previous versions it was optional to execute this:
thd_set_ha_data(thd, hton, NULL);
Since we believe in cleaning up our own stuff, we did this.

In 10.5, this is no longer optional. Server asserts if we do this.



 Comments   
Comment by David Hall (Inactive) [ 2020-03-30 ]

QA: To test, you need a debug build to trigger the assert to signal. Just start up a debug version of columnstore 1.5, open a session, then close the session. mysqld would assert and crash. Patch should fix this.

Comment by Daniel Lee (Inactive) [ 2020-06-11 ]

Build verified: 1.5.0-1 (Drone build #59)

Verified on a debug build on Centos 7.

Generated at Thu Feb 08 02:45:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.