fix bad replay symlink upon join-resource

This commit is contained in:
Thomas Schoebel-Theuer 2011-10-21 10:29:27 +02:00 committed by Thomas Schoebel-Theuer
parent 750a36de5d
commit 6f5a3b0da2
1 changed files with 1 additions and 0 deletions

View File

@ -308,6 +308,7 @@ sub create_res {
}
die "sizes differ: real size = $oldsize, but requested size = $size\n" unless $oldsize == $size;
$replay = readlink("$tmp/replay-$primary") or die "cannot read replay status of primary '$primary'\n";
$replay =~ s/,[0-9]+,[0-9]+$/,0,0/;
}
my $file = "$tmp/data-$host";