mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: prevent retrieval of illformed alivelinks
This commit is contained in:
parent
65b39d5f16
commit
91d0b3fd35
@ -2459,6 +2459,7 @@ sub get_alive_links {
|
|||||||
my %peers;
|
my %peers;
|
||||||
foreach my $peer (@peer_list) {
|
foreach my $peer (@peer_list) {
|
||||||
next if ($peer eq $host && $hosts ne $host);
|
next if ($peer eq $host && $hosts ne $host);
|
||||||
|
next if $peer =~ $match_reserved_id;
|
||||||
# After join-cluster & co, links may take a while to appear
|
# After join-cluster & co, links may take a while to appear
|
||||||
$peers{$peer} = 1 if $non_participating;
|
$peers{$peer} = 1 if $non_participating;
|
||||||
# peer must be a candiate matching the hosts spec
|
# peer must be a candiate matching the hosts spec
|
||||||
|
Loading…
Reference in New Issue
Block a user