[MDEV-27919] mariabackup --log-copy-interval is measured in milliseconds in 10.5 and in microseconds in 10.6 Created: 2022-02-23 Updated: 2022-08-25 Resolved: 2022-04-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | mariabackup |
| Affects Version/s: | 10.6.7 |
| Fix Version/s: | 10.6.8, 10.7.4, 10.8.3, 10.9.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Harvey Cooper | Assignee: | Vladislav Lesin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Hi, all MariaBackup developers. We have two MariaDB clusters, which both version 10.0.x And recently upgraded from 10.0.x to 10.6.2 But as I tested, when I upgraded from 10.0.x to 10.5.x, the log ">> log scanned up to (...)" is not so overwhelming. (the log file size is occupied by several megabytes) FYI, Recovered from the same database backup. It sounds like a bug in mariabackup, since the --log-copy-interval (default is 1000ms) can't control the log output frequency.
|
| Comments |
| Comment by Marko Mäkelä [ 2022-03-25 ] | |||||||||||||||||||||||||||||||||||
|
Our regression tests (mtr) filter out all output of mariabackup or mariadb-backup. I noticed this spamming when removing the log block structure and log block parser in If this really is a regression in 10.6, then | |||||||||||||||||||||||||||||||||||
| Comment by Vladislav Lesin [ 2022-04-15 ] | |||||||||||||||||||||||||||||||||||
|
In 10.5 polling interval is measured in microseconds:
While in 10.6 the interval is measured in nanoseconds:
The workaround is to increase --log-copy-interval by a thousand times until it's fixed. | |||||||||||||||||||||||||||||||||||
| Comment by Vladislav Lesin [ 2022-04-19 ] | |||||||||||||||||||||||||||||||||||
|
The bug was caused by 38fd7b7d9170. | |||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2022-04-19 ] | |||||||||||||||||||||||||||||||||||
|
Thank you for the analysis. I’m glad that it was so trivial after all. I hope that you can figure out some way to test it in mtr. |