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
Since this is done in parallel, it seems two threads could read settledFetches at a similar time, then increment it locally, and write out the result, leading to it only being incremented once rather than twice.
The text was updated successfully, but these errors were encountered:
Yeah, once we have numbers defined we should really define this in Infra. Atomic makes sense, but if someone needs to increment by 2 and copies this pattern...
Since this is done in parallel, it seems two threads could read settledFetches at a similar time, then increment it locally, and write out the result, leading to it only being incremented once rather than twice.
The text was updated successfully, but these errors were encountered: