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

fix: add ts filter on MergeStream #106

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

crwen
Copy link
Contributor

@crwen crwen commented Aug 22, 2024

related to #103

This pr add a filter logic on MergeStream::poll_next to filter the data that has larger timestamp.

@crwen
Copy link
Contributor Author

crwen commented Aug 22, 2024

To do that, I have to made some change to test code, here is the test that might be noticed:

https://github.com/tonbo-io/tonbo/pull/106/files#diff-a180483ae270ec02d5a78d73bee7e88c7fb23772ab27173fab21c2f2d8e711aeL245

@KKould KKould requested review from KKould and ethe and removed request for KKould August 22, 2024 07:38
@KKould KKould added the bug Something isn't working label Aug 22, 2024
Copy link
Collaborator

@KKould KKould left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KKould KKould linked an issue Aug 22, 2024 that may be closed by this pull request
@ethe
Copy link
Member

ethe commented Aug 23, 2024

Thanks @crwen for helping make Tonbo better! You found a lot of cases Tonbo has not tested yet 😳

@ethe ethe merged commit b13656f into tonbo-io:main Aug 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can txn read future data?
3 participants