Skip to content

Commit

Permalink
并行解析模式下有丢数据风险 (#1857)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanxinxu authored and agapple committed Jun 18, 2019
1 parent 058e1fc commit 95602f4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,8 @@ class SimpleFatalExceptionHandler implements ExceptionHandler {

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

@Override
Expand Down

0 comments on commit 95602f4

Please sign in to comment.