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

mariabackup console output should be changed

Details

    Description

      The console output from mariabackup should start with "mariabackup", not "xtrabackup".

      # mariabackup --defaults-file=/etc/my.cnf --backup --compress --host=127.0.0.1 --port=3306 --user=backup --password=changeme --compress-threads=16 --parallel=16 --extra-lsndir=/var/local-backup --stream=xbstream --tmpdir=/tmp/backup_3306 > /opt/backup/databases/backup_2017_06_03_08_08.xbs
      170603 08:21:55 Connecting to MySQL server host: 127.0.0.1, user: backup, password: set, port: 3306, socket: not set
      Using server version 10.1.24-MariaDB
      mariabackup based on MariaDB server 10.1.24-MariaDB Linux (x86_64) 
      xtrabackup: uses posix_fadvise().
      xtrabackup: cd to /opt/mysql
      xtrabackup: open files limit requested 65535, set to 100001
      xtrabackup: using the following InnoDB configuration:
      xtrabackup:   innodb_data_home_dir = /opt/mysql
      xtrabackup:   innodb_data_file_path = ibdata1:128M:autoextend
      xtrabackup:   innodb_log_group_home_dir = /opt/mysql
      xtrabackup:   innodb_log_files_in_group = 2
      xtrabackup:   innodb_log_file_size = 268435456
      2017-06-03 08:21:55 7f1f34a25900 InnoDB: Using Linux native AIO
      xtrabackup: using O_DIRECT
      xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.
      170603 08:21:55 >> log scanned up to (376182854)
      

      Attachments

        Activity

          ralf.gebhardt Ralf Gebhardt created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Fix Version/s 10.1 [ 16100 ]
          Fix Version/s 10.2 [ 14601 ]
          serg Sergei Golubchik made changes -
          Description The console output from mariabackup should start with "mariabackup", not "xtrabackup".

          # mariabackup --defaults-file=/etc/my.cnf --backup --compress --host=127.0.0.1 --port=3306 --user=backup --password=changeme --compress-threads=16 --parallel=16 --extra-lsndir=/var/local-backup --stream=xbstream --tmpdir=/tmp/backup_3306 > /opt/backup/databases/backup_2017_06_03_08_08.xbs
          170603 08:21:55 Connecting to MySQL server host: 127.0.0.1, user: backup, password: set, port: 3306, socket: not set
          Using server version 10.1.24-MariaDB
          mariabackup based on MariaDB server 10.1.24-MariaDB Linux (x86_64)
          xtrabackup: uses posix_fadvise().
          xtrabackup: cd to /opt/mysql
          xtrabackup: open files limit requested 65535, set to 100001
          xtrabackup: using the following InnoDB configuration:
          xtrabackup: innodb_data_home_dir = /opt/mysql
          xtrabackup: innodb_data_file_path = ibdata1:128M:autoextend
          xtrabackup: innodb_log_group_home_dir = /opt/mysql
          xtrabackup: innodb_log_files_in_group = 2
          xtrabackup: innodb_log_file_size = 268435456
          2017-06-03 08:21:55 7f1f34a25900 InnoDB: Using Linux native AIO
          xtrabackup: using O_DIRECT
          xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.
          170603 08:21:55 >> log scanned up to (376182854)
          The console output from mariabackup should start with "mariabackup", not "xtrabackup".
          {noformat}
          # mariabackup --defaults-file=/etc/my.cnf --backup --compress --host=127.0.0.1 --port=3306 --user=backup --password=changeme --compress-threads=16 --parallel=16 --extra-lsndir=/var/local-backup --stream=xbstream --tmpdir=/tmp/backup_3306 > /opt/backup/databases/backup_2017_06_03_08_08.xbs
          170603 08:21:55 Connecting to MySQL server host: 127.0.0.1, user: backup, password: set, port: 3306, socket: not set
          Using server version 10.1.24-MariaDB
          mariabackup based on MariaDB server 10.1.24-MariaDB Linux (x86_64)
          xtrabackup: uses posix_fadvise().
          xtrabackup: cd to /opt/mysql
          xtrabackup: open files limit requested 65535, set to 100001
          xtrabackup: using the following InnoDB configuration:
          xtrabackup: innodb_data_home_dir = /opt/mysql
          xtrabackup: innodb_data_file_path = ibdata1:128M:autoextend
          xtrabackup: innodb_log_group_home_dir = /opt/mysql
          xtrabackup: innodb_log_files_in_group = 2
          xtrabackup: innodb_log_file_size = 268435456
          2017-06-03 08:21:55 7f1f34a25900 InnoDB: Using Linux native AIO
          xtrabackup: using O_DIRECT
          xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.
          170603 08:21:55 >> log scanned up to (376182854)
          {noformat}
          mxu Michael Xu added a comment -

          Is that a typo?

          xtrabackupp: Warning: ignoring innodb_flush_method = O_DIRECT on Windows.

          And how about suppress this warning message on Linux?

          mxu Michael Xu added a comment - Is that a typo? xtrabackupp : Warning: ignoring innodb_flush_method = O_DIRECT on Windows. And how about suppress this warning message on Linux?
          ralf.gebhardt Ralf Gebhardt made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          wlad Vladislav Vaintroub made changes -
          Fix Version/s 10.1.29 [ 22636 ]
          Fix Version/s 10.2 [ 14601 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          marko Marko Mäkelä made changes -
          Fix Version/s 10.2.11 [ 22634 ]
          Fix Version/s 10.3.3 [ 22644 ]

          mxu, yes, it was a typo, and the message was removed in the first fix, also on Windows.

          marko Marko Mäkelä added a comment - mxu , yes, it was a typo, and the message was removed in the first fix , also on Windows.
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 81994 ] MariaDB v4 [ 152594 ]

          People

            wlad Vladislav Vaintroub
            ralf.gebhardt Ralf Gebhardt
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.