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
With a multi-threaded application there is a chance that two "enqueue" API calls may be logged with the same "enqueue counter". This is because the main enqueue counter is used throughout the API call and only updated at the end of the API call, so if two threads happen to execute an API call at approximately the same time, they may both execute using the same main enqueue counter.
Desired Behavior
Ensure that each API call is logged with a unique enqueue counter. One way to accomplish this is to safely assign and increment the main enqueue counter at the start of the API, and then to only refer to the assigned enqueue counter while the API call is executing.
Steps to Reproduce
Because this issue requires timing and multiple threads reproducibility is not 100%, but it should be possible to see multiple API calls with the same enqueue counter with a sufficiently long running multi-threaded application.
The text was updated successfully, but these errors were encountered:
Observed Behavior
With a multi-threaded application there is a chance that two "enqueue" API calls may be logged with the same "enqueue counter". This is because the main enqueue counter is used throughout the API call and only updated at the end of the API call, so if two threads happen to execute an API call at approximately the same time, they may both execute using the same main enqueue counter.
Desired Behavior
Ensure that each API call is logged with a unique enqueue counter. One way to accomplish this is to safely assign and increment the main enqueue counter at the start of the API, and then to only refer to the assigned enqueue counter while the API call is executing.
Steps to Reproduce
Because this issue requires timing and multiple threads reproducibility is not 100%, but it should be possible to see multiple API calls with the same enqueue counter with a sufficiently long running multi-threaded application.
The text was updated successfully, but these errors were encountered: