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 EventProjection to respect global ordering #2824

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

oskardudycz
Copy link
Collaborator

Based on the Discord discussion with @migajek, we discovered that Event Projection it running everything by the stream, which may cause issues around the global ordering of event processing.

This PR is changing that behaviour as it may be misleading and causing unpredicted issues.

Fixes #2657

@jeremydmiller
Copy link
Member

Funny, I was going to take this on this morning just to have something easy to start with and do it the exact same way you did it. We might come back a little later in the process and remove the "group it into streams, then ungroup it" work

@oskardudycz oskardudycz marked this pull request as ready for review November 28, 2023 12:29
@oskardudycz
Copy link
Collaborator Author

@jeremydmiller, sorry for that 😅 I also added a test to reproduce the issue.

@oskardudycz oskardudycz added this to the 7.0.0 milestone Nov 28, 2023
@oskardudycz oskardudycz merged commit bf59645 into master Nov 29, 2023
11 checks passed
@oskardudycz oskardudycz deleted the event_projection_ordering branch November 29, 2023 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Event Projection should respect global order in events processing
2 participants