PMM-14594 Backup compatibility fix.#5395
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3 #5395 +/- ##
==========================================
+ Coverage 43.46% 43.73% +0.27%
==========================================
Files 413 413
Lines 42928 42409 -519
==========================================
- Hits 18659 18549 -110
+ Misses 22393 22051 -342
+ Partials 1876 1809 -67
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@copilot review |
…ide caution admonition Agent-Logs-Url: https://github.com/percona/pmm/sessions/26f00a58-ad66-4a7b-8e9a-573f1cef3d41 Co-authored-by: JiriCtvrtka <62988319+JiriCtvrtka@users.noreply.github.com>
|
|
Reviewed the changes. The core logic looks correct:
One documentation formatting issue was found and fixed in commit |
| return nil | ||
| } | ||
|
|
||
| switch mysqlXtrabackupBandFor(mysqlVersion) { |
There was a problem hiding this comment.
Minor / non-blocking: the band is computed twice on the incompatible path. mysqlAndXtrabackupCoreVersionsCompatible (line 203) already calls mysqlXtrabackupBandFor internally, and this switch calls it again. The cost is negligible and the code reads fine as-is, so this is just a note — if you want to tidy it up, you could compute the band once and reuse it for both the compatibility check and the error switch.
|
@copilot review and verify if #5395 (comment) is addressed. |
|
@copilot review and verify if #5395 (comment) is addressed. |
PMM-14594
FB: Percona-Lab/pmm-submodules#4368