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

[PATCH] Do not put stop events into binlog

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.0.2
    • None
    • None
    • None

    Description

      We have the attached patch in our MySQL and MariaDB trees that removes the code putting stop events into binlog. The reasoning for removing these events is:

      1. The slave takes no action in response to the event so it isn't needed to begin with.
      2. If the master and slave are running with different binlog formats, the slave writes the stop event in its format while the rest of the events in the relay logs are of the master's format. This can cause the SQL thread to explode when it tries to read the stop event.
      3. If the master is generating an ID sequence we do not want the stop event to consume an ID.

      Could you consider including this patch into MariaDB?

      Attachments

        Activity

          People

            knielsen Kristian Nielsen
            pivanof Pavel Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.