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

mariabackup stores all binary logs when server runs with binlog-storage-engine

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • N/A
    • 12.3
    • Replication
    • None

    Description

      # Run with --mysqld=--log-bin --mysqld=--binlog-storage-engine=innodb
       
      --source include/have_innodb.inc
       
      create table t (a int) engine=InnoDB;
      flush binary logs;
      insert into t values (1);
      flush binary logs;
      insert into t values (2);
      flush binary logs;
       
      --exec $XTRABACKUP --backup --target-dir=$MYSQL_TMP_DIR/mbackup --socket=$MASTER_MYSOCK --user=root > $MYSQL_TMP_DIR/mbackup.log 2>&1
      --list_files $MYSQL_TMP_DIR/mbackup/ *
       
      drop table t;
      

      knielsen_binlog_in_engine_12.3 bdb12452d375002bc55d6364f8800baed13bbded

      aria_log.00000001
      aria_log_control
      backup-my.cnf
      binlog-000000.ibb
      binlog-000001.ibb
      binlog-000002.ibb
      binlog-000003.ibb
      ib_logfile0
      ibdata1
      ...
      

      Once before in the past mariabackup was made to store all binary logs (MDEV-28758), and based on the feedback, it turned out to be one of the most objected changes ever made. I doubt it can be done again, at least not by default.

      Attachments

        Issue Links

          Activity

            People

              knielsen Kristian Nielsen
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.