[MCOL-1657] Drop table crashes crashes the server during upgrade to development branch Created: 2018-08-16 Updated: 2018-11-12 Resolved: 2018-11-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | 1.2 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Ravi Prakash (Inactive) | Assignee: | Andrew Hutchings (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS Linux 7.4 |
||
| Issue Links: |
|
||||||||
| Description |
|
I ran into this problem and while attempting to drop a table in the development branch (1.2). The mysqld server crashed with the following trace: Program received signal SIGSEGV, Segmentation fault. The following steps are likely to reproduce the problem. Create some tables definitions. May want to store some rows in it. Build 1.2 binaries, post-install and postConfigure new binaries. Connect to the the database and drop the tables. I used the following table definitions. CREATE TABLE t1 ( c1 int not null, c2 bigint, c3 float, I have not yet tried more than once. |
| Comments |
| Comment by Ravi Prakash (Inactive) [ 2018-08-16 ] |
|
I also noticed that if one describes the table before dropping it works. For example: desc d1; Worked. CREATE TABLE d1 ( c1 int not null default 10, c2 bigint default 2147483648, |
| Comment by Patrick LeBlanc (Inactive) [ 2018-10-31 ] |
|
This is likely due to the server version update. I ran into the same thing stepping through the process of upgrading CS 1.1.6 to 1.2.1. The missing step in the process was running mysql_upgrade after upgrading CS. |
| Comment by Andrew Hutchings (Inactive) [ 2018-11-12 ] |
|
tl;dr: this is a duplicate of Longer version: Several functions will fix the table ID but mysql_upgrade is the preferred method. |