mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Merge pull request #209 from lcybo/master
Fix a minor fault: Canal instance reload again after startup.
This commit is contained in:
@@ -175,6 +175,7 @@ public class SpringInstanceConfigMonitor extends AbstractCanalLifeCycle implemen
|
|||||||
InstanceAction action = actions.remove(destination);
|
InstanceAction action = actions.remove(destination);
|
||||||
try {
|
try {
|
||||||
action.stop(destination);
|
action.stop(destination);
|
||||||
|
lastFiles.remove(destination);
|
||||||
logger.info("auto notify stop {} successful.", destination);
|
logger.info("auto notify stop {} successful.", destination);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
logger.error("scan delete found[{}] but stop failed", destination, ExceptionUtils.getFullStackTrace(e));
|
logger.error("scan delete found[{}] but stop failed", destination, ExceptionUtils.getFullStackTrace(e));
|
||||||
|
|||||||
Reference in New Issue
Block a user