[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.
It needs to be cleaned up, we already have log_buffer_flush_to_disk() function.

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.


Generated at Thu Feb 08 09:43:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.