You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I have encountered a potential bug in the DataplaneAPI while working on an HAProxy provider. The issue arises when running concurrent jobs that interact with the API across multiple workspaces.
The problem does not occur when using a single workspace. Specifically:
Dangling Transactions: Some transactions remain uncommitted and incomplete.
Duplicate Files: The same transaction files also appear in the outdated/ directory.
This behavior suggests there might be an issue with transaction isolation or handling in high-concurrency, multi-workspace scenarios.
Additional Notes:
I am relatively new to Go and Terraform provider development, so I might have missed something in my implementation. However, the issue seems to be directly related to the API's behavior under concurrent requests.
The issue does not occur when jobs are executed sequentially in a single workspace, which suggests it may be related to handling concurrent API transactions across workspaces.
The text was updated successfully, but these errors were encountered:
Description:
I have encountered a potential bug in the DataplaneAPI while working on an HAProxy provider. The issue arises when running concurrent jobs that interact with the API across multiple workspaces.
The problem does not occur when using a single workspace. Specifically:
This behavior suggests there might be an issue with transaction isolation or handling in high-concurrency, multi-workspace scenarios.
Steps to Reproduce:
Use my HAProxy provider available on the Terraform Registry: https://registry.terraform.io/providers/cepitacio/haproxy/latest
Check the transaction directories:
Expected Behavior:
Actual Behavior:
Environment:
DataplaneAPI version: reproduced with
v2.9.2
andv2.9.8
HAProxy version: 2.9.0
Terraform provider: https://registry.terraform.io/providers/cepitacio/haproxy/latest
Additional Notes:
I am relatively new to Go and Terraform provider development, so I might have missed something in my implementation. However, the issue seems to be directly related to the API's behavior under concurrent requests.
The issue does not occur when jobs are executed sequentially in a single workspace, which suggests it may be related to handling concurrent API transactions across workspaces.
The text was updated successfully, but these errors were encountered: