Fix a minor fault: Canal instance reload again after startup.

This commit is contained in:
Chuanyi Li
2016-10-02 13:43:17 +08:00
parent 5d9d5b1e44
commit b17c11868c

View File

@@ -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));