mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
fixed issue #657, fixed ConcurrentModificationException
This commit is contained in:
@@ -83,7 +83,8 @@ public class MemoryMetaManager extends AbstractCanalLifeCycle implements CanalMe
|
||||
}
|
||||
|
||||
public synchronized List<ClientIdentity> listAllSubscribeInfo(String destination) throws CanalMetaManagerException {
|
||||
return destinations.get(destination);
|
||||
// fixed issue #657, fixed ConcurrentModificationException
|
||||
return Lists.newArrayList(destinations.get(destination));
|
||||
}
|
||||
|
||||
public Position getCursor(ClientIdentity clientIdentity) throws CanalMetaManagerException {
|
||||
|
||||
Reference in New Issue
Block a user