[MDEV-21814] Mariabackup some times fails on rocksdb check Created: 2020-02-25 Updated: 2020-03-26 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | mariabackup |
| Affects Version/s: | 10.2.25 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Michaël de groot | Assignee: | Vladislav Lesin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hi, Some times my periodic mariabackup (version 10.2.25 running to MariaDB 10.2.25 with Galera enabled) fails on locks (despite --no-lock is specified) while checking if rocksdb is enabled:
I don't know if this is a bug in the server or Mariabackup, I am surprised that a information_schema query on the plugins table is locked by another thread. Thanks, |
| Comments |
| Comment by Marko Mäkelä [ 2020-02-25 ] |
|
michaeldg, which version is this? 10.4 introduced backup locks. |
| Comment by Michaël de groot [ 2020-02-25 ] |
|
The MariaDB version is 10.2.25: Are backup locks relevant for this case? I specify --no-lock so it should not take any locks at all. |
| Comment by Michaël de groot [ 2020-02-25 ] |
|
Oh, probably worth to explicitly mention as well that this backup runs on a Galera cluster node. We set wsrep_desync while running the backup. |
| Comment by Marko Mäkelä [ 2020-02-25 ] |
|
Thanks for the clarification! I believe that --no-lock is unsafe when there could be concurrent DDL operations. It would still be helpful if you could provide a self-contained test case. Can you repeat this without Galera? |
| Comment by Michaël de groot [ 2020-02-25 ] |
|
The application does not perform DDL operations. But if it were, should this block an information_schema query? I think that points to the issue being more server or galera related then mariabackup. The issue occurred 3 times now (January 9th for the first time), and always on the same query as you can find in the log here. I don't know how to repeat this as it doesn't always occur. I will post updates here once I get to know more. |