server icon indicating copy to clipboard operation
server copied to clipboard

MDEV-31161 Assertion failures upon adding a too long key to table with COMPRESSED row

Open Thirunarayanan opened this issue 1 year ago • 1 comments

  • [x] The Jira issue number for this PR is: MDEV-31161

Description

Problem:

During InnoDB non-rebuild online alter operation, InnoDB set the dummy log to clustered index online log. This can be used by concurrent DML to identify whether the table undergoes online DDL. InnoDB fails to reset the dummy log of clustered index in case of error happened during prepare phase.

Solution:

Reset the InnoDB clustered index online log in case of error during prepare phase.

How can this PR be tested?

./mtr innodb.row_size_error_log_warnings_3

Basing the PR against the correct MariaDB version

  • [ ] This is a new feature and the PR is based against the latest MariaDB development branch.
  • [x] This is a bug fix and the PR is based against the earliest maintained branch in which the bug can be reproduced.

PR quality check

  • [x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
  • [x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.

Thirunarayanan avatar Apr 30 '24 15:04 Thirunarayanan

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 30 '24 15:04 CLAassistant