From 884da334b2b75ff063dabcbd6470938697ae7ff8 Mon Sep 17 00:00:00 2001 From: Fangjin Yang Date: Fri, 14 Dec 2012 22:06:19 -0800 Subject: [PATCH] fix for master getting stuck when assigning --- .../src/main/java/com/metamx/druid/master/rules/LoadRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java index ab093f4e070..fea94f882a1 100644 --- a/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java +++ b/server/src/main/java/com/metamx/druid/master/rules/LoadRule.java @@ -84,7 +84,7 @@ public abstract class LoadRule implements Rule break; } if (holder.containsSegment(segment)) { - serverQueue.add(holder); + assignedServers.add(holder); continue; }