PT-2129 - pt-online-schem-change and other tools fail on non-readable version check file

- Implemented fix in lib/VersionCheck.pm
- Updated modules in all tools
- Added test case to t/pt-query-digest/version_check.t
This commit is contained in:
Sveta Smirnova
2025-03-29 23:22:44 +03:00
parent ebacadf098
commit ef2dbd887f
20 changed files with 37 additions and 26 deletions

View File

@@ -4431,7 +4431,7 @@ sub version_check {
PTDEBUG && _d('Version check failed:', $EVAL_ERROR);
}
if ( @$instances_to_check ) {
if ( $instances_to_check and @$instances_to_check ) {
eval {
update_check_times(
instances => $instances_to_check,