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
This permits a race condition where, if namespace loading goes just wrong, can result in spurious No such var compile exceptions on otherwise straightforward code in the dynamically loaded namespaces.
Proposed Solution
Ensure that the dynamic call to require cannot be called in parallel, e.g by wrapping it in a locking form.
Pre-patch workaround
Ensure that calling code does not invoke cognitect.aws.api/client in parallel.
The text was updated successfully, but these errors were encountered:
Affected Component & Version:
com.cognitect.aws/api 0.8.352
Problem Description
It is possible to invoke
cognitect.aws.api/client
concurrently, such that the dynamically generated call torequire
on line 78 (https://github.com/cognitect-labs/aws-api/blob/v0.8.352/src/cognitect/aws/client/api.clj#L78) is also invoked concurrently.This permits a race condition where, if namespace loading goes just wrong, can result in spurious
No such var
compile exceptions on otherwise straightforward code in the dynamically loaded namespaces.Proposed Solution
Ensure that the dynamic call to
require
cannot be called in parallel, e.g by wrapping it in alocking
form.Pre-patch workaround
Ensure that calling code does not invoke
cognitect.aws.api/client
in parallel.The text was updated successfully, but these errors were encountered: