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

Fixed logic on how to get current events by tag in batches #3698

Merged
merged 3 commits into from
Mar 11, 2019

Conversation

ptjhuang
Copy link
Contributor

@ptjhuang ptjhuang commented Jan 18, 2019

#3697

Looking at the Scala LevelDb implementation, it looks like they have a special "$$$tag" persistence-id that stores the highest sequence number.

Most SQL database are fairly good at getting highest value of an indexed column, so it's done as a separate query.

@ptjhuang ptjhuang changed the title Fixed logic on how to get current events by tag in batches #3697 Fixed logic on how to get current events by tag in batches Jan 18, 2019
@ptjhuang ptjhuang changed the title #3697 Fixed logic on how to get current events by tag in batches Fixed logic on how to get current events by tag in batches Jan 18, 2019
@ptjhuang
Copy link
Contributor Author

Tests failed in areas I didn't change?

@Aaronontheweb
Copy link
Member

@ptjhuang yeah that's our fault - racy unit tests that we haven't debugged yet. I'll take a look at it and do a proper review on this PR. Sorry for the delay - been traveling in Europe for work :p

@Aaronontheweb Aaronontheweb self-assigned this Jan 30, 2019
@ericphan
Copy link

@Aaronontheweb I'm running into this issue as well, do you have an ETA on when this will be merged in?

@Aaronontheweb
Copy link
Member

@ericphan I'll look at it today

@Aaronontheweb Aaronontheweb merged commit 51943bf into akkadotnet:dev Mar 11, 2019
@Aaronontheweb
Copy link
Member

@ericphan @ptjhuang going to release this as part of Akka.NET v1.3.12 this week.

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

Successfully merging this pull request may close these issues.

3 participants