maria-discuss team mailing list archive
Mailing list archive
Re: how to file a problem / bug ?
Thu, 14 Mar 2019 12:49:13 +0000
en-GB, de-CH, en-US
MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=True; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Owner=Rhys.Campbell@xxxxxxxxxxxx; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2019-03-14T12:49:12.6163986Z; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Application=Microsoft Azure Information Protection; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Extended_MSFT_Method=Automatic; Sensitivity=C2 Internal
[Maria-discuss] how to file a problem / bug ?
Innodb indexes FK's automatically. You don't want to drop these indexes.
From your log it looks like something went wrong with one of these index drops. You could look inside the frm file to see if one of the old ones is still define.
You probably want to restore form backups or look at innodb_force_recovery.
From: Maria-discuss <maria-discuss-bounces+rhys.campbell=swisscom.com@xxxxxxxxxxxxxxxxxxx> On Behalf Of Norbert Zawodsky
Sent: 14 March 2019 13:18
Subject: Re: [Maria-discuss] how to file a problem / bug ?
as I wrote before, I wasn't sure if this list was the right place. So I didn't want to go into more details first.
What I did:
* A relatively simple table, 5 columns, col1...col4 unsingned integers
(medium and tiny), col5 decimal
* col1...col4 together form the primary key
* besides this, col2...col4 have foreign key constraint pointing to 3
First I had 4 indexes
* primary (col1,col2,col3,col4)
* col2_Idx (col2)
* col3_Idx (col3)
* col4_Idx (col4)
and the 3 foreign key constraints.
Some weeks ago I wondered if the 3 indexes for col2...col4 are necessary at all, because this 3 columns are allready part of the primary key.
So I thought "just try" and simply DROPed them. The server did not complain and the table still "worked" as before for some weeks now.
Yesterday evenenig I added a 6th column (of type decimal) to the table.
Still everything was fine. I inserted some records, everything ok.
Today I connected to the DB again (from a different machine). When I inserted the first record I saw that the 3 foreign key were gone. Now I guessed that there was a problem with the deleted indexes in the server by adding the 6th column. For a test I tried to recreate 1 of those indexes (for col2). There the server crashed. (See the log attached to this mail)
Am 14.03.19 12:24 schrieb Markus Mäkelä:
> If you're looking to report bugs, you can find the MariaDB Jira here:
> What sort of a problem did you encounter? It's possible that it's not
> a bug so some more details would be good.