mirror of
https://github.com/schoebel/mars
synced 2025-05-08 11:08:16 +00:00
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)";
|
_primary_res($res, "(none)", $pri, $old) unless $old eq "(none)";
|
||||||
_trigger();
|
_trigger();
|
||||||
sleep(5);
|
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";
|
print "resource directory $res not stable, waiting....\n";
|
||||||
sleep(5);
|
sleep(5);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user