[MDEV-11831] Make InnoDB mini-transaction memo checks stricter Created: 2017-01-18 Updated: 2017-01-18 Resolved: 2017-01-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | 10.2.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | debug | ||
| Description |
|
InnoDB keeps track of buffer-fixed buf_block_t or acquired rw_lock_t within a mini-transaction. There are some memo_contains assertions in the code that document when certain blocks or rw_locks must be held. But, these assertions only check the mini-transaction memo, not the fact whether the rw_lock_t are actually being held by the caller. |
| Comments |
| Comment by Jan Lindström (Inactive) [ 2017-01-18 ] |
|
ok to push. |