New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] double free or corruption when using innodb-optimize-keys #703
Comments
Hi @BenjaminBauerBM , Is it possible for you to test with master? you will need to compile it, but I think that we might already fix it. Please, let me know |
Hi @davidducos , thanks for quick answer. Thanks |
Awesome! sorry for that bug! I had been playing with Valgrind to reduce memory leaks and I accidentally introduced some bugs as I had no experience fixing those kind of issues and it has been quite hard to debug. However, I learned a lot so, it will be simpler in the future and I will be able to reduce the posible bugs. |
haha, I also encountered this problem when restoring data in version 0.12.2. |
Hi, @davidducos, I used version 0.12.3-3 to reproduce this exception. It is indeed triggered by using the --innodb-optimize-keys option. With or without AFTER_IMPORT_ALL_TABLES, coredump will always be triggered. |
Describe the bug
Running against a
double free or corruption
error when using myloader withinnodb-optimize-keys
option since 0.12.3-2 & onwards.Issue not present with 0.12.3-1.
To Reproduce
Command executed:
mydumper -v 3 -h $DBHOST --database=${dblist} -F 512 --rows 60000 -t $THREADCOUNT --lock-all-tables --set-names="utf8mb4" -o $BACKUPWORKDIR/backup
myloader -h $DBHOST --directory=$BACKUPWORKDIR/backup -v 3 --set-names="utf8mb4" --innodb-optimize-keys
What mydumper and myloader version has been used?
0.12.3-2
Expected behavior
exit code = 0
Log
Environment (please complete the following information):
Additional context
Database : Aurora MySQL 2.0.9.2
The text was updated successfully, but these errors were encountered: