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

Poor error message upon running SHOW BINLOG EVENTS on encrypted binlog with a wrong key

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    Description

      • start server with binlog encryption and file_key_management plugin/keyfile;
      • create some events;
      • restart server with a different keyfile (different value for key 1);
      • run SHOW BINLOG EVENTS on the previous log:

      MariaDB [test]> show binlog events in 'jessie-bin.000001';
      ERROR 1220 (HY000): Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error
      

      Naturally, server shouldn't be able to decrypt the binlog, but the diagnostics could have been better.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: