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

feat/fix: skip backtracking when far behind, accept pubsub events after idle #96

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

leviramsey
Copy link
Contributor

References #95

Will need to add a test for pubsub after idle.

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

Looking good. This is a port of akka/akka-persistence-r2dbc#614. Anything that is different or that we should watch out for compared to that PR?

@leviramsey
Copy link
Contributor Author

The heartbeat-per-slice is perhaps what I'm most uncertain of (especially wrt to pubsub... maybe it makes sense with this to move pubsub to per-slice (merge slices after pubsub) and default the pubsub topics to 1024?), since R2DBC is heartbeat per slice-range.

@leviramsey
Copy link
Contributor Author

I think the link validator is expected (or is another PR)?

Copy link

@shawndowns shawndowns left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

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

LGTM

@patriknw patriknw merged commit 600a2a0 into akka:main Nov 15, 2024
4 of 5 checks passed
@leviramsey leviramsey deleted the heartbeat-catchup branch November 15, 2024 18:42
@patriknw patriknw added this to the 2.0.1 milestone Nov 15, 2024
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