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

mariabackup hangs forever if using parallel threads

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4.26
    • 10.4.27
    • Backup
    • NAME="CentOS Linux"
      VERSION="7 (Core)"

    Description

      Issue was first noticed when upgraded MariaDB 10.4.21 => 10.4.22.
      Verified now 10.4.26 behaves the same way.
      ***********

      When running mariabackup in single threaded mode - no issue:

      # mariabackup -u mysql -pxxx --backup --compress --compress-threads=1 --parallel=1 --stream=xbstream --extra-lsndir=/mysql_backup/ --target-dir=/mysql_backup/ --tmpdir=/tmp/database > /mysql_backup/d1.bkp 2> /tmp/e1.txt

      =>
      # ls -lha /mysql_backup/d1.bkp
      rw-rr-. 1 root root 759M Oct 11 12:01 /mysql_backup/d1.bkp

      When running mariabackup with 2 threads - hangs forever:

      # mariabackup -u mysql -pxxx --backup --compress --compress-threads=2 --parallel=2 --stream=xbstream --extra-lsndir=/mysql_backup/ --target-dir=/mysql_backup/ --tmpdir=/tmp/database > /mysql_backup/d2.bkp 2> /tmp/e2.txt

      Attached mariabackup logs from both single threaded (e1.txt) and 2-threaded (e2.txt) sessions.
      Attached also gstack taken from hanging case - gstack_mariabackup_2_threads_hanging.txt

      Attachments

        1. e1.txt
          258 kB
        2. e2.txt
          123 kB
        3. gstack_mariabackup_2_threads_hanging.txt
          3 kB

        Activity

          People

            tturenko Timofey Turenko
            ykantoni YURII KANTONISTOV
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.