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

feature request - preserve slave_skip_errors binlog events to own binlog

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None

      Description

      When slave_skip_errors has a setting, its useful to know which events got triggered.

      Is a slave_skip_errors_binlog possible to store events in blog format that for the slave_skip_errors criteria are skipped?

      This would assist with post-mortem, what when wrong as well as provide a recovery mechanism.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              I vote for that. Don't know about a separate binlog, maybe it's hard to implement, but at least they could be written in the error log, in the same form as they would have been written if there were no slave_skip_errors, only as warnings instead of errors.

              Show
              elenst Elena Stepanova added a comment - I vote for that. Don't know about a separate binlog, maybe it's hard to implement, but at least they could be written in the error log, in the same form as they would have been written if there were no slave_skip_errors, only as warnings instead of errors.
              Hide
              danblack Daniel Black added a comment -

              As warnings in the error log is good also. At least with a binlog you don't have the same consistency obligations of a normal binlog. The case I had in mind was using for was bulk loading 10K row insert statements and some failed on primary key (possibly the client did something odd before I was engaged).

              Show
              danblack Daniel Black added a comment - As warnings in the error log is good also. At least with a binlog you don't have the same consistency obligations of a normal binlog. The case I had in mind was using for was bulk loading 10K row insert statements and some failed on primary key (possibly the client did something odd before I was engaged).
              Hide
              danblack Daniel Black added a comment -

              a status variable slave_skip_errors_count would also be good for monitoring/graphing

              Show
              danblack Daniel Black added a comment - a status variable slave_skip_errors_count would also be good for monitoring/graphing

                People

                • Assignee:
                  knielsen Kristian Nielsen
                  Reporter:
                  danblack Daniel Black
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: