Skip to content

Choreo Connect 1.2.0 Race Condition Ballerina Interceptor #3734

@VinulaUthsara

Description

@VinulaUthsara

Description

When using a Ballerina interceptor in Choreo Connect it leads to a race condition in the communication between the envoy proxy and the ballerina micro-service. The default timeout values are not aligned with each other. This leads to a situation that there could be a moment where the interceptor closes a connection but in exact this moment, the envoy proxy reuses this connection

Steps to Reproduce

  1. Create a Ballerina Service with a timeout
  2. Create an API which will use the Ballerina service as the interceptor
  3. Run a load test for the API using a tool such as Jmeter.

Version

1.2.0

Environment Details (with versions)

No response

Relevant Log Output

Related Issues

No response

Suggested Labels

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions