generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 501
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
Currently, if an invocation occurs while another one is being processed, the internal global state of the agent becomes corrupted, causing not only the concurrent invocations to fail, but also any subsequent invocations to fail.
A common scenario affected by this behavior is when a retry occurs due to client timeout, which triggers another invocation with the same session ID while the previous request is still being processed.
Proposed Solution
Throw a concurrency exception instead of handling the request and corrupting the agent's state, which causes all subsequent calls to fail.
Use Case
This is most impactful retries retries, but also a general protection for the agent's state.
Alternatives Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request