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

PXB-3221 : Assertion failure: page0cur.cc:1177:ib::fatal triggered du… #1588

Merged

Conversation

satya-bodapati
Copy link
Contributor

…ring prepare/or next server startup

Problem:

If there are tables created in system tablespace and if ALTER ADD INDEX/DROP INDEX is executed before the backup lock is taken, system tablespace could end up in corrupted state.

This is because this operation is not redologged and we are supposed to recopy the system tablespace files. But we dont track system tablesapce, neither reopen and recopy them. Hence this issue.

Fix:

  1. Track system tablespace in the list of tables tracked/backedup
  2. Removing tracking for tables in system tablespace except of recopy. Other operations can be played via redolog
  3. Reopen system tablespace and recopy them as ibdata1.new/ ibdata2.new

…ring prepare/or next server startup

Problem:
--------
If there are tables created in system tablespace and if ALTER ADD INDEX/DROP INDEX is executed before the
backup lock is taken, system tablespace could end up in corrupted state.

This is because this operation is not redologged and we are supposed to recopy the system tablespace files.
But we dont track system tablesapce, neither reopen and recopy them. Hence this issue.

Fix:
----
1. Track system tablespace in the list of tables tracked/backedup
2. Removing tracking for tables in system tablespace except of recopy. Other operations can be played via redolog
3. Reopen system tablespace and recopy them as ibdata1.new/ ibdata2.new
@satya-bodapati satya-bodapati self-assigned this Jul 19, 2024
@satya-bodapati satya-bodapati merged commit d525604 into percona:dev-reducedlock-trunk Jul 19, 2024
5 checks passed
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