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

mariabackup.incremental_backup failed with memory allocation failure

    XMLWordPrintable

    Details

      Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/20355

      10.2 3fb0fe40

      mariabackup.incremental_backup '64k,innodb' w4 [ fail ]
              Test ended at 2019-11-30 03:48:21
       
      CURRENT_TEST: mariabackup.incremental_backup
      [00] 2019-11-30 03:48:21 Connecting to MySQL server host: localhost, user: root, password: set, port: 16020, socket: /mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/tmp/4/mysqld.1.sock
      [00] 2019-11-30 03:48:21 Using server version 10.2.30-MariaDB-debug-log
      /mnt/buildbot/build/mariadb-10.2.30/extra/mariabackup/mariabackup based on MariaDB server 10.2.30-MariaDB Linux (i686)
      [00] 2019-11-30 03:48:21 incremental backup from 6078476 is enabled.
      [00] 2019-11-30 03:48:21 uses posix_fadvise().
      [00] 2019-11-30 03:48:21 cd to /mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/4/mysqld.1/data/
      [00] 2019-11-30 03:48:21 open files limit requested 1024, set to 1024
      [00] 2019-11-30 03:48:21 InnoDB: The page size of the database is set to 65536.
      [00] 2019-11-30 03:48:21 mariabackup: using the following InnoDB configuration:
      [00] 2019-11-30 03:48:21 innodb_data_home_dir = 
      [00] 2019-11-30 03:48:21 innodb_data_file_path = ibdata1:12M:autoextend
      [00] 2019-11-30 03:48:21 innodb_log_group_home_dir = ./
      [00] 2019-11-30 03:48:21 InnoDB: Using Linux native AIO
      2019-11-30  3:48:21 3069069248 [Note] InnoDB: Number of pools: 1
      [00] 2019-11-30 03:48:21 mariabackup: Generating a list of tablespaces
      2019-11-30  3:48:21 3069069248 [Warning] InnoDB: Allocated tablespace ID 5 for test/t, old maximum was 0
      [00] 2019-11-30 03:48:21 >> log scanned up to (6083805)
      [00] 2019-11-30 03:48:21 mariabackup: Starting 2 threads for parallel data files transfer
      2019-11-30  3:48:21 3041913664 [ERROR] InnoDB: mmap(1073741824 bytes) failed; errno 12
      [02] 2019-11-30 03:48:21 Can't allocate 1073741824 bytes
      [02] 2019-11-30 03:48:21 mariabackup: error: failed to initialize page write filter.
      [01] 2019-11-30 03:48:21 Copying ibdata1 to /mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/4/tmp/backup_inc1/ibdata1.delta
      [02] 2019-11-30 03:48:21 mariabackup: xtrabackup_copy_datafile() failed.
      [00] FATAL ERROR: 2019-11-30 03:48:21 failed to copy datafile.
      mysqltest: At line 53: exec of '/mnt/buildbot/build/mariadb-10.2.30/extra/mariabackup/mariabackup --defaults-file=/mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/4/my.cnf --backup --parallel=2 --ftwrl-wait-timeout=5 --ftwrl-wait-threshold=300 --ftwrl-wait-query-type=all --target-dir=/mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/4/tmp/backup_inc1 --incremental-basedir=/mnt/buildbot/build/mariadb-10.2.30/mysql-test/var/4/tmp/backup' failed, error: 256, status: 1, errno: 11
      Output from before failure:
      i
      1
      2
       
       
       
      The result from queries just before the failure was:
      < snip >
      connect  con1,localhost,root,,;
      SET GLOBAL innodb_flush_log_at_trx_commit = 1;
      INSERT INTO t VALUES(1);
      # Create full backup , modify table, then create incremental/differential backup
      BEGIN;
      INSERT INTO t VALUES(0);
      DELETE FROM t WHERE i=0;
      connection default;
      COMMIT;
      # Generate enough aria log records to increase area log file size
      SELECT * FROM t;
      i
      1
      2
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlad.lesin Vladislav Lesin
              Reporter:
              abychko Alexey Bychko
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: