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

Mariabackup hangs if table populated with INSERT... SELECT while it runs

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.2.24
    • Fix Version/s: 10.2
    • Component/s: mariabackup
    • Labels:
      None

      Description

      Mariabackup consistently hangs when you load data into a table from another table while a full backup is running.

      It hangs in the following phase:

      [00] 2019-05-15 01:23:27 Waiting for log copy thread to read lsn 5607063606354
      

      Before that, the following errors appear:

      [00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
      [00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
      [00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
      [00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
      [00] 2019-05-15 00:25:44 Retrying read of log at LSN=5593738149376
      [00] 2019-05-15 00:25:44 xtrabackup_copy_logfile() failed.
      

      This is regularly happening at a customer of ours.
      I was able to reproduce in my lab as follows:

      1. start a full backup
      2. run insert into empytable select * from sbtest1;

      Command line used for backup:

      mariabackup --backup --user=root --password=xxx --parallel=4 --extra-lsndir=/tmp --stream=xbstream --target-dir=/tmp/2019-05-16/mariabackup
      

      Isolation level: default (REPEATABLE-READ)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlad.lesin Vladislav Lesin
                Reporter:
                rpizzi Rick Pizzi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: