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
While testing the StackExchange.Redis library (on HGETALL api) under high memory pressure to induce frequent OutOfMemory exceptions, I encountered cases where received data is valid but not expected and appears to be the query result from an other thread.
In this program, each thread only performs infinite HGETALL operations on a key with its thread ID, so it should only retrieve data that it has written itself.
Here a sample output; we can see that thread 218 (Th218hT) retrieved valid data that was queried by thread 58 (Th58hT)
218 : Error in key, expected:Th218hT, actual:Th58hT, value is a valid but from an other query: True