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
There is a race condition in the Redis ReadAndDestroy implementation that can allow multiple clients to retrieve the same secret value. This happens because the 'read and destroy' operation is not currently atomic. Redis Lua scripts do execute in an atomic fashion and and would be a good use case for this operation and solve for the race condition. https://redis.io/docs/latest/develop/interact/programmability/eval-intro/
There is a race condition in the Redis
ReadAndDestroy
implementation that can allow multiple clients to retrieve the same secret value. This happens because the 'read and destroy' operation is not currently atomic. Redis Lua scripts do execute in an atomic fashion and and would be a good use case for this operation and solve for the race condition. https://redis.io/docs/latest/develop/interact/programmability/eval-intro/ots/pkg/storage/redis/redis.go
Lines 79 to 93 in 8fadf72
The text was updated successfully, but these errors were encountered: