并行解析模式下有丢数据风险 (#1857)

This commit is contained in:
lanxinxu
2019-06-18 14:57:59 +08:00
committed by agapple
parent 058e1fc546
commit 95602f4784

View File

@@ -441,6 +441,8 @@ public class MysqlMultiStageCoprocessor extends AbstractCanalLifeCycle implement
@Override
public void handleEventException(final Throwable ex, final long sequence, final Object event) {
//异常上抛,否则processEvents的逻辑会默认会mark为成功执行,有丢数据风险
throw new CanalParseException(ex);
}
@Override