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 wrong session-tenacity used in Custom Aggregation Projections #2764

Merged

Conversation

haefele
Copy link
Contributor

@haefele haefele commented Oct 31, 2023

This is a follow up to PR #2497 applying the method UseTenancyBasedOnSliceAndStorage also when using Custom Aggregation Projections, instead of only to Single Stream Projections.

This fixes the issue described in #2363 (comment).

There are some additional issues described in this other comment #2363 (comment).

I think those should be fixed now too. The aggregate document is now always loaded using the correct tenant session (see Single Stream Aggregations here and Custom Aggregation Projections in this PR right now).

Are there any other projections that would need this code-fix?

@haefele haefele changed the title Fix wrong tenacity custom projection Fix wrong session-tenacity used in Custom Aggregation Projections Oct 31, 2023
@oskardudycz oskardudycz added this to the 6.3.1 milestone Nov 1, 2023
@oskardudycz
Copy link
Collaborator

@haefele, thank you a lot for the contribution. Nicely tracked! I missed the custom projection while working on #2497.

Are there any other projections that would need this code-fix?

I think that we should be fine, as the rest of the projections either derive from AggregationRuntime or are mapped into while processing.

Would you like me to do a quick release with this fix, or there's no urgency?

@oskardudycz oskardudycz merged commit 2242824 into JasperFx:master Nov 1, 2023
13 checks passed
@haefele
Copy link
Contributor Author

haefele commented Nov 1, 2023

No need for a extra release. Whenever the next one comes out is fine 😁 Thank you!

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.

None yet

2 participants