-
Notifications
You must be signed in to change notification settings - Fork 333
Closed
Labels
Description
Description
Since updating to version 1.2.0, reading hybrid cache values across processes return stale data. Each process always returns the last cache value that the process itself set. This problem does not occur in version 1.1.0.
Steps to Reproduce
- Start process Merge dev branch. #1, cache an object.
- Object will be in memory and Redis with correct values.
- Start process Merge new commits. #2, cache different object values with the same key.
- Object will be in memory and is updated in Redis correctly.
- Read cache key in process Merge dev branch. #1, notice the value is stale from memory and not what is currently in Redis
- Do this with as many processes as you want, they will all contain different values.
Expected behavior: Cache is invalidated in other processes via the Redis Bus. Version 1.1.0 works correctly as expected.
Actual behavior: Cache is not invalidated across process instances so they always read what's in their memory cache.
Specifications
- Provider : InMemory + Redis (version 1.2.0)
- Interceptor : None
- Serializer : Json
- System : Windows 10