Resolution: Won't Fix
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
Fix Version/s: None
Component/s: Performance > Caching Infrastructure
Entity/Finder cache implementation strives in two underlying caches: localCache and portalCache. Every time a thread modifies the entity/finder cache the results are immediately visible in the portalCache, but not in the localCache. So if a record was cached in the local cache and changed afterwards in a new one, changes won't be visible in the current thread.
Steps to Reproduce:
- Create a user.
- Retrieve its userId and execute the following script replacing #REPLACE_USERID with the userId value.
The script prints Is same updated user? false which means that both threads aren't handling the same information.
The script should print: Is same updated user? true