Repository: kylin Updated Branches: refs/heads/KYLIN-2033 74333874b -> cac57c629
minor UT fix Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/cac57c62 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/cac57c62 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/cac57c62 Branch: refs/heads/KYLIN-2033 Commit: cac57c62915fbb6814ef17b3568c9a2a2c895bf2 Parents: 7433387 Author: Yang Li <liy...@apache.org> Authored: Fri Sep 23 21:11:02 2016 +0800 Committer: Yang Li <liy...@apache.org> Committed: Fri Sep 23 21:11:02 2016 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/cac57c62/core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java ---------------------------------------------------------------------- diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java b/core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java index aa9a475..ce31755 100644 --- a/core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java +++ b/core-metadata/src/main/java/org/apache/kylin/metadata/cachesync/Broadcaster.java @@ -170,7 +170,7 @@ public class Broadcaster { notifyListener(SYNC_PRJ_DATA, Event.UPDATE, project); } - public void notifyListener(String entity, Event event, String cacheKey) throws IOException { + public synchronized void notifyListener(String entity, Event event, String cacheKey) throws IOException { List<Listener> list = listenerMap.get(entity); if (list == null) return;