mirror of https://github.com/apache/druid.git
fix bug with out of order events on broker
This commit is contained in:
parent
2138f9fdf2
commit
7dcbea464f
|
@ -145,11 +145,10 @@ public class BrokerServerView implements TimelineServerView
|
|||
|
||||
private QueryableDruidServer removeServer(DruidServer server)
|
||||
{
|
||||
QueryableDruidServer retVal = clients.remove(server.getName());
|
||||
for (DataSegment segment : server.getSegments().values()) {
|
||||
serverRemovedSegment(server, segment);
|
||||
}
|
||||
return retVal;
|
||||
return clients.remove(server.getName());
|
||||
}
|
||||
|
||||
private void serverAddedSegment(final DruidServer server, final DataSegment segment)
|
||||
|
|
Loading…
Reference in New Issue