mirror of https://github.com/apache/druid.git
1) Make BasePhoneBook not quite so zealous about throwing exceptions when things didn't line up exactly as it thought they should.
This commit is contained in:
parent
34b4383934
commit
f4e843c8dc
|
@ -112,7 +112,8 @@ class StoppedPhoneBook implements PhoneBook
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! serviceAnnouncements.containsKey(nodeName)) {
|
if (! serviceAnnouncements.containsKey(nodeName)) {
|
||||||
throw new IAE("Cannot unannounce node[%s] on service[%s]", nodeName, serviceName);
|
log.warn("Cannot unannounce[%s]: it doesn't exist for service[%s]", nodeName, serviceName);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
serviceAnnouncements.remove(nodeName);
|
serviceAnnouncements.remove(nodeName);
|
||||||
|
|
Loading…
Reference in New Issue