Skip to content

Actors: State store actor reminder drain wait group#8437

Merged
JoshVanL merged 7 commits into
dapr:release-1.15from
JoshVanL:actor-reminder-statestore-drain
Jan 30, 2025
Merged

Actors: State store actor reminder drain wait group#8437
JoshVanL merged 7 commits into
dapr:release-1.15from
JoshVanL:actor-reminder-statestore-drain

Conversation

@JoshVanL

@JoshVanL JoshVanL commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

Add wait group which waits for state store reminder loops to exit before continuing from a placement dissemination reminder drain.

Ensure ticks are always recorded to ensure we don't miss app reminder executions, and result in double invocations during disemination events.

Fixed e2e actor reminder e2e test.

Update state store actor reminder engine to lock evaluation during
drain events, and give a 2 second grace period concurrently to all
currently active reminders to complete before completing dissemination.

Signed-off-by: joshvanl <[email protected]>
@JoshVanL JoshVanL changed the title Actors: State store actor reminder drain grace Actors: State store actor reminder drain wait group Jan 29, 2025
@JoshVanL
JoshVanL marked this pull request as ready for review January 29, 2025 20:21
@JoshVanL
JoshVanL requested review from a team as code owners January 29, 2025 20:21

@cicoyle cicoyle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was close, but missing the wg. nice

@JoshVanL
JoshVanL merged commit ef8f8f6 into dapr:release-1.15 Jan 30, 2025
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.

2 participants