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

Capture corrupted binlog events at runtime

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Apart from binlog media failures, corrupted events can be caused by malfunctioning
      server itself.
      There were cases when the server binlog was exposed as a target of
      misplaced writes to. E.g by a faulty plugin.

      This task aims to discover facts of corruption.
      A legal binlog (e.g group-commit) writer will try reading out,
      as pre-write-catch,
      few common headers (19 byte each) of last
      events binlogged before to submit or write to binlog own event(s).
      At writing to binlog the writer would memorize offsets of the being written events.
      At completion respective headers would be tried out reading back - Post-write-catch.

      When any error is detected some actions could be done, this needs
      elaboration.

      Attachments

        Activity

          People

            Elkin Andrei Elkin
            Elkin Andrei Elkin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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