fixed issue #1897 , memory event store ack null

This commit is contained in:
agapple
2019-06-25 17:32:46 +08:00
parent adccc0e912
commit 4957083493
6 changed files with 50 additions and 11 deletions

View File

@@ -432,8 +432,7 @@ public class CanalServerWithEmbedded extends AbstractCanalLifeCycle implements C
}
// 可定时清理数据
canalInstance.getEventStore().ack(positionRanges.getEnd());
canalInstance.getEventStore().ack(positionRanges.getEnd(), positionRanges.getEndSeq());
}
/**