[MDEV-6436] Error Importing MySQLdump File Created: 2014-07-10 Updated: 2019-03-31 Resolved: 2019-03-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 5.5.37 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Nat Prakongpan | Assignee: | Sergey Vojtovich |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL 7 on IBM Power7 hardware |
||
| Issue Links: |
|
||||||||
| Description |
|
I was able to access mysql initial. Then the import lasted ~10 seconds before the error message below. mariadb.log shows:
|
| Comments |
| Comment by Elena Stepanova [ 2014-07-14 ] |
|
Hi, Would you be able to provide the dump that you were trying to load? Was the problem reproducible (in case you tried), e.g. if you removed and re-created the datadir, and tried to load the dump again, did you get the crash again? Thanks. |
| Comment by Nat Prakongpan [ 2014-07-14 ] |
|
Hi Elena, Sorry I couldn't provide the dump as it contains sensitive personal information. I was able to recreate the issue a few times before I logged the crash here. I'm sure I can reproduce it again. After the crash, we had to remove MariaDB server, delete the datadir, and reinstall MariaDB bofore we could get the server to start again. |
| Comment by Elena Stepanova [ 2014-07-15 ] |
|
Hi Nat,
In the provided log, you have two types of failures. The initial one apparently happened on loading the dump. The other one happened upon restart after the initial crash. The latter one seems to be caused by the data corruption, and it is likely to be repeatable, that is, if you try to restart server again in the same way, it will fail again; and again. My question was about the initial failure. If your server is up and running, and you try to load the dump, does it always crash? |
| Comment by Nat Prakongpan [ 2014-07-15 ] |
|
Hi Elana, Yes, it always crashes when I try to load the dump. The dump was from --all-databases on RHEL 6.5/x86_64 Server version 5.5.37-MariaDB. I'm thinking about trying to do just one database and see what happens. |
| Comment by Elena Stepanova [ 2014-07-15 ] |
|
Hi Nat, If it's reproducible, you can do the following:
After it crashes, the last statement written into the general log should be the one that causes the crash. Then you can easily narrow it down to one database, and if it's still reproducible with one database, maybe even to a single table. But doing so, please keep checking that your crash is still Failing assertion: node->n_pending > 0, because after the initial crash you might be getting side-effects of data corruption, which would also make server abort, but are of a different nature. Maybe it turns out that the particular schema/table where the crash occurs does not contain confidential data, and you'll be able to upload it (please note that things that are not for wide public but aren't strictly confidential can be uploaded to ftp.askmonty.org/private, this way only MariaDB developers will have access to them). |
| Comment by Nat Prakongpan [ 2014-07-15 ] |
|
Hi Elena, I'm running the test now. I'll let you know what I've discovered. |
| Comment by Nat Prakongpan [ 2014-07-15 ] |
|
Hi Elena, It doesn't seem to show me the failed statement. This run I increased the InnoDB initial buffer pool size to 60G, and it seemed to take longer before it crashes. Here's the excerp from the log: 140715 9:10:10 [Note] /usr/libexec/mysqld: ready for connections. 140715 9:21:48 InnoDB: Assertion failure in thread 70299105882288 in file fil0fil.c line 5286 To report this bug, see http://kb.askmonty.org/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 5.5.37-MariaDB-log Thread pointer: 0x0x0 |
| Comment by Nat Prakongpan [ 2014-07-15 ] |
|
I just found the log of the statement. Let me isolate the dump to that specific table and I'll let you know more. |
| Comment by Nat Prakongpan [ 2014-07-15 ] |
|
I've uploaded mdev-6436.tgz to ftp.askmonty.org/private. I use the create.dump (edit out CONSTRAINT line) to create the table. The appevent.dump is the actual lock/insert/unlock. The error happens when I was trying to import the appevent.dump. |
| Comment by Elena Stepanova [ 2019-03-31 ] |
|
svoj, Would you say that it was the same problem as I suspect the relation because this upstream bug https://bugs.mysql.com/bug.php?id=77795 presents an assertion failure which looks identical; it's closed as a duplicate of https://bugs.mysql.com/bug.php?id=76135 which, in turn, is a spin-off of |
| Comment by Sergey Vojtovich [ 2019-03-31 ] |
|
Yes, it very likely duplicates |