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

Erroneous clearing of active aggregate map in Aggregate mediator #3797

Open
SanojPunchihewa opened this issue Nov 28, 2024 · 0 comments
Open
Labels

Comments

@SanojPunchihewa
Copy link
Contributor

SanojPunchihewa commented Nov 28, 2024

Description

In the Aggregate mediator, when an exception happens we are clearing the whole active aggregate map. Ideally we should only remove the aggregate which has caused the exception.

[1] - https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/mediators/eip/aggregator/AggregateMediator.java#L833

Steps to Reproduce

Send concurrent requests to a flow with an Aggregate mediator which will throw an exception in the mediation

Version

4.3.0

Environment Details (with versions)

No response

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

No branches or pull requests

1 participant