Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【BUG】MemoryEventStoreWithBuffer的cleanUntil存在问题 #4027

Closed
tsinbal opened this issue Jan 17, 2022 · 2 comments
Closed

【BUG】MemoryEventStoreWithBuffer的cleanUntil存在问题 #4027

tsinbal opened this issue Jan 17, 2022 · 2 comments
Labels
Milestone

Comments

@tsinbal
Copy link

tsinbal commented Jan 17, 2022

在使用CanalServerWithEmbedded的get方法获取数据时,会直接触发ack,但是ack的同时会执行cleanUntil,导致获取的Message中的Event.ByteString被置为null

相关代码为
Event lastEvent = entries[getIndex(next)];
lastEvent.setEntry(null);
lastEvent.setRawEntry(null);

@gzydl
Copy link

gzydl commented Feb 25, 2022

MemoryEventStoreWithBuffer 存在问题,怎么解决?

@QuentinBoBoeree
Copy link

现象:当拉取到的Event是多条的时候,最后一条在ack的时候数据会被置空

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants