[MDEV-29764] mariabackup hangs forever if using parallel threads Created: 2022-10-11 Updated: 2023-01-31 Resolved: 2023-01-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.4.26 |
| Fix Version/s: | 10.4.27 |
| Type: | Bug | Priority: | Major |
| Reporter: | YURII KANTONISTOV | Assignee: | Timofey Turenko |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
NAME="CentOS Linux" |
||
| Attachments: |
|
| Description |
|
Issue was first noticed when upgraded MariaDB 10.4.21 => 10.4.22. 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 => 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. |
| Comments |
| Comment by Elena Stepanova [ 2022-10-11 ] | |
|
It should be a duplicate of tturenko, could you please double-check that it's a duplicate, and add both original mariabackup calls with their parameter combinations (from this bug report and from | |
| Comment by Timofey Turenko [ 2023-01-31 ] | |
|
confirmed reproducible with 10.4.26 and not reproducible with 10.4.27. regression test creation - a separate issue is created TODO-3779 | |
| Comment by Timofey Turenko [ 2023-01-31 ] | |
|
confirmed: duplicate and it is not reproducible with 10.4.27 | |
| Comment by Timofey Turenko [ 2023-01-31 ] | |
|
btw, according https://mariadb.com/kb/en/mariabackup-options/#-compress `--compress` option is deprecated starting with 10.1.31
|