InMemoryBackingStore infinite loop #954
Labels
area:backing-store
Focused on functional modules of the product
priority:p1
High priority/Major issue but not blocking or Big percentage of customers affected.Bug SLA <=7days
type:bug
A broken experience
Describe the bug
The InMemoryBackingStore class is experiencing an infinite loop when setting values. This occurs because the set method subscribes a lambda function that calls set again, which in turn triggers the subscription callback, causing set to be called repeatedly.
Because you're invoking the subscription which is calling set which is invoking the subscription.
Expected behavior
The set method should store the value and notify subscribers without causing an infinite loop.
How to reproduce
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
Awful, but until an update, unsubscribing and re-subscribing around problematic code.
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: