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

mariabackup.slave_provision_nolock test failure - no progress in LSN read - 5 second timeout reached

    XMLWordPrintable

Details

    Description

      cr reports:

      00] 2026-01-23 17:57:08 Retrying read of log at LSN=48517
      [00] 2026-01-23 17:57:09 Retrying read of log at LSN=48517
      [00] 2026-01-23 17:57:10 Was only able to copy log from 48517 to 48517, not 226806197; try increasing innodb_log_file_size
      mariabackup: Stopping log copying thread[00] 2026-01-23 17:57:10 Retrying read of log at LSN=48517
      .
      mysqltest: At line 100: exec of '/data/buildbot/workers/prod/amd64-freebsd-14/build/extra/mariabackup/mariabackup --defaults-file=/data/buildbot/workers/prod/amd64-freebsd-14/build/mysql-test/var/3/my.cnf --backup --target-dir=/data/buildbot/workers/prod/amd64-freebsd-14/build/mysql-test/var/3/tmp/backup --no-lock' failed, error: 256, status: 1, errno: 22
      Output from before failure:
      *** Doing backup...
       
       
       
      The result from queries just before the failure was:
      call mtr.add_suppression("Can't init tc log");
      call mtr.add_suppression("Aborting");
      # restart
      RESET MASTER;
      CREATE TABLE t1(a varchar(60) PRIMARY KEY, b VARCHAR(60)) ENGINE INNODB;
      INSERT INTO t1 VALUES(1, NULL);
      CREATE TABLE t2 (val INT) ENGINE=InnoDB;
      INSERT INTO t2 VALUES (0);
      connect  con1,localhost,root,,;
      *** Start a background load...
      CALL gen_load();
      connection default;
      *** Doing backup...
      

      The common point is "Was only able to copy log" failing to make progress after 5 seconds. (fixed in mariadb-backup - backup_wait_for_lsn_low - while holding recv_sys mutex)

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              danblack Daniel Black
              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.