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] myloader Segmentation fault #1492
Comments
I could provide another gdb stack
It seems that the bug is realted to |
Hi @snowproud, |
Hi, @davidducos , could you tell me which commit fixed th bug. Myloader import failed because the backupfile produced by mydumper 0.14 is wrong? I have tried to import backup(produced by mydumper 0.14-3)with myloader 0.16.1 , but still failed. |
Hi @snowproud, I recommend you to take a backup with the latest version and restore it with the same version that you take the backups. We don't support cross version backup restoration, which doesn't mean that it is not going to work. |
Hi @davidducos, I wonder whether the bug is a known and solved issue. Now I have to restore backup(produced by mydumper 0.14.3), therefore I need to fix the bug of myloader 0.14.3. |
Hi @snowproud, Why don't you try with myloader0.14.5-1? usually, releases within the same major version and higher minor version there is high changes to be compatible. |
Describe the bug
when execute
/home/mysql/dbbackup-go/bin/myloader -h xxx -P xxxx -u xxxx -p xxxxx -d /data/dbbak/20240510f5d388/20000/doDr_20240510172358/20000/934_1001456_xxxxx_20000_20240508051226_logical --threads=1 --set-names=binary -x '^(?!(mysql\.|sys\.|test\.|db_infobase\.|infodba_schema\.))' >> /home/mysql/dbbackup-go/logs/myloader_5.log 2>&1
I encountered the Segmentation fault (core dumped)
To Reproduce
/home/mysql/dbbackup-go/bin/myloader -h xxx -P xxxx -u xxxx -p xxxxx -d /data/dbbak/20240510f5d388/20000/doDr_20240510172358/20000/934_1001456_11.147.24.162_20000_20240508051226_logical --threads=1 --set-names=binary -x '^(?!(mysql\.|sys\.|test\.|db_infobase\.|infodba_schema\.))' >> /home/mysql/dbbackup-go/logs/myloader_5.log 2>&1
When execute the command repeatedly, it sometimes caused Segmentation fault, and sometimes load success.
I'm confused that what causes this bug.
log
What mydumper and myloader version has been used?
myloader0.14.3-1, built against MySQL 5.7.35 with SSL support with ZSTD
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: