[MDEV-13536] DB_TRX_ID is not actually being reset when the history is removed Created: 2017-08-15 Updated: 2017-12-07 Resolved: 2017-08-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.1 |
| Fix Version/s: | 10.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | performance, transactions | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Description |
|
The purpose of
After running this test, the t1.ibd file page 3 will contain nonzero DB_TRX_ID values. |
| Comments |
| Comment by Marko Mäkelä [ 2017-08-15 ] |
| Comment by Marko Mäkelä [ 2017-08-15 ] |
|
jplindst, please run innodb.innodb_bug14147491 in the branch. It seems that some follow-up fix for |
| Comment by Marko Mäkelä [ 2017-08-15 ] |
|
It turned out that some undo log records were being omitted from the purge queue. |
| Comment by Jan Lindström (Inactive) [ 2017-08-16 ] |
|
Last commit ok to push, the first one still has FIXME comment, has the code review done ? |
| Comment by Marko Mäkelä [ 2017-08-16 ] |
|
There is one outstanding FIXME in the first commit: Carefully review the code to determine if the comment that we are removing from trx_purge_free_segment() is bogus, and if it is actually safe to remove the TRX_UNDO_DEL_MARKS field. All other FIXME comments have been addressed in subsequent commits to bb-10.3-marko. I will squash these commits once bb-10.3-marko is green.
|
| Comment by Jan Lindström (Inactive) [ 2017-08-16 ] |
|
ok to push. |
| Comment by Axel Schwenke [ 2017-08-22 ] |
|
Note for benchmarks: implemented in commit 92f9be4, reference should be the commit immediately before f4b379d. Workload shall include read-only and read/write TRX. Possibly some queries using secondary indexes. |