Skip to content

Check algorithm=innodb on crc32 checksum mismatch before crc32(big endian) #39

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

Closed
wants to merge 1 commit into from
Closed

Check algorithm=innodb on crc32 checksum mismatch before crc32(big endian) #39

wants to merge 1 commit into from

Conversation

grooverdan
Copy link

When a page has had its checksum fail and the algorithm = CRC32,
its most likely because we've updated from 5.6 where the default
was algorithm=innodb. We should test that algorithm innodb on the
page passes before testing the crc32 in big endian way (
page_zip_calc_checksum(..., true)) as its more likely to be true.

When a page has had its checksum fail and the algorithm = CRC32,
its most likely because we've updated from 5.6 where the default
was algorithm=innodb. We should test that algorithm innodb on the
page passes before testing the crc32 in big endian way (
page_zip_calc_checksum(..., true)) as its more likely to be true.
@grooverdan grooverdan changed the title Check algorithm=innodb on crc32 checksum fault before crc32(big endian) Check algorithm=innodb on crc32 checksum mismatch before crc32(big endian) Dec 21, 2015
@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@grooverdan
Copy link
Author

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=79725 for updates.
Thanks

vmg pushed a commit to planetscale/mysql-server that referenced this pull request Nov 21, 2023
…rtion

Fix broken assertion for rows read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants