Merge pull request #209 from lcybo/master

Fix a minor fault: Canal instance reload again after startup.
This commit is contained in:
agapple
2016-10-11 19:11:30 +08:00
committed by GitHub
@@ -175,6 +175,7 @@ public class SpringInstanceConfigMonitor extends AbstractCanalLifeCycle implemen
InstanceAction action = actions.remove(destination);
try {
action.stop(destination);
lastFiles.remove(destination);
logger.info("auto notify stop {} successful.", destination);
} catch (Throwable e) {
logger.error("scan delete found[{}] but stop failed", destination, ExceptionUtils.getFullStackTrace(e));