Skip to content
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

PS-9462: The trx_sys->max_trx_id maintained during the startup phase of InnoDB may be incorrect #5457

Open
wants to merge 1 commit into
base: release-5.7.44-51
Choose a base branch
from

Conversation

xingyingone
Copy link

@xingyingone xingyingone commented Oct 16, 2024

  1. Reading max_trx_id from page [0,5] may before page application. In this way, the read max_trx_id may be smaller than the true value.
  2. This may cause the trx_id in the data record to be greater than trx_sys->max_trx_id. In the debug version, it will crash in ReadView::check_trx_id_sanity.

…of InnoDB may be incorrect.

1. Reading max_trx_id from page [0,5] may before page application. In this way, the read max_trx_id may be smaller than the true value.
2. This may cause the trx_id in the data record to be greater than trx_sys->max_trx_id. In the debug version, it will crash in ReadView::check_trx_id_sanity.
@xingyingone xingyingone changed the title [bugfix] The trx->max_trx_id maintained in trx_sys_init_at_db_start d… PS-9462: The trx_sys->max_trx_id maintained during the startup phase of InnoDB may be incorrect Oct 16, 2024
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.

1 participant