2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Revert "Modify mysqlsetup and restorexCATdb to examine DB restoration delay"

This commit is contained in:
peterwywong 2021-03-10 11:33:08 -06:00 committed by GitHub
parent 9e0b3a3a34
commit 94bb4ca4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 18 deletions

View File

@ -1965,7 +1965,7 @@ sub restorexcatdb
}
# restore it
my $cmd = "XCATBYPASS=y XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir > /tmp/test_delay.log";
my $cmd = "XCATBYPASS=y XCATCFG=\"$xcatcfg\" restorexCATdb -p $::backupdir";
# not display passwords in verbose mode
my $tmpv = $::VERBOSE;

View File

@ -77,26 +77,9 @@ if (@output2) {
@skiptbls = split(/\,/, $output2[0]);
}
system("date");
print "\ndf:\n\n";
system("df");
print "\n";
system("lsblk");
print "\n";
print "meminfo:\n\n";
system("cat /proc/meminfo");
print "\n";
print "/etc/xcat/cfgloc\n\n";
system("cat /etc/xcat/cfgloc");
print "\n";
my @files = readdir(DIRPATH);
foreach my $table (@files)
{
system("date");
print "Table: $table\n\n";
if ($table ne '.' and $table ne '..')
{
my $tablename = $::PATH;