mirror of https://github.com/schoebel/mars
marsadm: fix stabilizing of resource in the cluster
This commit is contained in:
parent
dcf54eacf7
commit
118d6f8c84
|
@ -200,7 +200,7 @@ sub check_splitbrain {
|
|||
_primary_res($res, "(none)", $pri, $old) unless $old eq "(none)";
|
||||
_trigger();
|
||||
sleep(5);
|
||||
while(!_check_all_mtimes("$mars/resource-$res/[lvr]*", 60)) {
|
||||
while(!_check_all_mtimes("$mars/resource-$res/{log,version,replay}-*", 60)) {
|
||||
print "resource directory $res not stable, waiting....\n";
|
||||
sleep(5);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue