Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26166

Innodb : replace log_write_up_to(LSN_MAX,...) with log_buffer_flush_to_disk()

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration