[MDEV-26166] Innodb : replace log_write_up_to(LSN_MAX,...) with log_buffer_flush_to_disk() Created: 2021-07-16 Updated: 2021-07-21 Resolved: 2021-07-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5, 10.6 |
| Fix Version/s: | 10.5.12, 10.6.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Vladislav Vaintroub | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
There are several functions in Innodb to write log flush up to highest current lsn. Also, our unconventional use of LSN_MAX as parameter to log_write_up_to(), for special purpose of writing/flushing up to highest current lsn, confused at least one Oracle MySQL developer, who claimed finding a bug, after adding incorrect assertion to the code. |